Bookmark position in program...

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by LJ.

Scrolling by and forth through a program when it gets really large takes time to find ones place. Currently I use ';' then ************** to mark parts of the program so that it is easier to see when rapidly scrolling through code to find a spot. A nice feature would be able to set a couple of bookmarks in the code and then to return to the exact position in the code.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

You can set "bookmarks" in your code by starting a line with ;- and then the bookmark
text. For example: ;-BOOKMARK. Then, to go to that bookmark, just click its name in
the browser window, and PureBasic will jump to it instantly... no scrolling required.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by LJ.

Wow, that's great! Thank you!
Post Reply