Version: 2.4.92 (using KDE 3.4.92 (beta2, >= 20051010), Arch Linux)
Compiler: Target: i686-pc-linux-gnu
OS: Linux (i686) release 2.6.13-ARCH
There is still no way to switch back and fourth between an arbitrary number of related documents in kate and kdevelop. This is what most >notepad windows editors do:
CTRL+TAB switches to the last viewed/active document.
Holding CTRL and pressing TAB several times switches through the document history in order of most recently active documents first, without activating them until CTRL is released. Pressing SHIFT in addition to CTRL reverses the traversal order.
Doc1 is active
Doc2 is irrelevant
Doc4 was viewed before Doc1
I work on Doc1 and need info from Doc4, I press CTRL+TAB.
Doc4 becomes active. Doc1 pushed into the history.
I look at Doc4. I press CTRL+TAB and Doc1 opens again.
That is a very fast way for switching between a small number of currently interesting documents.
The current way is to press ALT+LEFT/RIGHT to switch through documents, which can be cumbersome when lots of documents are open.
For demo look at UltraEdit or Visual Studio.
I am aware that CTRL+TAB is used in KDE. CTRL+^ might work on German keyboards (^ is above TAB).
I just noticed: Window switching with ALT+TAB and ALT+SHIFT+TAB in KDE utilizes the same method.
On Thursday 03 November 2005 19:40, Jörg Rüppel wrote:
> notepad windows editors
If you want a SDI editor, use kwrite. You will get the exact same behavior.
As for browsing to a certain document in kate using the keyboard, we have the
Documents menu. Press ALT + D and then up/down untill your desired document
is highlighted, then RETURN ;)
So you propose I should open 30 KWrite instances just to get acceptable
document switching? Nah, I'm not sure I like that idea. That hasn't to do
anything with SDI anyway.
I don't want to *browse* to a certain document, I want to activate it with a
*single* key(combo). And then I want to switch back to the document I viewed
before with the same single keycombo. Everything else is just too slow.
There is a reason for the "switch between .cpp/.h" shortcut in KDevelop, but C
is not the only domain where two files relate to each other, so why not make
it generic and adaptive by utilizing the history?
On Thursday 03 November 2005 20:53, Jörg Rüppel wrote:
> I don't want to *browse* to a certain document, I want to activate it with
> a *single* key(combo). And then I want to switch back to the document I
> viewed before with the same single keycombo. Everything else is just too
That is a resonable argument.
> CTRL+TAB switches to the last viewed/active document.
> Holding CTRL and pressing TAB several times switches through the document
> history in order of most recently active documents first, without activating
> them until CTRL is released.
I wouldn't agree more. However I would like to configure that shortcut. It should be ctrl+tab by default since it is so popular but the actual shorcut should be up to the user will.
PSPad, a freeware developer editor (http://www.pspad.com) also works like this.
Kate does not currently have history navigation, the next/previous document
does opening order i believe. But you *can* assign shortcuts to those.
> Kate does not currently have history navigation,
It does not need to have all history. Just _one_ entry -- previously viewed doc.
> But you *can* assign shortcuts to those.
Yes, but you cannot still switch to the previously viewed doc. Besides -- Kate is extremely slow switching documents (CPU 2GHz!) so it is much better just to display list of documents (like task switch in KDE, page switch in Opera, etc) switch to selected title doc, and that make "physical" switch in Kate to given one.
*** Bug 39116 has been marked as a duplicate of this bug. ***
Well, this is an often requested feature, indeed. Just noted that this is a duplicate of bug #104997. Marking this report as such. You may want to transfer your votes.
*** This bug has been marked as a duplicate of 104997 ***