Scintilla is used by Geany as the backend for syntax processing. To support multiline comments in the FreeBASIC programming language TJF from the FreeBASIC forums made some changes to the source of Geany AND Scintilla (in the Geany source tree). The changes are mainly in the LexBasic.cxx file. Geany suggests to get the changes upstream in Scintilla first. So I applied his changes to the mercurial tree and made a patch.
Thanks in advance.
This appears to be based on a release from a couple of years ago rather than current Scintilla. Patches should be for current Scintilla unless there are particular reasons for dropping those changes. Specifically missing
https://sourceforge.net/p/scintilla/code/ci/8156d1e9e74b085cb2070573fa4846be28e0e8c0/#diff-1
https://sourceforge.net/p/scintilla/code/ci/be084c2852e09e9491ad14f33bc0d15edd68d92b/#diff-5
Indentation whitespace is different to surrounding code (tabs) making it appear indented strangely.
Changes do not need to be marked when delivering a patch so drop the // TJF start/end.
The comments haven't been updated for the new IsLetter bit mask.
Changes are made to the blitzbasic and purebasic modes. For example Blitz Basic dot labels are no longer recognized.
http://www.blitzbasic.com/bpdocs/command.php?name=Goto&ref=2d_cat
Thanks Neil,
for checking the ticket that fast.
And sorry, I'm not keen on using version control systems, so I'm not able to generate a patch file jet.
Instead I attach a new version of the complete file 'scintilla/lexers/LexBasic.cxx'. It's
and additional
Hope you can handle the source file as good as a patch.
Thanks in advance.
I'll look at this after 3.3.6 is released.
Committed as [3508c0].
Related
Commit: [3508c0]
Thanks Neil and TJF.