[Gambas-user] About syntax highlighting and copy/paste to OpenOffice

Kevin Fishburne kevinfishburne at ...1887...
Fri Apr 1 08:37:22 CEST 2011


On 04/01/2011 02:30 AM, Rolf-Werner Eilert wrote:
> Hm, this is just what I meant: When we had a tool which was resident
> within the IDE, it could easily have access to the editor's highlighting
> and many other things, thus enabling for easier highlighting than an
> external tool. Why re-invent the wheel?
>
> I guess it's pretty easy to simply use the Gambas editor's highlighting
> capabilities by reading the code from it and evaluating the highlighting
> properties of the text. The editor is there in Gambas and can be easily
> read, so let me just make some trials...
>
> Good idea though not to print directly but offer the option to paste the
> text into OO for further rendering. If I was an author of a book about
> Gambas, I'd love this... :-)

Rolf, agreed. A File menu option could simply "print" to a single file, 
encoding the current theme and code markers. While this is plainly an 
extravagant feature that would just be for fun, it would be cool for 
code examples in web sites. It should perhaps be placed on low priority, 
like when all other bugs are fixed.

Use the existing "theme", save to known format like html.

-- 
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sales at ...1887...
phone: (770) 853-6271





More information about the User mailing list