Is there only 2 groups of keywords? In C-like files.
(filetypes.Xxx.conf, tag_parser=C, lexer_filetype=C, [keywords], primary, secondary)
Péter
On 8 April 2015 at 21:46, Péter e2qb2a44f@prolan-power.hu wrote:
Is there only 2 groups of keywords? In C-like files.
(filetypes.Xxx.conf, tag_parser=C, lexer_filetype=C, [keywords], primary, secondary)
and doccomments
There are more, but they are used for passing semantic information like list of typenames from tags files and parsed open sources, so they can't be defined manually.
Cheers Lex
Péter
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Lex Trotman:
Is there only 2 groups of keywords? In C-like files. [] primary, secondary
There are more, but they are used for passing semantic information like list of typenames from tags files and parsed open sources, so they can't be defined manually.
So, in filetypes.common, only 2 "keyword*=" color-definition can be used? (Which two?) (What are the others for?)
keyword=0x00007f;;true;false keyword_1=keyword keyword_2=0x991111;;true;false keyword_3=keyword_1 keyword_4=keyword_1
On 13 April 2015 at 21:32, Péter e2qb2a44f@prolan-power.hu wrote:
Lex Trotman:
Is there only 2 groups of keywords? In C-like files. [] primary, secondary
There are more, but they are used for passing semantic information like list of typenames from tags files and parsed open sources, so they can't be defined manually.
So, in filetypes.common, only 2 "keyword*=" color-definition can be used? (Which two?) (What are the others for?)
Remember whats in common is usually a superset of all languages.
For C AFAICT primary is the list in filetypes.c, secondary is the list in filetypes.c (normally empty) and the symbols defined in the global tags files loaded, doccomment is doccomments and keyword 3 is symbols parsed from the current file. The lexer seems to have two more which we don't use, one is called ppdefinitions, so maybe it sets values or definitions for pp symbols using that, and one called marker list?
You could look at scintilla/lexcpp.cxx to see what it does with them, but I doubt they will be freely available. BTW scintilla is a separate project, we just use it and its not overdocumented hence the limited local knowledge.
Cheers Lex
keyword=0x00007f;;true;false keyword_1=keyword keyword_2=0x991111;;true;false keyword_3=keyword_1 keyword_4=keyword_1
--
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Hi,
an assembler-like compiler produces such error:
...mkl2mkp-0.30.exe -i timelapse_ctrl.mkl MKP file timelapse_ctrl.mkl timelapse_ctrl.mkl: 64: Error E011 The value of symbolic reference is not defined: SPLASH_ MSG_2_3 First page: 0 Length (pages): 2
But Geany catches just following:
...\mkl2mkp-0.30.exe -i "timelapse_ctrl.mkl" (in directory: C:\Temp) Compilation failed.
Is it possible to do something?
Br,
Vitali
Sent from Windows Mail
There is currently work under way to totally replace the may commands are run on windows which will hopefully help.
Cheers Lex
On 26 April 2015 at 05:37, vitali.s@elisanet.fi wrote:
Hi,
an assembler-like compiler produces such error: ...mkl2mkp-0.30.exe -i timelapse_ctrl.mkl MKP file timelapse_ctrl.mkl timelapse_ctrl.mkl: 64: Error E011 The value of symbolic reference is not defined: SPLASH_ MSG_2_3 First page: 0 Length (pages): 2
But Geany catches just following:
...\mkl2mkp-0.30.exe -i "timelapse_ctrl.mkl" (in directory: C:\Temp) Compilation failed.
Is it possible to do something?
Br, Vitali
Sent from Windows Mail
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users