From 7c33542c6be6d25b133a4c560d14cb590b5178cb Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 10 Aug 2001 02:01:20 +0000 Subject: Added PositionFromLocationClose which returns the position in the document of a pixel location in the window but returns INVALID_POSITION if the location is outside the text area or not near text. Improvements to mouse dwell to make it only trigger when the mouse is up, use PositionFromLocationClose to calculate the position parameter, and send a dwell end if the user types. --- include/Scintilla.iface | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/Scintilla.iface') diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 5baee89fc..0b0177291 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -134,6 +134,10 @@ set void SetViewWS=2021(int viewWS,) # Find the position from a point within the window. fun int PositionFromPoint=2022(int x, int y) +# Find the position from a point within the window but return +# INVALID_POSITION if not close to text. +fun int PositionFromPointClose=2023(int x, int y) + # Set caret to start of a line and ensure it is visible. fun void GotoLine=2024(int line,) -- cgit v1.2.3