Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
web:syntaxeditor [2018/06/28 18:46]
agcyphers [Properties]
web:syntaxeditor [2018/06/28 18:47] (current)
agcyphers [Properties]
Line 221: Line 221:
  
 ==== Properties ==== ==== Properties ====
-^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ 
-| Annotations() | [[http://​developer.xojo.com/​dictionary|Dictionary]] | Nil | The currently applied row annotations. ​ Should not be modified directly. |==== Properties ==== 
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
 | Annotations() | [[http://​developer.xojo.com/​dictionary|Dictionary]] | Nil | The currently applied row annotations. ​ Should not be modified directly. | | Annotations() | [[http://​developer.xojo.com/​dictionary|Dictionary]] | Nil | The currently applied row annotations. ​ Should not be modified directly. |
 | AvailableModes() | [[http://​developer.xojo.com/​string|String]] | Nil | The currently available syntax highlighting modes. | | AvailableModes() | [[http://​developer.xojo.com/​string|String]] | Nil | The currently available syntax highlighting modes. |
 | AvailableThemes() | [[http://​developer.xojo.com/​string|String]] | Nil | The currently available display themes. | | AvailableThemes() | [[http://​developer.xojo.com/​string|String]] | Nil | The currently available display themes. |
-| CanRedo ​| Boolean ​''​Read-Only''​ | False | If the editor can Redo a recently undone change. | +| CanRedo ''​Read-Only'' ​| Boolean ​| False | If the editor can Redo a recently undone change. | 
-| CanUndo ​| Boolean ​''​Read-Only''​ | False | If the editor can undo a recent change. |+| CanUndo ''​Read-Only'' ​| Boolean ​| False | If the editor can undo a recent change. |
 | CodeFolding | [[http://​developer.xojo.com/​boolean|Boolean]] | True | If True and supported by the selected Mode, code blocks will be allowed to fold by clicking an arrow on the gutter. | | CodeFolding | [[http://​developer.xojo.com/​boolean|Boolean]] | True | If True and supported by the selected Mode, code blocks will be allowed to fold by clicking an arrow on the gutter. |
-| CursorColumn ​| Integer ​''​Read-Only''​ | 0 | The column of the document where the cursor currently resides. | +| CursorColumn ''​Read-Only'' ​| Integer ​| 0 | The column of the document where the cursor currently resides. | 
-| CursorRow ​| Integer ​''​Read-Only''​ | 0 | The row of the document where the cursor currently resides. | +| CursorRow ''​Read-Only'' ​| Integer ​| 0 | The row of the document where the cursor currently resides. | 
-| FirstVisibleRow ​| Integer ​''​Read-Only''​ | 0 | The first line that is visible in the editor'​s display. |+| FirstVisibleRow ''​Read-Only'' ​| Integer ​| 0 | The first line that is visible in the editor'​s display. |
 | FontSize | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The size of font to use for the code in the editor. | | FontSize | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The size of font to use for the code in the editor. |
 | HighlightActiveLine | [[http://​developer.xojo.com/​boolean|Boolean]] | True | Places a colored highlight over the line where the cursor resides. ​ This makes it easier for users to quickly find where they left off. | | HighlightActiveLine | [[http://​developer.xojo.com/​boolean|Boolean]] | True | Places a colored highlight over the line where the cursor resides. ​ This makes it easier for users to quickly find where they left off. |
-| LastVisibleRow ​| Integer ​''​Read-Only''​ | 0 | The last line that is visible in the editor'​s display. | +| LastVisibleRow ''​Read-Only'' ​| Integer ​| 0 | The last line that is visible in the editor'​s display. | 
-| LineCount ​| Integer ​''​Read-Only''​ | 0 | The number of lines in the current document. |+| LineCount ''​Read-Only'' ​| Integer ​| 0 | The number of lines in the current document. |
 | Mode | Modes | Modes.ABAP | The syntax highlight mode to use. | | Mode | Modes | Modes.ABAP | The syntax highlight mode to use. |
 | ReadOnly | [[http://​developer.xojo.com/​boolean|Boolean]] | False | If True, users will not be able to edit the contents of the field. | | ReadOnly | [[http://​developer.xojo.com/​boolean|Boolean]] | False | If True, users will not be able to edit the contents of the field. |
 | SelEnd | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The end position of the current selection range. | | SelEnd | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The end position of the current selection range. |
 | SelStart | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The start position of the current selection range. | | SelStart | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The start position of the current selection range. |
-| SelText ​| String ​''​Read-Only'' ​| ""​ | The currently selected text in the editor. | +| SelText ''​Read-Only''​ | String | ""​ | The currently selected text in the editor. |
-| ShowPrintMargin | [[http://​developer.xojo.com/​boolean|Boolean]] | False | If True, a print margin line and color differentiation will be display along the left-side corresponding to the width of a 8.5x11 sheet. | +
-| SoftTabs | [[http://​developer.xojo.com/​boolean|Boolean]] | True | Pass true to enable the use of soft tabs. Soft tabs means you're using spaces instead of the tab character. | +
-| SyntaxChecker | [[http://​developer.xojo.com/​boolean|Boolean]] | True | Pass true to enable basic syntax checking for supported languages. ​ Note that while this is enabled, if there is an error in the code then annotations will be hidden in order to display only those errors which need to be resolved. | +
-| Text | [[http://​developer.xojo.com/​string|String]] | ""​ | Get/Set the current text of the document, as a whole. | +
-| Theme | Themes | Themes.Ambiance | The theme used to display the syntax editor. | +
-| WordWrap | [[http://​developer.xojo.com/​boolean|Boolean]] | False | Sets whether or not line wrapping is enabled. | +
- +
-| AvailableModes() | [[http://​developer.xojo.com/​string|String]] | Nil | The currently available syntax highlighting modes. | +
-| AvailableThemes() | [[http://​developer.xojo.com/​string|String]] | Nil | The currently available display themes. | +
-| CanRedo | Boolean(Read-Only) | False | If the editor can Redo a recently undone change. | +
-| CanUndo | Boolean(Read-Only) | False | If the editor can undo a recent change. | +
-| CodeFolding | [[http://​developer.xojo.com/​boolean|Boolean]] | True | If True and supported by the selected Mode, code blocks will be allowed to fold by clicking an arrow on the gutter. | +
-| CursorColumn | Integer(Read-Only) | 0 | The column of the document where the cursor currently resides. | +
-| CursorRow | Integer(Read-Only) | 0 | The row of the document where the cursor currently resides. | +
-| FirstVisibleRow | Integer(Read-Only) | 0 | The first line that is visible in the editor'​s display. | +
-| FontSize | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The size of font to use for the code in the editor. | +
-| HighlightActiveLine | [[http://​developer.xojo.com/​boolean|Boolean]] | True | Places a colored highlight over the line where the cursor resides. ​ This makes it easier for users to quickly find where they left off. | +
-| LastVisibleRow | Integer(Read-Only) | 0 | The last line that is visible in the editor'​s display. | +
-| LineCount | Integer(Read-Only) | 0 | The number of lines in the current document. | +
-| Mode | Modes | Modes.ABAP | The syntax highlight mode to use. | +
-| ReadOnly | [[http://​developer.xojo.com/​boolean|Boolean]] | False | If True, users will not be able to edit the contents of the field. | +
-| SelEnd | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The end position of the current selection range. | +
-| SelStart | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The start position of the current selection range. | +
-| SelText | String(Read-Only) ​| ""​ | The currently selected text in the editor. |+
 | ShowPrintMargin | [[http://​developer.xojo.com/​boolean|Boolean]] | False | If True, a print margin line and color differentiation will be display along the left-side corresponding to the width of a 8.5x11 sheet. | | ShowPrintMargin | [[http://​developer.xojo.com/​boolean|Boolean]] | False | If True, a print margin line and color differentiation will be display along the left-side corresponding to the width of a 8.5x11 sheet. |
 | SoftTabs | [[http://​developer.xojo.com/​boolean|Boolean]] | True | Pass true to enable the use of soft tabs. Soft tabs means you're using spaces instead of the tab character. | | SoftTabs | [[http://​developer.xojo.com/​boolean|Boolean]] | True | Pass true to enable the use of soft tabs. Soft tabs means you're using spaces instead of the tab character. |