From 753eaacdf624629135510a7bc2349a52407c735d Mon Sep 17 00:00:00 2001 From: Kacper Kasper Date: Fri, 10 May 2019 16:59:52 +0200 Subject: [PATCH] Highlight syntax for the entire file on language change * Fixes #103. --- src/controls/Editor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controls/Editor.cpp b/src/controls/Editor.cpp index 252d4be..3672d35 100644 --- a/src/controls/Editor.cpp +++ b/src/controls/Editor.cpp @@ -143,6 +143,8 @@ Editor::SetType(std::string type) { fType = type; _UpdateStatusView(); + + SendMessage(SCI_COLOURISE, 0, -1); }