aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-07-05 11:35:32 +1000
committerNeil <nyamatongwe@gmail.com>2019-07-05 11:35:32 +1000
commita6ad2ff8b66866aeae17a8bee1eb54edfee331ad (patch)
tree392ac33978553c18efe124d138ea9d71bb9c6067 /include
parent7f94250659318b6a828cd122e69e81e131c3380d (diff)
downloadscintilla-mirror-a6ad2ff8b66866aeae17a8bee1eb54edfee331ad.tar.gz
Backport: Bug [#2118]. Add TabMinimumWidth property to API so applications can display
overviews or minimaps with reasonable layout. Backport of changeset 7700:e6efe007d2dc.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h2
-rw-r--r--include/Scintilla.iface6
2 files changed, 8 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 2c9a8ac43..fbbc173d6 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -93,6 +93,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_SETBUFFEREDDRAW 2035
#define SCI_SETTABWIDTH 2036
#define SCI_GETTABWIDTH 2121
+#define SCI_SETTABMINIMUMWIDTH 2724
+#define SCI_GETTABMINIMUMWIDTH 2725
#define SCI_CLEARTABSTOPS 2675
#define SCI_ADDTABSTOP 2676
#define SCI_GETNEXTTABSTOP 2677
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 7280f71b8..1dd85982d 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -252,6 +252,12 @@ set void SetTabWidth=2036(int tabWidth,)
# Retrieve the visible size of a tab.
get int GetTabWidth=2121(,)
+# Set the minimum visual width of a tab.
+set void SetTabMinimumWidth=2724(int pixels,)
+
+# Get the minimum visual width of a tab.
+get int GetTabMinimumWidth=2725(,)
+
# Clear explicit tabstops on a line.
fun void ClearTabStops=2675(line line,)