Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#392 line lenght not tested correctly on double comment on line

release_4.0
closed
5
2012-10-10
2005-12-06
scoutice
No

if line ends with //$NON-NLS-1$ //$NON-NLS-2$ the line
length is reported more
than 140 characters, even it is definitely not.

seems to report about 5-10 characters too much.

greetings, thomas

Discussion

  • Logged In: YES
    user_id=746148

    I have tried to reproduce the problem and was unable :(
    Could you, please, provide the file which will illustrate it.
    And (optionaly) config file you use.

    Thanks in advance.

     
  • scoutice
    scoutice
    2005-12-06

    Logged In: YES
    user_id=1276447

    i attached my settings and a screenshot. as you can notice,
    this also happens with only one comment //$NON-NLS-1$ in
    this case.

    greetings, thomas

     
  • Logged In: YES
    user_id=1238882

    Are you using tabs to indent your code?
    Maybe the tabWidth setting on the TreeWalker module does
    not match you tab setting (default tabWidth on TreeWalker
    is 8).

    Regards,
    Lars Ködderitzsch

     
  • scoutice
    scoutice
    2005-12-06

    Settings and Screenshot

     
    Attachments
  • scoutice
    scoutice
    2005-12-06

    Logged In: YES
    user_id=1276447

    forgot to add the attachment. i'll check the thing with the
    tabWidth (i use taby, yes)

     
  • scoutice
    scoutice
    2005-12-06

    Logged In: YES
    user_id=1276447

    seems, that really i had a configuration problem. thanks for
    fast your assistance!

     
  • Logged In: YES
    user_id=746148

    As far as I understand the problem was resolved.
    So I'm closing the bug.
    If the problem is not the configuration than please reopen it.