fix IL jumps highlighting in Text Viewer
authorSurkov Sergey <surkovsv93@gmail.com>
Tue, 17 Jan 2017 13:30:38 +0300
changeset 1637 6f4624687b89
parent 1636 ad3dee8b6d48
child 1638 3f86e9768f14
fix IL jumps highlighting in Text Viewer
editors/TextViewer.py
--- a/editors/TextViewer.py	Mon Jan 16 12:22:58 2017 +0300
+++ b/editors/TextViewer.py	Tue Jan 17 13:30:38 2017 +0300
@@ -414,7 +414,7 @@
         self.Colourise(0, -1)
 
     def RefreshJumpList(self):
-        if self.TextSyntax != "IL":
+        if self.TextSyntax == "IL":
             self.Jumps = [jump.upper() for jump in LABEL_MODEL.findall(self.GetText())]
             self.Colourise(0, -1)