Page 1 of 1

Switching between files

Posted: Mon Nov 13, 2000 4:34 am
by Derek Roberts
Anyone know if it's possible to hotkey between the last two files you've been working on ? (not just the previous & next ones in the workspace list). I find myself always pressing alt+tab - which obviously doesn't get me what I want - but I can't see how to construct a macro to do it for the general case, not just two specific nominated files.

RE: Switching between files

Posted: Tue Nov 14, 2000 2:35 am
by Andreas
Have you tried Ctrl-Tab? Alt-Tab switches between Applications, Ctrl-Tab switches between file windows in Textpad
Andreas

RE: Switching between files

Posted: Tue Nov 14, 2000 3:23 am
by Derek Roberts
Andreas, thanks; ctrl+tab is good (better than ctrl-shift-F6 which is supposed to be the same, but de-maximises windows), but not quite what I'm after. The really nice thing about alt+tab is that it switches round the last two applications in the list, so that repeated application of alt+tab gives you the last two things you were looking at, no matter how many other applications are running. This is what I find myself wanting in TextPad - to be able to quickly flip between two documents when I have loads of others open in the workspace. Ctrl+Tab goes through all the documents in the workspace - albeit in the order they were last used. Im my current space there are 55 files open...

Any other ideas ?
Thanks

RE: Switching between files

Posted: Tue Nov 14, 2000 4:59 am
by Andreas
Just release Ctrl key.
If you keep Ctrl pressed Textpad walks thru the files.
If you release it after hitting Tab the first time, the next Ctrl-Tab will bring you back to the first file.
Andreas

RE: Switching between files

Posted: Tue Nov 14, 2000 8:59 am
by Derek Roberts
Ok!

Yes, I see what you're driving at. Thanks for this - it works as desired.
I wonder if the folks at TextPad could add this to the help file sometime.

Derek

RE: Switching between files

Posted: Tue May 22, 2001 2:20 pm
by Huw Thomas
The keystrokes are mapped to WindowNext and WindowPrev (Configure | Preferences | Keyboard). The behaviour isn't what I'd expect from this mapping, though, the dependency on past events makes it rather more complicated than you'd expect WindowNext to be - it had me confused and believing it was a bug until I discovered this thread!

I'd prefer to see a new command such as WindowToggleRecent to implement the requirement for switching back and forward between two windows, with WindowNext (and WindowPrev) doing no more than what it says on the tin.

Huw

Need activity in file.

Posted: Tue Mar 25, 2003 4:53 pm
by Rod Locke
I'm using 4.6 and I've noticed that repeated, pressing of CTRL-TAB does not behave like ALT-TAB. That is, if I do CTRL-TAB, release both, and repeat, I would expect to cycle between two files, which does not happen.

It seems that cursor activity is important to the order of movement. If I do CTRL-TAB, move cursor, and repeat, I move between the same two files. But without remembering to move the cursor every time, CTRL-TAB isn't even useful for moving between the same two files. It would be nice to see this behavior changed to something more predictable.

Posted: Wed Mar 26, 2003 9:25 am
by MudGuard
Strange.

I am using 4.6.2 and it works for me.

Are you really releasing the Ctrl key?