Skip to content

Commit 753eaac

Browse files
committed
Highlight syntax for the entire file on language change
* Fixes #103.
1 parent 1e29280 commit 753eaac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/controls/Editor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ Editor::SetType(std::string type)
143143
{
144144
fType = type;
145145
_UpdateStatusView();
146+
147+
SendMessage(SCI_COLOURISE, 0, -1);
146148
}
147149

148150

0 commit comments

Comments
 (0)