diff --git a/Documentation.md b/Documentation.md index 772d07e..5990c73 100644 --- a/Documentation.md +++ b/Documentation.md @@ -472,10 +472,10 @@ If given a number `current`, return the new `current`. If given a table with a n #### state, changed = ui:edit('simple'/'field'/'box', valueTable) Add an editable text field widget. The first argument defines the type of editor to use: single line 'simple' and 'field', or multi-line 'box'. The `valueTable` should be a table with a string field named `value`. The field gets updated and the function returns the edit state (one of 'commited'/'activated'/'deactivated'/'active'/'inactive') followed by `true` if the text changed or `false` if the text remained the same. -#### editFocus() +#### ui:editFocus() Manually focus the following `ui:edit` widget. -#### editUnfocus() +#### ui:editUnfocus() Manually unfocus the following `ui:edit` widget. #### index = ui:combobox(index, items)