2
0
woollybah 6 жил өмнө
parent
commit
fd56f5f20c

+ 3 - 2
maxguitextareascintilla.mod/win32.bmx

@@ -47,6 +47,7 @@ Type TWindowsScintillaTextArea Extends TWindowsTextArea
 	Field lineDigits:Int
 	Field lineDigits:Int
 	
 	
 	Field showLineNumbers:Int = True
 	Field showLineNumbers:Int = True
+	Field showCaretLine:Int = True
 	
 	
 	' holder for the latest notification
 	' holder for the latest notification
 	' keep one in the type rather than locally in the callback function so we don't have to create a new object for every notification
 	' keep one in the type rather than locally in the callback function so we don't have to create a new object for every notification
@@ -483,7 +484,7 @@ Type TWindowsScintillaTextArea Extends TWindowsTextArea
 		bmx_mgta_scintilla_setcaretlinevisible(_hwnd, showCaretLine)
 		bmx_mgta_scintilla_setcaretlinevisible(_hwnd, showCaretLine)
 	End Method
 	End Method
 
 
-	Method GetCaretLineVisible:int()
+	Method GetCaretLineVisible:Int()
 		showCaretLine = bmx_mgta_scintilla_getcaretlinevisible(_hwnd)
 		showCaretLine = bmx_mgta_scintilla_getcaretlinevisible(_hwnd)
 		Return showCaretLine
 		Return showCaretLine
 	End Method
 	End Method
@@ -492,7 +493,7 @@ Type TWindowsScintillaTextArea Extends TWindowsTextArea
 		bmx_mgta_scintilla_setcaretlineback(_hwnd, r, g, b)
 		bmx_mgta_scintilla_setcaretlineback(_hwnd, r, g, b)
 	End Method
 	End Method
 
 
-	Method GetCaretLineBackgroundColor:int()
+	Method GetCaretLineBackgroundColor:Int()
 		Return bmx_mgta_scintilla_getcaretlineback(_hwnd)
 		Return bmx_mgta_scintilla_getcaretlineback(_hwnd)
 	End Method
 	End Method