XML editing broken 3311

XML editing seems to have gone a step back in 3311.

For example, do the following:
Create a new XML file.
Write and press Enter. Result: |a>]]>

| denotes cursor position.

Now put the cursor in the empty line.
Press End.
Cursor goes to column 8 instead of 4 (I have tabs turned on).

You also get an exception (I submitted that through IJ):
Assertion failed
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:72)
at
com.intellij.openapi.editor.ex.util.EditorUtil.calcColumnNumber(EditorUtil.java:90)
at
com.intellij.codeInsight.editorActions.EndHandler$1.run(EndHandler.java:2)
at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:150)
at
com.intellij.codeInsight.editorActions.EndHandler.execute(EndHandler.java:12)
at
com.intellij.codeInsight.lookup.impl.EndHandler.execute(EndHandler.java:5)
at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:40)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:91)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:58)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:46)
at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:31)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:9)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:14)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:1)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:113)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:119)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

I can enter a JIRA issue if you (JetBrains) wish.

Regards,
Amnon

1 comment
Comment actions Permalink

Yeah, XML editing seems to be totally hosed :(

0

Please sign in to leave a comment.