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 138834 - Tabs are expanded in spaces in makefile
Summary: Tabs are expanded in spaces in makefile
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-07-02 16:34 UTC by avp
Modified: 2008-07-20 10:35 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 avp 2008-07-02 16:34:44 UTC
When in editor options (Tools-Options-Editor-Indention-Expand Tabs to Spaces) is on in makefile this option must be ignored.
Comment 1 Alexander Simon 2008-07-02 17:58:40 UTC
see also IZ#134766
Comment 2 Alexander Simon 2008-07-03 08:20:17 UTC
This is regression after fix:
http://hg.netbeans.org/main/rev/a9037c382b1f
File:
editor.indent/src/org/netbeans/modules/editor/indent/FormatterImpl.java
Change:
 public boolean expandTabs() {
- return defaultFormatter.expandTabs();
+ return IndentUtils.isExpandTabs(doc);
} 
Comment 3 Jan Becicka 2008-07-14 12:32:21 UTC
Vita's change...
Comment 4 Vitezslav Stejskal 2008-07-20 10:35:57 UTC
Should work better now - http://hg.netbeans.org/main/rev/dff585c38852