SYS : catch the shift+tab event

This commit is contained in:
Edouard Dupin 2011-09-04 12:08:48 +02:00
parent 0e6c34d2a0
commit 1b3dd3ce98
3 changed files with 5 additions and 3 deletions

View File

@ -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);

View File

@ -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;

View File

@ -7,9 +7,9 @@
- sys : Mise en place des colorisation de base pour le
* java script
* SQL
- sys : Catch Shift+TAB
- sys : replace TAB with space when Tab is pressed
- sys : Catch F[1-12] ==> for user personal event
- sys : replace when TAB pressed and the selection did not selent more than one element
- BUG : Correction du bug des entré bizard tel que les chapot et les guillemets
- BUG : de sélection quand la ligne est pleine et la première ligne séctionnée.
- BUG : de copier coller sur les éàè ...
@ -69,4 +69,4 @@
# note utiles :
http://majutsushi.github.com/tagbar/ ==> je devrais regarder ca pour savoir ce que je peux faire avec du ctags
CTags : Set the parsing methode : "ctags -R --fields=+n Sources/"
CTags : Set the parsing methode : "ctags -R --fields=+n Sources/ /usr/include/gtk-3.0/"