public class UndoUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
disableUndoFor(Document document) |
static boolean |
isUndoDisabledFor(Document document) |
static void |
markPsiFileForUndo(PsiFile file)
make undoable action in current document in order to Undo action work from current file
|
public static void markPsiFileForUndo(PsiFile file)
file
- to make editors of to respond to undo action.public static void disableUndoFor(Document document)
public static boolean isUndoDisabledFor(Document document)