[Gambas-user] How can I print my Gambas program code?

Rolf-Werner Eilert eilert-sprachen at ...221...
Wed Mar 30 11:30:09 CEST 2011


Thanks for that hint, it certainly performed well with a Gambas2 code 
snippet. Actually, the only thing it did not understand was [] instead 
of ().

In order to make it match Gambas syntax, you would have to rewrite a 
piece of code (filter) for adaptation and compile it into the project, 
did I get that right?

My original idea, however, was to include some kind of library (made in 
Gambas) into the Gambas IDE with direct access to the other Gambas parts 
(editor, maybe even form editor), specialized to Gambas and offering 
some easy ways of printing this and that... directly out of the project, 
such as "currently selected text".

The menu point I'd put it in would either be "File" or "Tools".

Regards

Rolf


Am 30.03.2011 09:37, schrieb Caveat:
> Hi Rolf,
>
> It may be worth taking a look at: http://pygments.org/
>
> To try the demo, choose VB.Net in the absence of any other more
> appropriate option.
>
> We could certainly think about making a Gambas 'language pack' for
> pygments...probably using the VB.Net one as a starting point.
>
> Windoze fanboys might want to look at Notepad++
>
> Regards,
> Caveat
>
>
> On Tue, 2011-03-29 at 18:11 +0200, Rolf-Werner Eilert wrote:
>> Am 29.03.2011 17:44, schrieb tobias:
>>> hi,
>>> hum, i would consider open your files in a program that can print texts?
>>>
>>> regards,
>>> tobi
>>>
>>
>> It would be nice, however, to have an inbuilt printing tool for Gambas
>> which would be able to print "more nicely" than a raw text printer.
>>
>> Such a function could print keywords in colors, for instance, which is
>> easier to read... And it could print certain parts of the code, such as
>> single functions, one class/module, or "everything, but collapsed" etc.
>> Just a matter of phantasy ;-)
>>
>> Someone here who would like to code such a thing? Maybe I could be of
>> some help there...
>>
>> Regards
>>
>> Rolf
>>
>> ------------------------------------------------------------------------------
>> Enable your software for Intel(R) Active Management Technology to meet the
>> growing manageability and security demands of your customers. Businesses
>> are taking advantage of Intel(R) vPro (TM) technology - will your software
>> be a part of the solution? Download the Intel(R) Manageability Checker
>> today! http://p.sf.net/sfu/intel-dev2devmar
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>





More information about the User mailing list