mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
add 'edited' read-only textbox property
This commit is contained in:
parent
433c12a17a
commit
93f20b1746
5 changed files with 30 additions and 4 deletions
|
|
@ -79,6 +79,7 @@ Properties:
|
|||
| hint | string | yes | yes | text to display when nothing is entered |
|
||||
| caret | int | yes | yes | carriage position. `textbox.caret = -1` will set the position to the end of the text |
|
||||
| editable | bool | yes | yes | text mutability |
|
||||
| edited | bool | yes | no | is text edited since the last set (history is not empty) |
|
||||
| multiline | bool | yes | yes | multiline support |
|
||||
| lineNumbers | bool | yes | yes | display line numbers |
|
||||
| textWrap | bool | yes | yes | automatic text wrapping (only with multiline: "true") |
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ document["worlds-panel"]:clear()
|
|||
| hint | string | да | да | текст, отображаемый, когда ничего не введено |
|
||||
| caret | int | да | да | позиция каретки. `textbox.caret = -1` установит позицию в конец текста |
|
||||
| editable | bool | да | да | изменяемость текста |
|
||||
| edited | bool | да | нет | был ли изменён текст с последней установки (история не пуста) |
|
||||
| multiline | bool | да | да | поддержка многострочности |
|
||||
| lineNumbers | bool | да | да | отображение номеров строк |
|
||||
| textWrap | bool | да | да | автоматический перенос текста (только при multiline: "true") |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue