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 195109 - Option Windows: Editor Help Unclear
Summary: Option Windows: Editor Help Unclear
Status: RESOLVED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P4 normal (vote)
Assignee: Kenneth Ganfield
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-06 23:38 UTC by Excels
Modified: 2011-05-11 19:39 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Excels 2011-02-06 23:38:19 UTC
Quoted from the help:

Expand Tabs to Spaces. When selected, inserts spaces when the Tab key is typed.  When unselected, typing the Tab key inserts the tab character (\t) into the file if possible. It also replaces preceding spaces with the tab character if possible. The Source Editor calculates where to place tab characters based on the value of the Tab Size property.
If Expand Tabs to Spaces is unselected and the Number of Spaces per Tab is different than the Tab Size property, the indentation created by typing the Tab key is made up of a combination of spaces and tab characters. It is easiest to predict the location of tab characters if you set Number of Spaces per Tab to an even multiple or divisor of Tab Size.


However, I can't actually find the option "Number of Spaces per Tab".  Perhaps "Number of Spaces per Indent"?

Also, just as an informal question, is anyone else having issues where even with "Expand Tabs to Spaces" unchecked, unwanted spaces still showing up?
Comment 1 Kenneth Ganfield 2011-05-10 10:23:31 UTC
Fixed typo in help topic. Spaces per Tab should be Spaces per Indent.

http://hg.netbeans.org/main/rev/ecb15da1b253

Regarding the unwanted spaces, I have not noticed this behavior.
The submitter should file a new issue if there is an example of the behavior that can be reproduced.
Comment 2 Kenneth Ganfield 2011-05-11 12:33:21 UTC
marking as fixed. confirmed in recent build
Comment 3 Quality Engineering 2011-05-11 19:39:48 UTC
Integrated into 'main-golden', will be available in build *201105111436* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ecb15da1b253
User: kganfield <kganfield@netbeans.org>
Log: #195109, Fix typo in help topic