From 349377f2a1f612b39c0f0e8dc6bf17c1154e4e56 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.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/Scintilla.h') diff --git a/include/Scintilla.h b/include/Scintilla.h index 664d11879..dcfa4303d 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -58,6 +58,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_GETVIEWWS 2020 #define SCI_SETVIEWWS 2021 #define SCI_POSITIONFROMPOINT 2022 +#define SCI_POSITIONFROMPOINTCLOSE 2023 #define SCI_GOTOLINE 2024 #define SCI_GOTOPOS 2025 #define SCI_SETANCHOR 2026 -- cgit v1.2.3