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.
This bug was originally marked as duplicate of bug 259061, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201605040002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27 OS: Windows 10 User Comments: JohannesU: tried to realign a line containing a // comment using tabs (which expand to spaces). sidtj: Indenting the code, just after tab key be pressed, inside a @foreach in a blade php file. BlameFate: Encountering lots of these problems while trying to indent/remove indentation in PHP source. GUEST: Tried to indent a comment on a source file with errors/broken imports. GUEST: Press TAB key at any where within Java source editor or HTML editor, then got this error; while a tab is inserted instead of 4 whitespaces. GUEST: BUG STILL HERE IN LAST NIGHTLY (201605040002) GUEST: Tabing over closing div tag Stacktrace: java.lang.AssertionError: Unsupported removeType=RETAIN_LAST_CARET in nested transaction at org.netbeans.api.editor.caret.EditorCaret.runTransaction(EditorCaret.java:1600) at org.netbeans.api.editor.caret.EditorCaret.setDot(EditorCaret.java:561) at org.netbeans.api.editor.caret.EditorCaret.setDot(EditorCaret.java:533) at org.netbeans.api.editor.caret.EditorCaret$ListenerImpl.implicitSetDot(EditorCaret.java:2540) at org.netbeans.api.editor.caret.EditorCaret$ListenerImpl.modifiedUpdate(EditorCaret.java:2526) at org.netbeans.api.editor.caret.EditorCaret$ListenerImpl.insertUpdate(EditorCaret.java:2471)
Created attachment 159532 [details] stacktrace