![]() 'property ' is any parameter accepted by TextArea. Updates TextArea with new values from table (t)Īccepts a table with same parameters as for TextArea. NOTE: any missing parameter will be defaulted to TextArea. 'callback ': (textfield, esc) to be called when editing is done 'scroll ': adds mouse /touch listener to scroll if enabled 'edit ': adds mouse /touch listener to focus and edit if enabled 'undolevels ': levels for undo /redo operations 'maxchars ': maximum text length restriction 'oneline ': fits all text into one line if enabled 'wholewords ': only whole words in lines if enabled 'colors ': paragraph colors, can have a fraction for alpha 'letterspace ': a space between characters 'sample ': text to get top and height for lines APIĪccepts a table (t) where all parameters are optional: If you need to popup it without touch, for example for cursor settings, you can press "Menu" key on hardware keyboard. It also automatically resizes when screen resolution changes and fits editable text. Keyboard settings are automatically saved in a file ('keyboard.json' by default). More than 150 layouts is available for it in included keyboard layouts file (a). Virtual keyboard is fully customizable from within itself: you can set each color, change font and sound, modify height, set cursor delays etc. When text editing is finished TextArea will run callback if defined. ![]() Various alignment modes are available: left, right, center and justified with ability to suppress word breaks ('wholewords' setting). Each text can have it's own colors and alphas of text, sliders, selection and cursor. If text can't fit into width and height vertical and horizontal sliders will appear to help with the navigation. All standard text operations are supported: Select All, Duplicate, Cut, Copy, Paste, Undo, Redo. Text can be scrolled via mouse/touch and selected via mouse or virtual keyboard. ![]() TextArea supports hardware and virtual (built-in) keyboard input. TextArea is Gideros library to show and edit multiline and oneline texts. It would be reasonably quick to prototype, at least.TextArea - Gideros library for multiline text editing TextArea It has been a few years since I have embedded Lua in an app, but the last time I did I I found you could get away with limited reentrantcy without problem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |