Menu

#359 cpp-lexer don't higlight html comands in comentlines

Initial
open
3
2022-04-09
2006-08-14
klaus
No

The orginal cpp-lexer don't higlight html comands in the
commentline. only the doxygen commands are higlight.
I have now the code extended to highligth the
html-command to.
Please integrate it in the orginal code!
Thanks.

(the html keywords are in the keywords5 lists.)

Discussion

  • klaus

    klaus - 2006-08-14
     
  • Neil Hodgson

    Neil Hodgson - 2006-08-15
    • labels: --> Scintilla
    • priority: 5 --> 3
    • assigned_to: nobody --> nyamatongwe
     
  • Neil Hodgson

    Neil Hodgson - 2006-08-17

    Logged In: YES
    user_id=12579

    Looks like the new styles SCE_C_COMMENTDOCKEYOTHERS,
    SCE_C_COMMENTDOCKEYSTRING, and SCE_C_COMMENTDOCKEYVALUE are
    not meant for display but only for keeping record for
    eventual conversion to SCE_C_COMMENTDOCKEYWORD or
    SCE_C_COMMENTDOCKEYWORDERROR and don't need to continue over
    line ends so shouldn't be separate styles but instead local
    variables.
    An unterminated string value may (or may *not*, depending on
    lexing range) result in a style that does not terminate at
    the end of the doc comment. I don't think this is a serious
    enough error to leak beyond the end of comment or end of
    line. This is why the unterminated string style is limited
    in scope.
    The call isxdigit is unsafe on non-ASCII values so should be
    protected with isascii or <0x80 or similar.
    Tests are made against '\n' which will not perform correctly
    on old-style Mac files which use '\r' line ends.
    LexCPP.cxx was recently changed to use a new SetOfCharacters
    type instead of some of the character testing functions and
    this makes for a larger set of differences to reconcile when
    merging the code. The new code can be found in CVS or
    http://scintilla.sourceforge.net/scite.zip

     
  • Zufu Liu

    Zufu Liu - 2022-04-09
    • labels: Scintilla --> Scintilla, lexilla, cpp
    • Group: --> Initial
     

Log in to post a comment.