Name
Texteditor.GetSelection -- get block selection
Synopsis
x1, y1, x2, y2 = mui.DoMethod(id, "GetSelection")
Function
This method returns the start and stop position of the currently marked block. If there is no marked area, -1 is returned in all four values.

Inputs
id
id of the text editor object
Results
x1
start x position of marked block
y1
start y position of marked block
x2
stop x position of marked block
y2
stop y position of marked block

Show TOC