[Gambas-devel] Format source

Carsten Olsen carsten at ...151...
Wed Oct 27 19:37:41 CEST 2004


On Wed, 2004-10-27 at 11:58, Benoit Minisini wrote:

> On Tuesday 26 October 2004 19:50, Carsten Olsen wrote:
> > Here are some code to format gambas source in the editor.
> >
> > The zip-file contains
> >
> > New CFormatSource.class
> > Altered FEditor.class + form (new button)
> > Altered FOption.class + form (new options for Format source in other
> > tab)
> > New icon format-source.png
> >
> > Kind regards
> >
> > Carsten Olsen
> 
> As I said before, I will add a method in the gb.eval component that will 
> analyze a code line and return all the language pattern inside, with the 
> type, so that colorize and format the code becomes simple.
> 
> Any problem with that ? :-)


No problem - if it can make auto in-line if you e.g. puts an if-end
statement around existing code. :)  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20041027/5dba5496/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smiley-3.png
Type: image/png
Size: 819 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20041027/5dba5496/attachment.png>


More information about the Devel mailing list