TextBuffer.getCanUndo

bool getCanUndo()

Gets whether there is an undoable action in the history.

Returns

true if there is an undoable action