News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

GNU as syntax coloring

Started by earlgrey, September 07, 2014, 08:08:50 PM

Previous topic - Next topic

earlgrey

I have made a patch ( scintilla lexer + C::B modifs ) that enable coloring GNU as within C::B ( you have to recompile C::B ).

For those who use gcc and want to see what it does. ( I find it very good in optimizations )

Check out here : http://lxfsw.blogspot.fr/p/page-02.html

* OS = Debian Buster - Linux 4.19.06 x64 SMP
* C::B = svn11267 wx-3.0.4 - Linux, unicode 64 bit

earlgrey

#1
Unfortunately, as soon as I posted, the patch stopped to work with a "no extension handler could be found".

So, use of this patch is discouraged until I find the bug.

Something wrong with C::B integration, because I still have my modified Scite version working.

Sorry for the inconvenience.
* OS = Debian Buster - Linux 4.19.06 x64 SMP
* C::B = svn11267 wx-3.0.4 - Linux, unicode 64 bit

oBFusCATed

Please post this patch to the scintilla project if this lexer is available there...

And posting patches in an archive is not very suitable, so there is very little chance they can be integrated in the project.

See this http://wiki.codeblocks.org/index.php?title=Creating_a_patch_to_submit_to_BerliOS_%28Patch_Tracker%29 for details (it is a bit outdated).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

earlgrey

#3
The next step for me was to propose the lexer to scintilla/scite, but I want to debug the C::B patch before.

>> Edit : Problem is due to 2 simultaneous versions of C::B, one in /usr and one in /usr/local ; seems that a simple ldconfig solve it, so I keep the links in my page for those who are interested.

Anyway, thanks for the answer.
* OS = Debian Buster - Linux 4.19.06 x64 SMP
* C::B = svn11267 wx-3.0.4 - Linux, unicode 64 bit

earlgrey

Neil Hodgson, from Scintilla/Scite, is ok for integrating the lexer.(  Im currently working on getting rid of some warnings ).

I forgot to mention the lexer supports code folding.

Regards -
* OS = Debian Buster - Linux 4.19.06 x64 SMP
* C::B = svn11267 wx-3.0.4 - Linux, unicode 64 bit

oBFusCATed

Great to hear... we'll have it in c::b after it has been release in an official release of scintilla.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

earlgrey

Thats why I wanted to give a patch, because it may be a (relatively ) long process.
* OS = Debian Buster - Linux 4.19.06 x64 SMP
* C::B = svn11267 wx-3.0.4 - Linux, unicode 64 bit

oBFusCATed

If you've posted a patch to us it could have been quite a lot longer:)
Now it will just happen with the next scintilla release...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

earlgrey

Received from Neil Hodgson  : "The value of SCLEX_GAS will be 117 as the BibTeX lexer took 116."

It is on the rails !
* OS = Debian Buster - Linux 4.19.06 x64 SMP
* C::B = svn11267 wx-3.0.4 - Linux, unicode 64 bit