XPDF_SelectionChanged |
Type | message |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | XPDF_SelectionChanged <selectionRange>
|
Associations | xpdf |
Summary | Sent to the current card when the user changes the text selection
|
Edition | Business |
Introduced | 1.0.0 |
OS | mac, windows |
Platforms | desktop |
Parameters | Name | Type | Description |
---|
selectionRange | | A comma-delimited list of 4 integers:
* startPageNumber - The page where selection begins.
* startCharOnPage - The character index (1..N) of the first selected
character.
* endPageNumber - The page where selection ends.
* endCharOnPage - The character index (1..N) of the last selected
character.
|
|
Example | on XPDF_SelectionChanged pSelectionRange
local theSelectedText
XPDFViewer_GetSelectionUnicode "Document1", "theSelectedText"
set the text of field "selected text" to textDecode(theSelectedText,"UTF16")
end XPDF_SelectionChanged
|
Description | Sent to the current card when the user changes the text selection
|
Tags | externals |