Hi!
I'm new in this list, I hope to be able to contribute with some of my skills about Geany.
It is my editor for long time and I can't change to a different one.
Please, can any body help me about a filetypes.Povray.conf?
I am doing a lot of work with Povray and it will be very nice to have syntax highlighting with *.pov files.
References: Intel i7 Geany compiled, version: 1.23.1
I have made all homework about filetypes, I hope!
I have this files:
/home/user/.geany/filetype_extensions.conf Added: Povray=*.pov;
/home/user/.geany/filetypes.Povray.conf Copied from filetype.c and edited some details...
[keywords] primary=....... many povray words in one line...... [lexer_properties] lexer_filetype=C [settings] extension=pov comment_single=// comment_open=/* comment_close=*/
After many try out, no success at all, no way to get some color in my .pov files.
Thanks in advanced.
NB: Excuse my english :-)
On 18 August 2013 20:27, janc@janc.es janc@janc.es wrote:
Hi!
I'm new in this list, I hope to be able to contribute with some of my skills about Geany.
It is my editor for long time and I can't change to a different one.
Please, can any body help me about a filetypes.Povray.conf?
I am doing a lot of work with Povray and it will be very nice to have syntax highlighting with *.pov files.
References: Intel i7 Geany compiled, version: 1.23.1
I have made all homework about filetypes, I hope!
I have this files:
/home/user/.geany/filetype_extensions.conf Added: Povray=*.pov;
/home/user/.geany/filetypes.Povray.conf Copied from filetype.c and edited some details...
[keywords] primary=....... many povray words in one line...... [lexer_properties] lexer_filetype=C
This is a [settings] not a [lexer_properties] key. For custom files you might be better to look at some of the filetypes.XXX.conf custom types distributed with Geany rather than full filetype files.
Cheers Lex
[settings] extension=pov comment_single=// comment_open=/* comment_close=*/
After many try out, no success at all, no way to get some color in my .pov files.
Thanks in advanced.
NB: Excuse my english :-)
-- Jose Angel Navarro Cortes email: janc@janc.es web: http://janc.es/ Usuario Linux: #49178
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Hi! Lex.
Thanks a lot, you hit the bulls-eye.
Now I have a working config: /home/*user*/.config/geany/filedefs/filetypes.pov.conf /home/*user*/.config/geany/filetype_extensions.conf
Some colors must be edited in: /home/*user*/.config/geany/filedefs/filetypes.common
I will keep working about.
If it is useful, I will send a copy of filetypes.pov.conf Can it be send as attachment?
Best regards.
On 13-08-18 05:23 AM, janc@janc.es wrote:
Hi! Lex.
Thanks a lot, you hit the bulls-eye.
Now I have a working config: /home/*user*/.config/geany/filedefs/filetypes.pov.conf /home/*user*/.config/geany/filetype_extensions.conf
Some colors must be edited in: /home/*user*/.config/geany/filedefs/filetypes.common
I will keep working about.
If it is useful, I will send a copy of filetypes.pov.conf Can it be send as attachment?
If you're brave enough to make a pull request[1] on Github (or less fun, patch on patch tracker), and assuming it's well-done (we can improve while it's a pull request), I think there shouldn't be a problem. We accepted less common filtypes than POV ray files.
I should also note that there's already a POV ray lexer already inside Scintilla[2].
Cheers, Matthew Brush
[1] https://help.github.com/articles/creating-a-pull-request [2] https://sourceforge.net/p/scintilla/code/ci/default/tree/lexers/LexPOV.cxx