void () { init("", PlainTextFileType.INSTANCE); ((EditorEx)getEditor()).setPrefixTextAndAttributes("prefix", new TextAttributes()); type("first"); type("\n"); type("\tsecond"); // Expected that no exception is thrown here }