Bookmark locations within the text document

Ideas for new features

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

Post Reply
shuffle
Posts: 1
Joined: Tue Dec 21, 2004 4:58 pm

Bookmark locations within the text document

Post by shuffle »

Hi,

I work on some files that have way too many lines of code, so my wish list is:

1. Ability to bookmark a position in a file (you might do this with a 2nd file with lineNo and labels). This would be a god send for coders working on legacy apps.

2. Ability to fold up functions and classes like Visual Studio (Ctrl M Ctrl L). This is likely needs to be specific to a document class.

Naturally if TextPad wasn't already my pick, I wouldn't want new features - so thanks for an excellent product!

Matt
User avatar
s_reynisson
Posts: 940
Joined: Tue May 06, 2003 1:59 pm

Post by s_reynisson »

On 2, feel free to vote and/or have your say over here http://textpad.com/forum/viewtopic.php?t=3764
I seem to remember a poll or a thread on enhanced bookmarks, have a look at Jeffy's list here http://textpad.com/forum/viewtopic.php?t=3811&start=75 - scroll down for the latest version, perhaps I'm just missing somehting. HTH
Then I open up and see
the person fumbling here is me
a different way to be
drefty
Posts: 35
Joined: Mon Dec 22, 2003 3:53 pm

WORKAROUND: Lack of code folding and fast bookmarking

Post by drefty »

The feature known as "Code Folding" is definitely a favorite out
there that many would like to see in TextPad.

Although this feature is not available currently, there is a workaround.
If you put a unique string at the beginning of each "section" of your code,
you can instantly 'jump' to each section by highlighting the word and pressing:

Code: Select all

ctrl+F
To do this workaround you may have to adjust your coding style.
This may or may not be acceptable to you, but it is a fairly decent workaround.

For example, click on the word 'begin_' in the code below and press
ctrl+F to jump to all instances of that word.

Code: Select all

/// begin_: init variables
    var foo = "foo";
    var bar = "bar";

/// begin_: do some stuff
    print foo; 
    print bar; 

/// begin_: functions
     function FeeBar(){
        "do some stuff blah blah";
     }
Post Reply