[SrcML] [ srcml-Bugs-1372850 ] line numbers wrong for javadoc
Status: Beta
Brought to you by:
crashchaos
From: SourceForge.net <no...@so...> - 2006-02-02 21:05:17
|
Bugs item #1372850, was opened at 2005-12-04 15:15 Message generated for change (Comment added) made by crashchaos You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=641278&aid=1372850&group_id=105448 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: View Group: None >Status: Closed >Resolution: Wont Fix Priority: 6 Submitted By: Raiser Frank (crashchaos) Assigned to: Leif Bladt (iknowjack) Summary: line numbers wrong for javadoc Initial Comment: When linenumbers:true is set for the ViewJava plugin there is an error in the numbering of lines for multi-line comments looking like this: .. 10: something(); 11: /** * this is a javadoc * comment spanning * multiple lines */ 12: something_else(); Possible solution: don't output the multiline comments as one string, but split them at newlines and force output of the corresponding newlines. ---------------------------------------------------------------------- >Comment By: Raiser Frank (crashchaos) Date: 2006-02-02 22:05 Message: Logged In: YES user_id=298908 0.2 branch no longer supported. closing this bug. ---------------------------------------------------------------------- Comment By: Raiser Frank (crashchaos) Date: 2005-12-07 15:50 Message: Logged In: YES user_id=298908 Another related problem is the displaying of the line numbers themselves. Whenever a new digit is needed to display a larger line number this leads to new lines being indented differently: 9: something(); 10: something(); instead of 9: something(); 10: something(); As we don't have a means of finding out the number of lines the view will create we'll have to either stick with right-aligning the numbers at a fixed size, or for a more correct result do the line numbering in a second pass, once we know how long the resulting document is. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=641278&aid=1372850&group_id=105448 |