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.
Summary: | "Expand Tabs to Spaces" option is impossible to disable | ||
---|---|---|---|
Product: | editor | Reporter: | pfelenda <pfelenda> |
Component: | -- Other -- | Assignee: | issues@editor <issues> |
Status: | VERIFIED INVALID | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | -S1S- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
pfelenda
2003-05-19 15:01:21 UTC
It works in a different way than you think. Typing TAB in the line indentation area virtually always inserts amount of spaces given by "Number of spaces per tab". If the "expand tabs to spaces" is false then the indentation (let's assume indent-column is 20) is composed by true '\t' characters for (indent-column / "tab size option") i.e. 20 / 8 = 2 so there will be 2 '\t' characters inserted. The rest i.e. 20 % 8 = 4 will be left as spaces i.e. after two '\t' characters there will be 4 spaces. Ok, it works correctly. ->Verified |