Menu

#531 FIX: missing cpp doxygen param keyword attributes

Cosmetic
open
SciTE (658)
2
2007-02-14
2007-02-13
No

The 'keyword3' properties section lists Doxygen keywords to be highlighted.

Unfortunately it does not cater for the
param[in]
param[out]
param[in,out]
variants, which are shown in the Error colour (red-brown).

However, adding the above three extra keywords (param[...]) to the list solves the issue - as long as there are no embedded spaces !

Discussion

  • Mike Whittaker

    Mike Whittaker - 2007-02-13

    Logged In: YES
    user_id=323126
    Originator: YES

    Ooops - it doesn't fix [in,out] - that is still shown as an error, presumably because the comma complicates things.

    Any ideas ?!

     
  • Neil Hodgson

    Neil Hodgson - 2007-02-13
    • priority: 5 --> 3
    • assigned_to: nobody --> nyamatongwe
     
  • Neil Hodgson

    Neil Hodgson - 2007-02-14

    Logged In: YES
    user_id=12579
    Originator: NO

    I have added param[in] and param[out] to cpp.properties. You could look at changing the C++ lexer (in scintilla/src/LexCPP.cxx) to handle commas or commas within brackets.

     
  • Neil Hodgson

    Neil Hodgson - 2007-02-14
    • priority: 3 --> 2
     
  • Mike Whittaker

    Mike Whittaker - 2007-02-14

    Logged In: YES
    user_id=323126
    Originator: YES

    Maybe just need a way of escaping the comma within the keyword pattern, so it gets matched literally ...

     

Log in to post a comment.