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 162571 - HTML end tag reindent doesn't work
Summary: HTML end tag reindent doesn't work
Status: VERIFIED DUPLICATE of bug 162565
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Miloslav Metelka
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2009-04-14 11:36 UTC by Jindrich Sedek
Modified: 2009-05-18 10:47 UTC (History)
3 users (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 Jindrich Sedek 2009-04-14 11:36:29 UTC
press ending ">" at this sample code at position of "|" -> table end tag should be reindented according to table startag
----------------
<table>
    </table|
----------------

Seems that tests has failed on Sunday for the first time
Comment 1 David Konecny 2009-04-15 00:20:33 UTC
Mila, this regression was caused (I think) by your fix of issue 150875 (integration date matches first failure of our
unit tests). The problem is that HtmlKit$HtmlDefaultKeyTypedAction (and consequently HtmlKeystrokeHandler) stopped being
called. A thread dump from week or two old build looked like:

at org.netbeans.modules.html.editor.gsf.HtmlKeystrokeHandler.afterCharInserted(HtmlKeystrokeHandler.java:82)
at org.netbeans.modules.html.editor.HtmlKit$HtmlDefaultKeyTypedAction.insertString(HtmlKit.java:281)
at org.netbeans.editor.BaseKit$DefaultKeyTypedAction$1.run(BaseKit.java:1113)
at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:354)
at org.netbeans.editor.BaseKit$DefaultKeyTypedAction.actionPerformed(BaseKit.java:1084)
at org.netbeans.editor.ext.ExtKit$ExtDefaultKeyTypedAction.actionPerformed(ExtKit.java:1016)
at org.netbeans.modules.html.editor.HtmlKit$HtmlDefaultKeyTypedAction.actionPerformed(HtmlKit.java:252)
at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:297)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)

in lastest build it is just:

at org.netbeans.editor.BaseKit$DefaultKeyTypedAction.actionPerformed(BaseKit.java:974)
at org.netbeans.editor.ext.ExtKit$ExtDefaultKeyTypedAction.actionPerformed(ExtKit.java:1033)
at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:325)
at org.openide.awt.AlwaysEnabledAction.actionPerformed(AlwaysEnabledAction.java:118)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)

Is there something what needs to be fixed on our side?
Comment 2 Miloslav Metelka 2009-04-15 14:38:59 UTC
This should be fixed as part of issue 162565.

*** This issue has been marked as a duplicate of 162565 ***
Comment 3 Jindrich Sedek 2009-04-24 15:57:36 UTC
v.