This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 79826 - docPane: extra new lines are added after text formatting
Summary: docPane: extra new lines are added after text formatting
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Yang Su
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-06 14:37 UTC by bugbridge
Modified: 2007-08-07 08:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-07-06 14:37:43 UTC
New lines are added in documentation panel after any test formatting 
using UML Documentation toolbar.

How to reproduce:
- create empty uml project.
- add class element to Model using 'Add | Element' menu.
- open Uml Documentation panel if it is not opened. 
  Use 'Window | UML Modeling | UML Documentation' command from main menu.
- select uml class node in projects tab.

- type 'test comment' in UML Documentation panel and press Enter.
- click on class node to save changes and return to doc panel.
- select phrase and make it bold. 
- Then save changes by clicking on class node in project tree.
- return to doc panel 
BUG: extra newline has appeared in the bottom of doc.

Any new formatting changes followed by clicking on uml area otside the doc panel
(class node un uml project tree ) will add extra line.

If uml project is connected to java project, 
unexpected extra lines in javadoc are important.
Comment 1 Andrew Korostelev 2006-08-11 17:51:55 UTC
verified in nb55 beta enpack m17.
behaviour is changed.
now extra newlines are adde to the beginning of the document, but not to the end.
Comment 2 Andrew Korostelev 2006-08-11 17:53:03 UTC

*** This issue has been marked as a duplicate of 76442 ***
Comment 3 Andrew Korostelev 2006-10-04 16:13:37 UTC
It looks that this bug is actually not a duplicate of issue 76442.
issue 76442 is marked as fixed, but this is still reproducible.
Comment 4 Andrew Korostelev 2006-10-04 16:23:43 UTC
reverified bug in ide-coke_uml-061004.
bug is still reproducible.
extra lines are added between <p ...> and </p> tags (you can see it in
Documentation property of class node).
Comment 5 Yang Su 2007-07-30 18:18:25 UTC
fixed with new implementation of doc editor
Comment 6 Peter Lam 2007-08-07 08:06:41 UTC
verified in build 20070807-b2306.