Page 1 of 1
Feature request: favorites/bookmarks
Posted: Tue Apr 17, 2018 9:08 pm
by AmigoJack
Just like in web browsers: add current open file to a list so I'm able to re-open it any time again, unbound to my "recently opened files" list. Preferably not limited in an arbitrary way (i.e. only up to 64 entries), and I'm fine if it can only be managed (other captions or removing entries) by editing a text file.
Low priority - it just occures from time to time that a favorite list would have been handy.
Posted: Tue Apr 17, 2018 10:47 pm
by ben_josephs
Choose a file to hold your bookmarks, say
C:\path\to\bookmarks.
Create a TextPad "DOS" tool:
Configuration | Preferences | Tool | Add | DOS Command...
Command: cmd
Parameters: type C:\path\to\bookmarks
Regular expression to match output:
^(.+?)(?: *\((\d+)(?:,(\d+))?\))?$
(or whatever you prefer)
File: 1 Line: 2 Column: 3
Include
C:\path\to\bookmarks
in itself.
You can specify a line number:
C:\path\to\bookmarks (42)
and a column number:
C:\path\to\bookmarks (42,21)
Assign a convenient shortcut key to this tool. (I use
<Ctrl+Shift+F1>.)
Posted: Wed Apr 18, 2018 6:59 am
by AmigoJack
Never thought about executing a process. It's not exactly what I'm looking for but a approach worth investigating - most likely I'll add another execution to append a line to the existing bookmarks file...