Browse Source

Fixed keyword highlighting a bit

Mark Sibly 9 năm trước cách đây
mục cha
commit
b74040fe53
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/ted2/mx2document.monkey2

+ 1 - 1
src/ted2/mx2document.monkey2

@@ -174,7 +174,7 @@ Class Mx2TextView Extends TextView
 		
 		If start<text.Length 
 			Local color:=Document.Colors[start]
-			If color<>COLOR_KEYWORD Return'color<>COLOR_IDENT Return
+			If color<>COLOR_KEYWORD And color<>COLOR_IDENT Return
 		Endif
 		
 		Local ident:=text.Slice( start,cursor )