SYS : catch the shift+tab event
This commit is contained in:
@@ -968,7 +968,7 @@ void BufferText::AddChar(char * UTF8data)
|
||||
m_EdnBuf.Insert(m_cursorPos, tmpVect);
|
||||
SetInsertPosition(m_cursorPos+1, true);
|
||||
} else {
|
||||
if (true == globals::IsSetCtrl() ) {
|
||||
if (true == globals::IsSetShift() ) {
|
||||
m_cursorPos = m_EdnBuf.UnIndent(SELECTION_PRIMARY);
|
||||
} else {
|
||||
m_cursorPos = m_EdnBuf.Indent(SELECTION_PRIMARY);
|
||||
|
@@ -593,6 +593,8 @@ void ConvertInput(GdkEventKey *event, char* Utf8Out, bool &controlKey, bool &mov
|
||||
# elif USE_GTK_VERSION_2_0
|
||||
case GDK_KP_Tab:
|
||||
# endif
|
||||
// shift + TAB ... same as a tab here ...
|
||||
case 0xfe20: //GDK_ISO_Left_Tab
|
||||
case 65289:
|
||||
key = (int32_t)'\t';
|
||||
break;
|
||||
|
Reference in New Issue
Block a user