A combined ;{ and ;-

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

A combined ;{ and ;-

Post by jassing »

I use ;- to help identify sections as well as ;{ for structures and the like.

It would be nice to be able to combine the two:

Code: Select all

Structure MyStruct ;{- Main data structure
endstructure ;}
so that it would be expanded/compacted as well as easily spotted in the procedures pane.
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: A combined ;{ and ;-

Post by skywalk »

Edit your preferences - Editor - Folding - Folding start Keywords AND Folding end Keywords. :wink:
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: A combined ;{ and ;-

Post by jassing »

D'oh! it's been one of those days... Never occurred to me to look in preferences.... thanks.
I was thinking a bit more generically, such that

;-{ test

Showed
> test
not
> { test
Post Reply