Textviewer : moved call to Colourise in a better place, so that ST highlighting gets also updated when typing in some case, not only IL
--- a/editors/TextViewer.py Fri Jan 19 15:12:23 2018 +0100
+++ b/editors/TextViewer.py Mon Jan 29 12:56:49 2018 +0100
@@ -424,7 +424,6 @@
def RefreshJumpList(self):
if self.TextSyntax == "IL":
self.Jumps = [jump.upper() for jump in LABEL_MODEL.findall(self.GetText())]
- self.Colourise(0, -1)
# Buffer the last model state
def RefreshBuffer(self):
@@ -848,6 +847,7 @@
def RefreshModel(self):
self.RefreshJumpList()
+ self.Colourise(0, -1)
self.Controler.SetEditedElementText(self.TagName, self.GetText())
self.ResetSearchResults()