void () { myFixture.configureByText(HtmlFileType.INSTANCE, "<a href=\"\">\n\t<b></b>\n\t\n</a><caret>"); final Editor editor = myFixture.getEditor(); assertCarets(editor, editor.getDocument().getTextLength()); moveBackward(editor, 22); // Moved caret into empty line moveBackward(editor, 16); // Moved caret into <b> tag moveBackward(editor, 9); // Moved caret into empty attribute moveBackward(editor, 9); // No movement }