RUBY-10842: Extract partial moves caret at the start of the inserted text.

#RUBY-10842 fixed
This commit is contained in:
Oleg Sukhodolsky
2012-05-28 15:19:43 +04:00
parent db560707f1
commit 08a36f555d
@@ -232,6 +232,7 @@ public abstract class ExtractIncludeFileBase<T extends PsiElement> implements Re
}
});
final String includePath = processPrimaryFragment(first, second, targetDirectory, targetfileName, file);
editor.getCaretModel().moveToOffset(first.getTextRange().getStartOffset());
ApplicationManager.getApplication().invokeLater(new Runnable() {
public void run() {