|
|
Home » Community » Newbie corner » Ridiculous behavior of the hotkeys Ctrl+Alt+right and Ctrl+Alt+left in the Stacking mode
|
|
Re: Ridiculous behavior of the hotkeys Ctrl+Alt+right and Ctrl+Alt+left in the Stacking mode [message #46031 is a reply to message #46029] |
Sun, 21 February 2016 15:53   |
Navadvipa Chandra das
Messages: 34 Registered: January 2016 Location: DPR, Donetsk region, Chay...
|
Member |

|
|
Hello Zbigniew Rębacz and all!
Thanck you Rębacz for the answer!
1. I'll describe the logic. Imagine that the tabs are the pancakes, which lie on the ground on the same line. From left to right line. And integral tab is a stack of pancakes - it has some height. This is a mountain. This roller coaster has two sides - left and right. These slopes have different inclination, like real mountains. The bottom pancake in grief is a tab that is visible in the composite tab. It is always the same in each composite tab. If we come to the mountain on the left side, we first find ourselves on the bottom pancake, and the mountains climb with the help of Ctrl+Alt+Right, and descend from the mountains with the help of Ctrl+Alt+Left. Once we reach the top of the mountain we have two options - either using Ctrl+Alt+Right to jump from the mountain to the next tab, which on earth is right and simultaneously move a pancake from the top of the mountain to the bottom of the mountain, or quietly walking down the mountain using Ctrl+Alt+Left. But if we get on the mountain on the right side, all the same, but keys Ctrl+Alt+Right and Ctrl+Alt+Left switch places. The very first time we again find ourselves at the bottom pancake, then key Ctrl+Alt+Left to up, and the Ctrl+Alt+Right descends. Once we reach the top of the mountain, next press Ctrl+Alt+Left leads to the jump from the mountain to the tab that is on the earth is to the left and simultaneously move a pancake from the top of the mountain to the bottom of the mountain, and the Ctrl+Alt+Right - maybe quietly down the mountain step by step.
2. Plus it would be nice to have keys Shift+Ctrl+Alt+Right and Shift+Ctrl+Alt+Left which would just scroll through all tabs within a single integral tab in a circle.
3. Plus it would be nice to have a key for fast pereklyucheniya between tabs *.cpp and *.h in a circle. For example MyFile.cpp and MyFile.h press F11. I this feature not found in U++ .
Thanks!
With best regards Navadvipa Chandra das.
[Updated on: Sun, 21 February 2016 15:56] Report message to a moderator
|
|
|
Re: Ridiculous behavior of the hotkeys Ctrl+Alt+right and Ctrl+Alt+left in the Stacking mode [message #46084 is a reply to message #46029] |
Tue, 01 March 2016 22:51   |
Navadvipa Chandra das
Messages: 34 Registered: January 2016 Location: DPR, Donetsk region, Chay...
|
Member |

|
|
Hello Zbigniew Rębacz and all!
I fixed the behavior of keys Ctrl+Alt+Right and Ctrl+Alt+Left.
You need to write about it in Redmine, so that no one was doing this work over again.
But I don't know how to change code in U++.
Here is a list of changes:
EditorTabBar.cpp :
Changed void Ide::TabsLR(...) function.
ide.cpp
Changed the function call TabsLR
ide.h
Changed the function declaration TabsLR(...)
TabBar.h - add this :
enum class JumpDirect { Left, Right };
class JumpStack : Moveable< JumpStack > { ...
JumpStack jump_stack;
int GetTabLR( JumpDirect jd );
int GetLR( int c, JumpDirect jd );
Changed function virtual void CursorChanged()
TabBar.cpp
Added function bodies
int GetTabLR( JumpDirect jd );
int GetLR( int c, JumpDirect jd );
Changed function void TabBar::Clear() { add jump_stack.Reset();}
Please check the code. Maybe something will advise. And make the changes in U++.
Thank you very much!
With best regards Navadvipa Chandra das.
[Updated on: Wed, 02 March 2016 08:29] Report message to a moderator
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Apr 26 04:45:11 CEST 2025
Total time taken to generate the page: 0.01250 seconds
|
|
|