mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
commit document
This commit is contained in:
+1
@@ -47,6 +47,7 @@ public abstract class BaseMoveHandler extends EditorWriteActionHandler {
|
||||
assert project != null;
|
||||
final PsiDocumentManager documentManager = PsiDocumentManager.getInstance(project);
|
||||
final Document document = editor.getDocument();
|
||||
documentManager.commitDocument(document);
|
||||
PsiFile file = getRoot(documentManager.getPsiFile(document), editor);
|
||||
|
||||
if (file != null) {
|
||||
|
||||
Reference in New Issue
Block a user