Module beamui.widgets.editors
Single-line and multiline simple text editors.
Import line
import beamui .widgets .editors;
Functions
Name | Description |
---|---|
initStandardEditorActions()
|
Interfaces
Name | Description |
---|---|
IEditor
|
Common interface for single- and multiline editors |
Classes
Name | Description |
---|---|
EditorSearchPane
|
|
ElemEditorSearchPane
|
|
ElemTextArea
|
|
ElemTextField
|
|
TextArea
|
Multiline editor and base for complex source editors |
TextField
|
Single-line editable text field |
Structs
Name | Description |
---|---|
EditorStateInfo
|
Editor state to display in status line |
Enums
Name | Description |
---|---|
TextSearchOptions
|
Flags used for search / replace / text highlight |
Global variables
Name | Type | Description |
---|---|---|
ACTION_ED_APPEND_NEW_LINE
|
Action
|
Insert new line after current position (Ctrl+Enter) |
ACTION_ED_DEL_NEXT_WORD
|
Action
|
Delete char after cursor (ctrl + del key) |
ACTION_ED_DEL_PREV_WORD
|
Action
|
Delete word before cursor (ctrl + backspace) |
ACTION_ED_DELETE_LINE
|
Action
|
Delete current line |
ACTION_ED_FIND
|
Action
|
Find text |
ACTION_ED_FIND_NEXT
|
Action
|
Find next occurence - continue search forward |
ACTION_ED_FIND_PREV
|
Action
|
Find previous occurence - continue search backward |
ACTION_ED_GOTO_NEXT_BOOKMARK
|
Action
|
Move cursor to next bookmark |
ACTION_ED_GOTO_PREVIOUS_BOOKMARK
|
Action
|
Move cursor to previous bookmark |
ACTION_ED_INDENT
|
Action
|
Indent text block or single line (e.g., Tab key to insert tab character) |
ACTION_ED_PREPEND_NEW_LINE
|
Action
|
Insert new line before current position (Ctrl+Shift+Enter) |
ACTION_ED_REPLACE
|
Action
|
Replace text |
ACTION_ED_TOGGLE_BLOCK_COMMENT
|
Action
|
Toggle block comment |
ACTION_ED_TOGGLE_BOOKMARK
|
Action
|
Toggle bookmark in current line |
ACTION_ED_TOGGLE_LINE_COMMENT
|
Action
|
Toggle line comment |
ACTION_ED_TOGGLE_REPLACE_MODE
|
Action
|
Turn On/Off replace mode |
ACTION_ED_UNINDENT
|
Action
|
Unindent text or remove whitespace before cursor (usually Shift+Tab) |