diff --git a/comp/src/gb.form.editor/.src/CDocument.class b/comp/src/gb.form.editor/.src/CDocument.class index 38af839f6..a1213f6fb 100644 --- a/comp/src/gb.form.editor/.src/CDocument.class +++ b/comp/src/gb.form.editor/.src/CDocument.class @@ -1048,7 +1048,7 @@ End Private Function Keywords_Read() As String[] - Try Return $hHighlight.GetKeywords() + Try Return $hHighlight.Keywords End diff --git a/comp/src/gb.form.editor/.src/TextEditor.class b/comp/src/gb.form.editor/.src/TextEditor.class index 696859ec7..e090fc0cd 100644 --- a/comp/src/gb.form.editor/.src/TextEditor.class +++ b/comp/src/gb.form.editor/.src/TextEditor.class @@ -1026,8 +1026,6 @@ Fast Private Sub DrawHighlightedText(Row As Integer, sText As String, aColor As ' Endif NEXT_PATTERN: - - P += iLen XX = X2 @@ -1050,8 +1048,6 @@ Fast Private Sub DrawHighlightedText(Row As Integer, sText As String, aColor As DRAW_TEXT: - - iCol = hStyle.Color Paint.Background = iCol YT = YY + $iAscent + $LP @@ -1080,8 +1076,6 @@ DRAW_TEXT: DRAW_TEXT_WITH_TAB: - - iCol = hStyle.Color Paint.Background = iCol If hStyle.Bold Then @@ -1113,8 +1107,6 @@ DRAW_TEXT_WITH_TAB: CALC_LEVEL_BG: - - If iLevel Then iBg = Color.SetAlpha(Color.Black, 255 - iLevel * 16) Else