[go: up one dir, main page]

Menu

#135 JavaDoc coloring error

colorer-take5
closed-fixed
HRC codes (39)
5
2008-01-21
2008-01-09
No

Version:

FarColorer-take5.be5.zip

The simplest error case:

class a{
/*****/
void a(){};
}

The comment doesn't stop at */ - the function declaration is also shown as inside comment (gray color).

In contrast, the following two cases are parsed normally (add a space or remove one asterisk):

class a{
/*** **/
void a(){};
}

class a{
/****/
void a(){};
}

Discussion

  • Igor Russkih

    Igor Russkih - 2008-01-11

    Logged In: YES
    user_id=313042
    Originator: NO

    Please attach the problem file itself.

    I can't reproduce this (assume that you meant .java source code)

     
  • Igor Russkih

    Igor Russkih - 2008-01-11
    • assigned_to: nobody --> lomecb
    • status: open --> open-invalid
     
  • Alexander Stolyarov

    Source file with error

     
  • Alexander Stolyarov

    Logged In: YES
    user_id=751323
    Originator: YES

    File Added: a.java

     
  • Alexander Stolyarov

    Logged In: YES
    user_id=751323
    Originator: YES

    I've attached source file (file contents is exactly the same as in error description) and screenshot with error.

    BTW, it reproduces on both my work and home PCs.

    On home PC I have fresh installation - "The FAR manager, version 1.70 (build 2087)" and Colorer latest version from SF. Defaulf settings for everything in far.
    File Added: coloring-err.PNG

     
  • Igor Russkih

    Igor Russkih - 2008-01-21
    • status: open-invalid --> closed-fixed
     
  • Igor Russkih

    Igor Russkih - 2008-01-21

    Logged In: YES
    user_id=313042
    Originator: NO

    Thanks,

    Fixed in
    revision 1006.

    Index: java.hrc

    --- java.hrc (revision 1005)
    +++ java.hrc (working copy)
    @@ -112,7 +112,7 @@
    </inherit>
    -->
    <inherit scheme="NetAddresses"/>
    - <regexp match="/~\*{3,}/"/>
    + <regexp match="/~\*{3,}/" priority="low"/>
    <keywords region="CommentContent">
    <symb name="*"/><symb name=","/>
    <symb name=":"/><symb name=";"/>

     

Log in to post a comment.