Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#856 Lexer update for LexVB and LexFSharp

Completed
closed
Neil Hodgson
Scintilla (356)
5
2012-06-02
2011-09-06
Zufu Liu
No

many thanks.

by the way, if LexVB used for other language, the large block code in
} else if (sc.ch == '#' && visibleChars == 0) {
}
may need to be removed or changed

Discussion

  • Zufu Liu
    Zufu Liu
    2011-09-06

    LexVB.cxx LexFSharp.cxx

     
    Attachments
  • Neil Hodgson
    Neil Hodgson
    2011-09-08

    • assigned_to: nobody --> nyamatongwe
     
  • Neil Hodgson
    Neil Hodgson
    2011-09-08

    There are still problems with non-ASCII characters. For example, start a line with #indentÀ and Visual C++ pops up an assertion box. This is why lexers often avoid ctype functions and use their own equivalents like IsAWordChar in the VB lexer. The CharacterSet class may be useful in some cases.

     
  • Zufu Liu
    Zufu Liu
    2011-09-08

    Indeed.
    I made a wrong assumption, that all Non-ASCII characters only appear in string or comment

     
  • Neil Hodgson
    Neil Hodgson
    2012-06-02

    • status: open --> closed