From 3194268137ebe03b1fd8c0937f5879a94526d2b1 Mon Sep 17 00:00:00 2001 From: jedailey Date: Mon, 14 Nov 2016 12:54:25 +1100 Subject: Added alternate appearance for visible tabs which looks like a horizontal line. --- include/Scintilla.h | 4 ++++ include/Scintilla.iface | 11 +++++++++++ 2 files changed, 15 insertions(+) (limited to 'include') 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) -- cgit v1.2.3