Skip to content

Commit

Permalink
Highlight syntax for the entire file on language change
Browse files Browse the repository at this point in the history
* Fixes #103.
  • Loading branch information
KapiX committed May 11, 2019
1 parent 1e29280 commit 753eaac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controls/Editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ Editor::SetType(std::string type)
{
fType = type;
_UpdateStatusView();

SendMessage(SCI_COLOURISE, 0, -1);
}


Expand Down

0 comments on commit 753eaac

Please sign in to comment.