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 11003 - Bad indentation of method body after adding code line into it.
Summary: Bad indentation of method body after adding code line into it.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-03 16:52 UTC by Karel Gardas
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Archive of test example (1.56 KB, application/octet-stream)
2001-07-20 20:49 UTC, Karel Gardas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karel Gardas 2001-04-03 16:52:44 UTC
Please try provided test
Comment 1 Karel Gardas 2001-04-03 16:54:56 UTC
Created attachment 980 [details]
Archive of test example
Comment 2 David Konecny 2001-04-04 08:00:24 UTC
What should be in attachement? In which format is the file? When I donwloaded 
it I got some binary file.
Comment 3 Karel Gardas 2001-04-04 08:06:22 UTC
This is bug.tar.gz file. If you have UNIX please uncompres it with tar -xzvf
<file>. If you have windows please use recent version of WinZip.

Note: If you have UNIX you can use program 'file' for determining MIME-type of file.
Comment 4 David Konecny 2001-04-04 10:21:45 UTC
It seems to me that MethodElement.setBody does not call Editor's formatting. Can 
somebody from Java module please check if I'm right or not?
Comment 5 Svata Dedic 2001-04-04 13:47:30 UTC
Shame on me - you are right :-( Adding a new body works OK, adding a method
works, but changing existing body does not.
Comment 6 Svata Dedic 2001-04-04 13:51:30 UTC
Fixed in dev & release 3.2, try in the next build.
Comment 7 Jan Becicka 2001-05-03 11:05:57 UTC
[010502_1] Verified
Comment 8 Jan Chalupa 2001-05-05 23:25:07 UTC
Target milestone -> 3.2
Comment 9 Quality Engineering 2003-07-01 13:19:53 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.