From eb8608f6b17d147ca3217e4237d602cf5933d9a2 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 27 Oct 2003 12:13:16 +0000 Subject: Patches from Roy Wood: Word movement to end of word. Stuttered page movement. User defined keyboard accelerators on GTK+. --- include/Scintilla.h | 8 ++++++++ include/Scintilla.iface | 26 ++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index 048aac311..d0b788e47 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -559,6 +559,14 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_LINEENDRECTEXTEND 2432 #define SCI_PAGEUPRECTEXTEND 2433 #define SCI_PAGEDOWNRECTEXTEND 2434 +#define SCI_STUTTEREDPAGEUP 2435 +#define SCI_STUTTEREDPAGEUPEXTEND 2436 +#define SCI_STUTTEREDPAGEDOWN 2437 +#define SCI_STUTTEREDPAGEDOWNEXTEND 2438 +#define SCI_WORDLEFTEND 2439 +#define SCI_WORDLEFTENDEXTEND 2440 +#define SCI_WORDRIGHTEND 2441 +#define SCI_WORDRIGHTENDEXTEND 2442 #define SCI_STARTRECORD 3001 #define SCI_STOPRECORD 3002 #define SCI_SETLEXER 4001 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 5aea37875..1e4d0db34 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1513,6 +1513,32 @@ fun void PageUpRectExtend=2433(,) fun void PageDownRectExtend=2434(,) +# Move caret to top of page, or one page up if already at top of page. +fun void StutteredPageUp=2435(,) + +# Move caret to top of page, or one page up if already at top of page, extending selection to new caret position. +fun void StutteredPageUpExtend=2436(,) + +# Move caret to bottom of page, or one page down if already at bottom of page. +fun void StutteredPageDown=2437(,) + +# Move caret to bottom of page, or one page down if already at bottom of page, extending selection to new caret position. +fun void StutteredPageDownExtend=2438(,) + + +# Move caret left one word, position cursor at end of word. +fun void WordLeftEnd=2439(,) + +# Move caret left one word, position cursor at end of word, extending selection to new caret position. +fun void WordLeftEndExtend=2440(,) + +# Move caret right one word, position cursor at end of word. +fun void WordRightEnd=2441(,) + +# Move caret right one word, position cursor at end of word, extending selection to new caret position. +fun void WordRightEndExtend=2442(,) + + # Start notifying the container of all key presses and commands. fun void StartRecord=3001(,) -- cgit v1.2.3