Geany 2.0 on Linux Mint 22
On editing Tools>Configuration Files>Filetype Configuration>Scripting Languages>Filetypes.forth And reloading config ...
No changes to the comments section is [settings] are applied. Changes to the [keywords] section are applied.
There appears to be a bug.
Using the latest version from master but e.g. setting `comment_single=#` for forth seems to work. What exactly are you doing?
Hello and thank you for your message,
In an ideal world I would need both ( ) and (( )) to be highlighted as multi line comments in forth.
The documentation is not clear if it is possible to have 2 x multi line comment "words" so I was trying to get Geany to just recognise (( )) ... but no matter what I do it will not colourise (( )) as a multi line comment.
The code is always colourised the same with ( ) being colourised correctly but (( )) not being colourised even with the modified filetypes.forth telling Geany to colourise (( )).
Interestingly if I add a keyword a little further up filetypes.forth and reload, that keyword is colourized perfectly so the modified config is being read.
Kind Regards
Dave Selby
On Sat, 23 Nov 2024 at 18:02, Jiří Techet ***@***.***> wrote:
Using the latest version from master but e.g. setting comment_single=# for forth seems to work. What exactly are you doing?
— Reply to this email directly, view it on GitHub https://github.com/geany/geany/issues/4068#issuecomment-2495562204, or unsubscribe https://github.com/notifications/unsubscribe-auth/A75VTHDDSTLIQPWZPM3KHGD2CC7NFAVCNFSM6AAAAABSLGMEVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGU3DEMRQGQ . You are receiving this because you authored the thread.Message ID: ***@***.***>
Apologies...
Just realised I should have sent you a screenshot of the comments over multi lines 🤣 but the same applies as in the screenshot I did send.
(()) Is a useful debug feature which allows you to comment out multiple words including words with ( ) stack comments.
Kind Regards
Dave Selby (Engineer 784)
On Sat, 23 Nov 2024, 19:25 dave selby, ***@***.***> wrote:
Hello and thank you for your message,
In an ideal world I would need both ( ) and (( )) to be highlighted as multi line comments in forth.
The documentation is not clear if it is possible to have 2 x multi line comment "words" so I was trying to get Geany to just recognise (( )) ... but no matter what I do it will not colourise (( )) as a multi line comment.
The code is always colourised the same with ( ) being colourised correctly but (( )) not being colourised even with the modified filetypes.forth telling Geany to colourise (( )).
Interestingly if I add a keyword a little further up filetypes.forth and reload, that keyword is colourized perfectly so the modified config is being read.
Kind Regards
Dave Selby
On Sat, 23 Nov 2024 at 18:02, Jiří Techet ***@***.***> wrote:
Using the latest version from master but e.g. setting comment_single=# for forth seems to work. What exactly are you doing?
— Reply to this email directly, view it on GitHub https://github.com/geany/geany/issues/4068#issuecomment-2495562204, or unsubscribe https://github.com/notifications/unsubscribe-auth/A75VTHDDSTLIQPWZPM3KHGD2CC7NFAVCNFSM6AAAAABSLGMEVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGU3DEMRQGQ . You are receiving this because you authored the thread.Message ID: ***@***.***>
OK, these settings don't control styling but what Edit->Command->Comment... uses as the comment character.
If the styling is incorrect, the bug should be reported to https://github.com/ScintillaOrg/lexilla which Geany uses.
Ah OK, thank you
I will have a look at Scintilla
Kind Regards
Dave Selby
On Sat, 23 Nov 2024 at 20:09, Jiří Techet ***@***.***> wrote:
OK, these settings don't control styling but what Edit->Command->Comment... uses as the comment character.
If the styling is incorrect, the bug should be reported to https://github.com/ScintillaOrg/lexilla which Geany uses.
— Reply to this email directly, view it on GitHub https://github.com/geany/geany/issues/4068#issuecomment-2495640895, or unsubscribe https://github.com/notifications/unsubscribe-auth/A75VTHD6TQXBRHITMAIELWD2CDOHHAVCNFSM6AAAAABSLGMEVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGY2DAOBZGU . You are receiving this because you authored the thread.Message ID: ***@***.***>
Closed #4068 as completed.
github-comments@lists.geany.org