selectionChanged

Typemessage
Dictionarywidget.pdf
LibraryPDF
Syntax
selectionChanged <pRange>
Associationscom.livecode.widget.pdf
Summary

Sent when the user selects text.

EditionPro
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
pRange

An array with keys:

  • "from":
    • "page" - the page selection begins
    • "index" - the 1 based character index of the start of the selection
  • "to":
    • "page" - the page selection ends
    • "index" - the 1 based character index of the end of the selection
RelatedProperty: autoHilight
Description

This message is sent to the widget when the user changes the text selection.