Editor and ;{- Mark

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Editor and ;{- Mark

Post by GPI »

It the moment i must write the follow:

Code: Select all

;{ Read Hiscores from file
;- Read Hiscores from file
<some interessting code>
;}
It would be nice to combine a Fold-Start and a bookmark with this:

Code: Select all

;{- ReadHiscores form file
<hidden>
;}
User avatar
TomS
Enthusiast
Enthusiast
Posts: 342
Joined: Sun Mar 18, 2007 2:26 pm
Location: Munich, Germany

Re: Editor and ;{- Mark

Post by TomS »

Good idea.
That's something I always wanted, too^^
User avatar
STARGÅTE
Addict
Addict
Posts: 2227
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: Editor and ;{- Mark

Post by STARGÅTE »

:?:

you must only add a folding comment with folding start keyword: ;-{

Code: Select all

;-{ Example

Debug Nothing

;}
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Re: Editor and ;{- Mark

Post by GPI »

doesn`t work here (win7 64, pb3.60b3 32)

edit: you add in the preferences ";-{" as fold start.... and it add a { at the bookmark list.

but i think, it would be nice to nice to have ;{- as fold start, because in my opinion it is the logical ordern
Post Reply