浏览代码

Added "textarea has block indent" setting.

woollybah 6 年之前
父节点
当前提交
60be371b4b
共有 4 个文件被更改,包括 14 次插入0 次删除
  1. 2 0
      maxgui.mod/gadget.bmx
  2. 4 0
      maxgui.mod/maxgui.bmx
  3. 4 0
      maxguitextareascintilla.mod/linuxgtk.bmx
  4. 4 0
      maxguitextareascintilla.mod/win32.bmx

+ 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