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 116235 - erb indenting problem -
Summary: erb indenting problem -
Status: RESOLVED DUPLICATE of bug 116231
Alias: None
Product: ruby
Classification: Unclassified
Component: RHTML (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-21 01:45 UTC by jamespb
Modified: 2007-09-21 01:53 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 jamespb 2007-09-21 01:45:27 UTC
Given this code, I'd expect the nprog.value line to be indented one level past the <span> element it's in.  Reformatting
(ctrl-shift-F) does nothing though:


<% nprog = @compared_suite.n_diff_counts_for :test_suite => test_suite, :tree_diff => tree_diff, :compare_type =>
compare_type %>
<td id="<%= nprog.cell_identifier %>" align="center" valign="top" class="<%= nprog.cell_class %>">
    <span id="<%= nprog.span_identifier %>">
<%= nprog.value %>
    </span>
</td>
Comment 1 Torbjorn Norbye 2007-09-21 01:53:56 UTC
Hi James, 

RHTML indentation is completely broken at the moment due to some changes in the HTML formatter that affects the RHTML
formatter.  

This is tracked now by issue 116231. It's a P1 so I'm hoping it will be addressed quickly.

(By the way I've put up a blinking red warning on the continuous build page yesterday to warn about this - I hope you
have an older build hanging around that you can revert to at least when you need RHTML indentation.)

*** This issue has been marked as a duplicate of 116231 ***