void () { boolean savedOption = EditorSettingsExternalizable.getInstance().isCamelWords(); try { EditorSettingsExternalizable.getInstance().setCamelWords(true); initText("AbcDefGhi"); EditorTestUtil.setEditorVisibleSize(getEditor(), 100, 100); getEditor().getSettings().setMouseClickSelectionHonorsCamelWords(false); mouse().doubleClickNoReleaseAt(0, 4).dragTo(0, 5).release(); checkResultByText("<selection>AbcDefGhi<caret></selection>"); } finally { EditorSettingsExternalizable.getInstance().setCamelWords(savedOption); } }