LPEX
4.4.0

Package com.ibm.lpex.samples

This package contains samples for those who wish to extend the editor.

See:
          Description

Interface Summary
Lpex.Delegate This interface allows an external program to have actions and commands of secondary Lpex views that it creates, delegated to its own master view of the document.
 

Class Summary
BlockNewMarkToMouseAction Sample action blockNewMarkToMouse - start new selections on new mouse drags.
BlockTransferAction Sample action blockTransfer - copy selection to new lines.
ClockCommand Sample command clock - time the execution of an editor command.
ComposeAction Sample action compose - enter special characters.
ComposeHebrewAction Sample action composeHebrew - enter Hebrew characters.
CopyLineAction Sample action copyLine - copy selection / current line to clipboard.
CursorHairline Sample class to display a vertical hairline.
DetabCommand Sample command detab - expand all tabs to spaces.
EntabCommand Sample command entab - compress leading spaces to tabs.
ExecCommand Sample command exec - execute the specified file, visible selected text, or current line as editor commands.
FindNextDefaultAction Sample action findNextDefault - find next default text occurrence.
FindsCommand Sample command finds - count find-text matches in the document.
FindTextContextCommand Sample command findText - redefines editor's to show context for the found text.
HairlineCommand Sample command hairline - control the display of a cursor or fixed vertical hairline.
HtmlSource Sample windowless use of the LPEX widget / command html - generate HTML listing.
KeyReferenceAction Sample action ref - display a key reference for the current view.
LongestCommand Sample command longest - locate the longest text line.
Lpex Sample stand-alone editor built on the LPEX edit widget.
Lpex2 Sample stand-alone editor built on the LPEX edit widget.
MatchesCommand Sample command matches - highlight find-text matches in the document.
MinLpex Sample minimal stand-alone editor used to test the LPEX edit widget.
MouseReselect Sample class to make new drags of mouse button 1 start new selections.
NestingCommand Sample command nesting - display block limits in the source.
SetDateAction Sample action setDate - set the sequence-numbers date in the selected range.
SetDateAction.SetDate Sample command setDate - set the sequence-numbers date in the selected range.
SyncCommand Sample command sync - synchronize the vertical scrolling of two views.
TestAction Sample action deleteBlockDelete - delete any selection.
TestCommand Sample command - display a message.
TestParser1 Sample document parser: STEP 1 - minimum code.
TestParser2 Sample document parser: STEP 2 - tokenize.
TestUserProfile Sample user profile - customize keys, commands, actions.
TestUserProfile.CloseJoin Sample action closeJoin - join with just one space between the texts.
TestUserProfile.FindNextSelection Sample action findNextSelection - first search for the selected text, if any.
WordsCommand Sample command words - count the words in the current view.
ZoomAction Sample action zoom - zoom in / out a segment of the document.
 

Package com.ibm.lpex.samples Description

This package contains samples for those who wish to extend the editor.


LPEX
4.4.0

Copyright � 2016 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.