SYS : catch the shift+tab event
This commit is contained in:
parent
0e6c34d2a0
commit
1b3dd3ce98
@ -968,7 +968,7 @@ void BufferText::AddChar(char * UTF8data)
|
|||||||
m_EdnBuf.Insert(m_cursorPos, tmpVect);
|
m_EdnBuf.Insert(m_cursorPos, tmpVect);
|
||||||
SetInsertPosition(m_cursorPos+1, true);
|
SetInsertPosition(m_cursorPos+1, true);
|
||||||
} else {
|
} else {
|
||||||
if (true == globals::IsSetCtrl() ) {
|
if (true == globals::IsSetShift() ) {
|
||||||
m_cursorPos = m_EdnBuf.UnIndent(SELECTION_PRIMARY);
|
m_cursorPos = m_EdnBuf.UnIndent(SELECTION_PRIMARY);
|
||||||
} else {
|
} else {
|
||||||
m_cursorPos = m_EdnBuf.Indent(SELECTION_PRIMARY);
|
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
|
# elif USE_GTK_VERSION_2_0
|
||||||
case GDK_KP_Tab:
|
case GDK_KP_Tab:
|
||||||
# endif
|
# endif
|
||||||
|
// shift + TAB ... same as a tab here ...
|
||||||
|
case 0xfe20: //GDK_ISO_Left_Tab
|
||||||
case 65289:
|
case 65289:
|
||||||
key = (int32_t)'\t';
|
key = (int32_t)'\t';
|
||||||
break;
|
break;
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
- sys : Mise en place des colorisation de base pour le
|
- sys : Mise en place des colorisation de base pour le
|
||||||
* java script
|
* java script
|
||||||
* SQL
|
* SQL
|
||||||
- sys : Catch Shift+TAB
|
|
||||||
- sys : replace TAB with space when Tab is pressed
|
- sys : replace TAB with space when Tab is pressed
|
||||||
- sys : Catch F[1-12] ==> for user personal event
|
- 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 : 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 sélection quand la ligne est pleine et la première ligne séctionnée.
|
||||||
- BUG : de copier coller sur les éàè ...
|
- BUG : de copier coller sur les éàè ...
|
||||||
@ -69,4 +69,4 @@
|
|||||||
|
|
||||||
# note utiles :
|
# note utiles :
|
||||||
http://majutsushi.github.com/tagbar/ ==> je devrais regarder ca pour savoir ce que je peux faire avec du ctags
|
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/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user