CreateCodeEdit is a control for premium users which is like a TextEdit but it has advanced methods.
Note: This function is a premium feature. Please consider subscribing to Premium to use this feature and support DroidScript in its further development.
Methods
The following methods are available on the CodeEdit object:
Batch(
properties )
Copy()
Cut()
Focus()
GetAbsHeight() → Number: integer
GetAbsWidth() → Number: integer
GetCursorLine() → Number: integer
GetCursorPos() → Number: integer
GetLineStart(
line )
→ Number: integer
GetParent() → app object
GetSelectedText() → String
GetSelectionEnd() → Number: integer
GetSelectionStart() → Number: integer
GetSelectMode() → Boolean
GetText() → String
GetType() → String: “CodeEdit”
Gone()
Hide()
InsertText(
text )
IsEnabled() → Boolean
IsVisible() → Boolean
Paste()
Redo()
SetEnabled(
enable )
SetLanguage(
ext )
Show()
Undo()