Skip to content

Commit 753eaac

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

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)