#1023 Improvements to LexBasic for the FreeBASIC language


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.

1 Attachments


  • TJF

    TJF - 2013-10-10

    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

    • based on the current source
    • indentation with tabs only
    • no TJF comments
    • updated comment 'IsLetter' bit mask
    • BlitzBasic dot labels recognized (but not for FB)

    and additional

    • improved highlighting (doc keywords in single line comments)

    Hope you can handle the source file as good as a patch.

    Thanks in advance.

    • Neil Hodgson

      Neil Hodgson - 2013-10-10

      I'll look at this after 3.3.6 is released.

  • Neil Hodgson

    Neil Hodgson - 2013-10-16
    • labels: --> scintilla, lexer, basic
    • status: open --> accepted
    • assigned_to: Neil Hodgson
  • Erik

    Erik - 2013-10-17

    Thanks Neil and TJF.

  • Neil Hodgson

    Neil Hodgson - 2013-11-11
    • Group: Completed --> Committed
  • Neil Hodgson

    Neil Hodgson - 2013-12-12
    • status: accepted --> closed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks