Browse Source

Added "textarea has block indent" setting.

woollybah 6 years ago
parent
commit
60be371b4b

+ 2 - 0
maxgui.mod/gadget.bmx

@@ -828,6 +828,8 @@ Type TGadget
 	End Method
 	Method HasCharEventSupressionFixup:Int()
 	End Method
+	Method HasBlockIndent:Int()
+	End Method
 ' progbar
 	Method SetValue(value#)
 	End Method	

+ 4 - 0
maxgui.mod/maxgui.bmx

@@ -1836,6 +1836,10 @@ Function TextAreaHasCharEventSupressionFixup:Int(textarea:TGadget)
 	Return textarea.HasCharEventSupressionFixup()
 End Function
 
+Function TextAreaHasBlockIndent:Int(textarea:TGadget)
+	Return textarea.HasBlockIndent()
+End Function
+
 ' gadget lists
 
 Rem

+ 4 - 0
maxguitextareascintilla.mod/linuxgtk.bmx

@@ -513,6 +513,10 @@ Type TGTKScintillaTextArea Extends TGTKTextArea
 		Return bmx_mgta_scintilla_getcaretlineback(sciPtr)
 	End Method
 
+	Method HasBlockIndent:Int()
+		Return True
+	End Method
+
 End Type
 
 

+ 4 - 0
maxguitextareascintilla.mod/win32.bmx

@@ -498,6 +498,10 @@ Type TWindowsScintillaTextArea Extends TWindowsTextArea
 		Return True
 	End Method
 
+	Method HasBlockIndent:Int()
+		Return True
+	End Method
+
 End Type