Native HTML5 field

Ralph DiMola rdimola at evergreeninfo.net
Thu Aug 29 14:13:56 EDT 2019


Not to mention multi level Ctl-z undo's! Nice... Thank You.

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net
Phone: 518-636-3998 Ex:11
Cell: 518-796-9332


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of hh via use-livecode
Sent: Thursday, August 29, 2019 1:42 PM
To: use-livecode at lists.runrev.com
Cc: hh
Subject: Native HTML5 field

One shouldn't go for months without a gift (for some of you). Here is its.

* Native HTML5 Field v_101 (for HTML5 standalones )* This works with Chrome, Firefox and Safari on Mac, Windows and linux.
(With Firefox are problems when dragging from one field to the other).

Test it from
(US) http://hh.on-rev.com/html5/index-large.html#as
(EU) http://hyperhh.de/html5/index-large.html#as

KEYBOARD. You have UTF-8 input (incl. using dead keys) support, you can navigate with the arrow keys, home and page keys and scroll using the mouse wheel. You can also use the virtual keyboard.

RICH TEXT. There is a set of LC buttons that allow to set styles for the selection (in both fields). The buttons have tooltips attached.

You have (for selected parts of the field) • align left, center, right and justified • bold, italic, underline and strikeTrough style • indent in/out • ordered and bullet lists • set foreColor and backColor of the field and of selections • superscripts and subscripts • a style eraser (remove styles from selection) • wrap/nowrap • hyphenation (CSS, english) • multiple Undo and Redo

Currently there is only one textFont for both fields (either 'Mono=Courier'
or 'Sans=Verdana'). And there is only one textSize (14pt). I'll add support for textFont and textSize and more styles in the next version.

CLIPBOARD. We have full access to the system clipboard (styled Text only).
Use cmd-A, cmd-X, cmd-C, cmd-V as usual or do it using the context menu.

DRAG/DROP. Drag from one field to the other or drag the file icon of an
UTF-8 file from the desktop to the fields (or from the fields to any app that accepts text drops.
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list