Switching between files

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Derek Roberts

Switching between files

Post 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.
Andreas

RE: Switching between files

Post by Andreas »

Have you tried Ctrl-Tab? Alt-Tab switches between Applications, Ctrl-Tab switches between file windows in Textpad
Andreas
Derek Roberts

RE: Switching between files

Post 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
Andreas

RE: Switching between files

Post 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
Derek Roberts

RE: Switching between files

Post 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
Huw Thomas

RE: Switching between files

Post 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
Rod Locke

Need activity in file.

Post 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.
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

Strange.

I am using 4.6.2 and it works for me.

Are you really releasing the Ctrl key?
Post Reply