Module dlangui.widgets.editors
This module contains implementation of editors.
EditLine
- single line editor.
EditBox
- multiline editor
Synopsis
import dlangui.widgets.editors;
Functions
Name | Description |
---|---|
concatDStrings
|
concat strings from array using delimiter
|
replaceEolsWithSpaces
|
replace end of lines with spaces |
splitDString
|
split dstring by delimiters |
Interfaces
Name | Description |
---|---|
EditableContentListener
|
Editable Content change listener |
EditorActionHandler
|
|
SyntaxHighlighter
|
interface for custom syntax highlight |
Classes
Name | Description |
---|---|
EditableContent
|
editable plain text (singleline/multiline )
|
EditBox
|
single line editor |
EditLine
|
single line editor |
EditOperation
|
edit operation details for EditableContent
|
EditWidgetBase
|
base for all editor widgets |
UndoBuffer
|
Undo/Redo buffer |
Structs
Name | Description |
---|---|
TextPosition
|
text content position |
TextRange
|
text content range |
Enums
Name | Description |
---|---|
EditAction
|
action performed with editable contents |
EditorActions
|
Editor action codes |
TokenCategory
|
token category for syntax highlight |
Global variables
Name | Type | Description |
---|---|---|
EOL
|
immutable(dchar)
|
|
SYSTEM_DEFAULT_EOL
|
immutable(dchar[])
|
|
TOKEN_CATEGORY_MASK
|
const(ubyte)
|
|
TOKEN_CATEGORY_SHIFT
|
const(ubyte)
|
|
TOKEN_SUBCATEGORY_MASK
|
const(ubyte)
|
|
TOKEN_UNKNOWN
|
const(ubyte)
|
Aliases
Name | Type | Description |
---|---|---|
TokenPropString
|
ubyte[]
|
Authors
Vadim Lopatin, coolreader.org@gmail.com
Copyright
Vadim Lopatin, 2014
License
Boost License 1.0