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 258737

Summary: XML formatter only works on small pieces of XML in OS X
Product: xml Reporter: primeq <primeq>
Component: Text-EditAssignee: Svata Dedic <sdedic>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description primeq 2016-04-08 19:58:16 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Mac OS X version 10.11.3 running on x86_64
Java; VM; Vendor = 1.8.0_66
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.66-b17

Reproducibility: Happens every time

STEPS:
 * open nontrivial XML file
 * mess up the formatting
 * press Ctrl-Shift-F (^ <uparrow> F is how the shortcut menu shows it)
 ** alternatively, right click and select "Format XML")

ACTUAL:
 * nothing happens
 * the only way to get any XML-formatting action is to manually highlight parts of the XML
 * if I highlight all of the document, it still doesn't format anything

It ***appears*** to be related to presence of XML comments

EXPECTED:
 * XML should be formatted
Comment 1 primeq 2016-04-08 19:58:22 UTC
Created attachment 159174 [details]
IDE log
Comment 2 Svata Dedic 2017-03-14 09:37:07 UTC
Most probably duplicate of 269073

*** This bug has been marked as a duplicate of bug 269073 ***