aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorjedailey <unknown>2016-11-14 12:54:25 +1100
committerjedailey <unknown>2016-11-14 12:54:25 +1100
commit3194268137ebe03b1fd8c0937f5879a94526d2b1 (patch)
tree29cd1ed2541f738e2f17447dbaaf0639337a8bb7 /include
parent9372cae68afe9d5754f29a74988de61d108017c8 (diff)
downloadscintilla-mirror-3194268137ebe03b1fd8c0937f5879a94526d2b1.tar.gz
Added alternate appearance for visible tabs which looks like a horizontal line.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h4
-rw-r--r--include/Scintilla.iface11
2 files changed, 15 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index dd643e9ea..b6c75a32d 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -76,6 +76,10 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCWS_VISIBLEONLYININDENT 3
#define SCI_GETVIEWWS 2020
#define SCI_SETVIEWWS 2021
+#define SCTD_LONGARROW 0
+#define SCTD_STRIKEOUT 1
+#define SCI_GETTABDRAWMODE 2698
+#define SCI_SETTABDRAWMODE 2699
#define SCI_POSITIONFROMPOINT 2022
#define SCI_POSITIONFROMPOINTCLOSE 2023
#define SCI_GOTOLINE 2024
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 6bb4da9b5..9f8a7db1c 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -168,6 +168,17 @@ get int GetViewWS=2020(,)
# Make white space characters invisible, always visible or visible outside indentation.
set void SetViewWS=2021(int viewWS,)
+enu TabDrawMode=SCTD_
+val SCTD_LONGARROW=0
+val SCTD_STRIKEOUT=1
+
+# Retrieve the current tab draw mode.
+# Returns one of SCTD_* constants.
+get int GetTabDrawMode=2698(,)
+
+# Set how tabs are drawn when visible.
+set void SetTabDrawMode=2699(int tabDrawMode,)
+
# Find the position from a point within the window.
fun position PositionFromPoint=2022(int x, int y)