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 39846 - Set Tab Size failed in source edit options.
Summary: Set Tab Size failed in source edit options.
Status: VERIFIED DUPLICATE of bug 39796
Alias: None
Product: platform
Classification: Unclassified
Component: Property Editors (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 02:53 UTC by tincle
Modified: 2008-12-22 23:10 UTC (History)
0 users

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 tincle 2004-02-10 02:53:38 UTC
In source editor, the default tab size is 8. I 
want to set in to 4, and I do it by edit 
property at Menu->Tools->Options->Editing->Java 
Editor->properties->Tab Size, but it doesn't 
effect. If it is a bug or I do a wrong way?
It also happens in change property of Editing-
>Indentation Engines->Java Indentation Engines-
>Number of Space per Tab.
Comment 1 Miloslav Metelka 2004-02-10 16:41:05 UTC
Changing Menu->Tools->Options->Editing->Java Editor->properties->Tab
Size will affect the real '\t' characters in the text.
Editing->Indentation Engines->Java Indentation Engines-
>Number of Space per Tab affects the indentation level size i.e. the
TAB character will move caret by the given amount of spaces.
Please note that the changes in the variables above do not change data
of the document. Unless there are any '\t' characters present in the
source there won't be any change visible. To physically reformat the
file according to the new settings Popup->Reformat Code action can be
used.
Is this still a problem then?
Comment 2 tincle 2004-02-11 02:26:37 UTC
Sorry! I mean that I can't change the "Tab Size' value in this way. 
If I change the value to 4, and move the focus to other field, the 
value turns to 8 itself. It seems that the field is not editable.
Comment 3 Miloslav Metelka 2004-02-11 13:01:29 UTC
I see. You need to press Enter right after you type the new value. I
also find this inconvenient so transferrign to core for further
evaluation.
Comment 4 _ tboudreau 2004-02-11 14:21:45 UTC
FYI, we are considering changing the property sheet behavior to be commit-on-focus loss, 
but this is a significant change and even if we decide to it will not be doable for 3.6.

*** This issue has been marked as a duplicate of 39796 ***
Comment 5 Marian Mirilovic 2004-03-19 14:22:43 UTC
verified duplicate