aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-07-14 11:24:26 +0000
committernyamatongwe <devnull@localhost>2000-07-14 11:24:26 +0000
commit29fac12fd7ff43374f6de390acab1df8d065623f (patch)
tree75ef0bccc065a557e7fb257a4dfbae862bfe9148 /include
parentb16623a246b2cd9baca0a5042d3b40d12362551d (diff)
downloadscintilla-mirror-29fac12fd7ff43374f6de390acab1df8d065623f.tar.gz
Added PositionFromPoint API function.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface4
2 files changed, 5 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index c452d3f20..34c1f75b3 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -55,6 +55,7 @@ void Scintilla_RegisterClasses(HINSTANCE hInstance);
#define SCI_GETVIEWWS SCI_START + 20
#define SCI_SETVIEWWS SCI_START + 21
+#define SCI_POSITIONFROMPOINT SCI_START + 22
#define SCI_GOTOLINE SCI_START + 24
#define SCI_GOTOPOS SCI_START + 25
#define SCI_SETANCHOR SCI_START + 26
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index df63dd387..4d53f35b5 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -118,6 +118,10 @@ get int GetViewWS=2020(,)
# Make white space characters invisible, always visible or visible outside indentation.
set void SetViewWS=2021(int viewWS,)
+# Find the position and line from a point within the window.
+
+# Find the position from a point within the window.
+fun int PositionFromPoint=2022(,point pt)
# Set caret to start of a line and ensure it is visible.
fun void GotoLine=2024(int line,)