Quick Open File: auto-use selected text as filename

Ideas for new features

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

Post Reply
jumpfroggy
Posts: 23
Joined: Fri Jan 14, 2005 9:28 pm

Quick Open File: auto-use selected text as filename

Post by jumpfroggy »

I just (accidentally) discovered the Quick Open File command (Control+Shift+O). It's so useful, faster than using the File->Open (Control+O) for some cases.

It'd be great if it automatically used whatever is selected in the textfile as the default filename. That way if you had this:

Code: Select all

INCLUDE somefile.txt
You could just select "somefile.txt", hit Control+Shift+O, then enter and it'd automatically open that file. I can achieve the same thing now with a copy paste, but having it auto-populate would be very convenient.

BTW, tip for users: there's a "search subfolders" checkbox to automatically find the file you're looking for even if it's in a subfolder. If you're already in a subfolder and need to search a parent, just use "../" for example:

You're editing /site/admin/file.txt, which includes /site/include/common.txt.
Hit Control+Shift+O, type ../common.txt, check "Search Subfolders". It'll search /site/ and all subfolders. Nifty, eh?

Any comments on this feature, and my proposed change?
User avatar
woho
Posts: 100
Joined: Tue Sep 02, 2003 9:12 am
Location: Steyr/Austria
Contact:

Post by woho »

Hi
an when there is no text selected, the QuickOpen Textbox should contain the path of the current file (that is also returned by $File in the tool macros)
example see
http://www.textpad.info/forum/viewtopic.php?t=6356
Post Reply