aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h3
-rw-r--r--include/Scintilla.iface3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index a15d3da92..b583ab746 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -372,6 +372,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_TEXTWIDTH 2276
#define SCI_SETENDATLASTLINE 2277
#define SCI_GETENDATLASTLINE 2278
+#define SCI_TEXTHEIGHT 2279
#define SCI_LINEDOWN 2300
#define SCI_LINEDOWNEXTEND 2301
#define SCI_LINEUP 2302
@@ -518,11 +519,9 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCK_ADD 310
#define SCK_SUBTRACT 311
#define SCK_DIVIDE 312
-#define KeyMod SCMOD_
#define SCMOD_SHIFT 1
#define SCMOD_CTRL 2
#define SCMOD_ALT 4
-#define Lexer SCLEX_
#define SCN_STYLENEEDED 2000
#define SCN_CHARADDED 2001
#define SCN_SAVEPOINTREACHED 2002
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index e5daa4f96..c310da062 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -979,6 +979,9 @@ set void SetEndAtLastLine=2277(bool endAtLastLine,)
# line at the bottom of the view.
get int GetEndAtLastLine=2278(,)
+# Retrieve the height of a particular line of text in pixels.
+fun int TextHeight=2279(int line,)
+
## Start of key messages
# Move caret down one line.
fun void LineDown=2300(,)