aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-04-07 02:24:40 +0000
committernyamatongwe <devnull@localhost>2002-04-07 02:24:40 +0000
commitef5b2192b86405b14f7cc45f6d48b9f9889eedbe (patch)
treec4a4656a5cf4fdf8eeb37bf82ce19710a8d76dc3 /include/Scintilla.iface
parentdbae5814b486802378c41ca4c095d0aa6dfcff86 (diff)
downloadscintilla-mirror-ef5b2192b86405b14f7cc45f6d48b9f9889eedbe.tar.gz
Added ZOOM notification. Added TextWidth method to allow clients to determine width of text items such as width needed for line numbers.
Diffstat (limited to 'include/Scintilla.iface')
-rw-r--r--include/Scintilla.iface6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index c49ca40e0..99afef5c0 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -938,6 +938,11 @@ set void SetScrollWidth=2274(int pixelWidth,)
# Retrieve the document width assumed for scrolling.
get int GetScrollWidth=2275(,)
+# Measure the pixel width of some text in a particular style.
+# Nul terminated text argument.
+# Does not handle tab or control characters.
+fun int TextWidth=2276(int style, string text)
+
## Start of key messages
# Move caret down one line.
fun void LineDown=2300(,)
@@ -1725,6 +1730,7 @@ evt void UserListSelection=2014(int listType, string text)
evt void URIDropped=2015(string text)
evt void DwellStart=2016(int position)
evt void DwellEnd=2017(int position)
+evt void Zoom=2018(void)
cat Deprecated