Editor Features

Working on new editor enhancements?
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 geoff.

For many years I have used an editor that automatically indents
code for IF--THEN--ELSE and similar structures. This editor also
allows the option of hiding the contents of procedures so that
a long program listing is more easily viewed.

Could these features easily be added to the Purebasic editor?
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 Alltimefriend.

Hhmmm, that sounds good.

On Linux I often work with Anjuta (a C/C++-IDE, but also PHP and Perl-Highlighting) and there you can hide all the functions and similar stuff, so you only see the function-decalaration.

On http://www.anjuta.org/right_pannel.php?load=screenshots you can see some screenshots, just have a look on the left side of the shots.

Unfortunately there is no screenshot, where you can see a closed/hidden function :o(

Greetz, ATF
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 Berikco.
Originally posted by geoff

For many years I have used an editor that automatically indents
code for IF--THEN--ELSE and similar structures. This editor also
allows the option of hiding the contents of procedures so that
a long program listing is more easily viewed.

Could these features easily be added to the Purebasic editor?
Sounds familiar to me, u used GFA before maybe?

I wrote a tool to format sources in a keypress
http://www.benny.zeb.be/sources/SourceFormat.zip

Adding the auto indent and folding procedures to the editor is not so easy.... i hope Fred can do it this year :)

Regards,

Berikco

http://www.benny.zeb.be/purebasic.htm
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 GPI.

>Sounds familiar to me, u used GFA before maybe?

GFA-Basic and Omikron Basic (both Atari ST) have this.

PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB
Post Reply