Interactive editor
Explore Legal Line Numbering
Enter an editable form field to open its contextual toolbar directly below the field.
Ready to tryUse the controls above to interact with this demo.
What this demonstrates
Legal Line Numbering
Legal line numbering can be combined with protected document ranges and editable form fields. A browser overlay follows the active field as the document scrolls or zooms.
API used
TXTextControl.formFields
How it works
The editor reports field bounds in twips. The JavaScript converts those coordinates into the current text-view position, applies the zoom factor, and moves a contextual toolbar with the active editable field.
Source files
See the implementation
The view, browser behavior, and controller are encapsulated in Demos/RichTextEditor/Advanced/LineNumbering.