aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h2
-rw-r--r--include/Scintilla.iface9
2 files changed, 11 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index e5ccd6f11..b4fa06359 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -362,6 +362,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_SETSCROLLWIDTH 2274
#define SCI_GETSCROLLWIDTH 2275
#define SCI_TEXTWIDTH 2276
+#define SCI_SETENDATLASTLINE 2277
+#define SCI_GETENDATLASTLINE 2278
#define SCI_LINEDOWN 2300
#define SCI_LINEDOWNEXTEND 2301
#define SCI_LINEUP 2302
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 99afef5c0..8a4849025 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -943,6 +943,15 @@ get int GetScrollWidth=2275(,)
# Does not handle tab or control characters.
fun int TextWidth=2276(int style, string text)
+# Sets the scroll range so that maximum scroll position has
+# the last line at the bottom of the view (default).
+# Setting this to false allows scrolling one page below the last line.
+set void SetEndAtLastLine=2277(bool endAtLastLine,)
+
+# Retrieve whether the maximum scroll position has the last
+# line at the bottom of the view.
+get int GetEndAtLastLine=2278(,)
+
## Start of key messages
# Move caret down one line.
fun void LineDown=2300(,)