diff options
| -rw-r--r-- | gtk/ScintillaGTK.cxx | 2 | ||||
| -rw-r--r-- | include/Scintilla.h | 3 | ||||
| -rw-r--r-- | include/Scintilla.iface | 3 | ||||
| -rw-r--r-- | win32/ScintillaWin.cxx | 1 | 
4 files changed, 7 insertions, 2 deletions
| diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 5dc998a07..269c59e91 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -1947,6 +1947,8 @@ static int KeyTranslate(int keyIn) {  		return SCK_DIVIDE;  	case GDK_Super_L:  		return SCK_WIN; +	case GDK_Super_R: +		return SCK_RWIN;  	case GDK_Menu:  		return SCK_MENU;  	default: diff --git a/include/Scintilla.h b/include/Scintilla.h index 77d1deb28..07469b47a 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -669,7 +669,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,  #define SCK_SUBTRACT 311  #define SCK_DIVIDE 312  #define SCK_WIN 313 -#define SCK_MENU 314 +#define SCK_RWIN 314 +#define SCK_MENU 315  #define SCMOD_NORM 0  #define SCMOD_SHIFT 1  #define SCMOD_CTRL 2 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 7010cc342..78e62b8ce 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1761,7 +1761,8 @@ val SCK_ADD=310  val SCK_SUBTRACT=311  val SCK_DIVIDE=312  val SCK_WIN=313 -val SCK_MENU=314 +val SCK_RWIN=314 +val SCK_MENU=315  enu KeyMod=SCMOD_  val SCMOD_NORM=0 diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index b1ba0155b..bc7ff17b3 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -397,6 +397,7 @@ static int KeyTranslate(int keyIn) {  		case VK_SUBTRACT:	return SCK_SUBTRACT;  		case VK_DIVIDE:		return SCK_DIVIDE;  		case VK_LWIN:		return SCK_WIN; +		case VK_RWIN:		return SCK_RWIN;  		case VK_APPS:		return SCK_MENU;  		case VK_OEM_2:		return '/';  		case VK_OEM_3:		return '`'; | 
