Hi,
For professional needs, I'm using Geany for coding in COBOL. The filetype is pretty basic and I try to improve it by adding a secondary keywords declaration line and missing keywords.
But I have 2 issues : when I type only the character 'V' in a source I have the color of the numbers on it and all the keywords starting with V are not highlighted (like VALUE or VARYING). I think maybe 'V' is considered a roman numeral (although I don't have the same problems with 'I' or 'X').
Is anybody has an idea of the problem ?
Thank you in advance !
Best regards, Franck
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/930
On 3 March 2016 at 19:44, Franck Albaret notifications@github.com wrote:
Hi,
For professional needs, I'm using Geany for coding in COBOL. The filetype is pretty basic and I try to improve it by adding a secondary keywords declaration line and missing keywords.
But I have 2 issues : when I type only the character 'V' in a source I have the color of the numbers on it and all the keywords starting with V are not highlighted (like VALUE or VARYING). I think maybe 'V' is considered a roman numeral (although I don't have the same problems with 'I' or 'X').
No, its part of a number, see https://github.com/geany/geany/blob/master/scintilla/lexers/LexCOBOL.cxx#L98 and L102
Some googling seems to show that v can be used instead of a decimal point in cobol numbers Don't know what your solution is.
Is anybody has an idea of the problem ?
Thank you in advance !
Best regards, Franck
— Reply to this email directly or view it on GitHub https://github.com/geany/geany/issues/930.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/930#issuecomment-191691873
Yes, V is use to declare the separation with decimals.
Thank you for this first link, I take a look
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/930#issuecomment-191693328
github-comments@lists.geany.org