XPDF_SelectionChanged

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
XPDF_SelectionChanged <selectionRange>
Associationsxpdf
Summary

Sent to the current card when the user changes the text selection

EditionBusiness
Introduced1.0.0
OSmac, windows
Platformsdesktop
Parameters
NameTypeDescription
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

Tagsexternals