Code Editor
type CodeEditor = {
--// new() arguments
Editable: boolean?,
FontSize: number?,
FontFace: FontFace?,
--// Methods
ApplyTheme: (self) -> nil,
GetVersion: () -> string,
ClearText: (self) -> nil,
SetText: (self, Text: string) -> nil,
GetText: (self) -> string,
SetEditing: (self, Editing: boolean) -> nil,
AppendText: (self, Text: string) -> nil,
ResetSelection: (self, NoRefresh: boolean?) -> nil,
GetSelectionText: (self) -> string,
--// Properties
Gui: Frame,
Editing: boolean
}Importing the editor:
Example usage:
Last updated