diff options
| author | Tse Kit Yam <me@kytse.com> | 2016-11-23 10:46:28 +1100 |
|---|---|---|
| committer | Tse Kit Yam <me@kytse.com> | 2016-11-23 10:46:28 +1100 |
| commit | d2c7abab397926735f5a41ca17fd280a409e2940 (patch) | |
| tree | efe207d319eef0ac417295439593a7baf36e20c7 /include | |
| parent | 4ae76e455aec66826a284356d63cc2b5995c0b2f (diff) | |
| download | scintilla-mirror-d2c7abab397926735f5a41ca17fd280a409e2940.tar.gz | |
Implementation of MarginRightClick event.
Diffstat (limited to 'include')
| -rw-r--r-- | include/Scintilla.h | 4 | ||||
| -rw-r--r-- | include/Scintilla.iface | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index bfc1455c9..6a36d24f4 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -679,6 +679,9 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_SEARCHNEXT 2367 #define SCI_SEARCHPREV 2368 #define SCI_LINESONSCREEN 2370 +#define SC_POPUP_NEVER 0 +#define SC_POPUP_ALL 1 +#define SC_POPUP_TEXT 2 #define SCI_USEPOPUP 2371 #define SCI_SELECTIONISRECTANGLE 2372 #define SCI_SETZOOM 2373 @@ -1091,6 +1094,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCN_FOCUSIN 2028 #define SCN_FOCUSOUT 2029 #define SCN_AUTOCCOMPLETED 2030 +#define SCN_MARGINRIGHTCLICK 2031 /* --Autogenerated -- end of section automatically generated from Scintilla.iface */ /* These structures are defined to be exactly the same shape as the Win32 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 12848b901..df779982c 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1748,9 +1748,14 @@ fun int SearchPrev=2368(int searchFlags, string text) # Retrieves the number of lines completely visible. get int LinesOnScreen=2370(,) +enu PopUp=SC_POPUP_ +val SC_POPUP_NEVER=0 +val SC_POPUP_ALL=1 +val SC_POPUP_TEXT=2 + # Set whether a pop up menu is displayed automatically when the user presses -# the wrong mouse button. -fun void UsePopUp=2371(bool allowPopUp,) +# the wrong mouse button on certain areas. +fun void UsePopUp=2371(int popUpMode,) # Is the selection rectangular? The alternative is the more common stream selection. get bool SelectionIsRectangle=2372(,) @@ -4819,6 +4824,7 @@ evt void HotSpotReleaseClick=2027(int modifiers, int position) evt void FocusIn=2028(void) evt void FocusOut=2029(void) evt void AutoCCompleted=2030(string text, int position, int ch, CompletionMethods listCompletionMethod) +evt void MarginRightClick=2031(int modifiers, int position, int margin) # There are no provisional APIs currently, but some arguments to SCI_SETTECHNOLOGY are provisional. |
