Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DISTRHO/Cardinal
/ Undo
Method
Undo
plugins/Cardinal/src/DearImGuiColorTextEditor/TextEditor.cpp:1998–2002 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1996
}
1997
1998
void TextEditor::Undo(int aSteps)
1999
{
2000
while (CanUndo() && aSteps-- > 0)
2001
mUndoBuffer[--mUndoIndex].Undo(this);
2002
}
2003
2004
void TextEditor::Redo(int aSteps)
2005
{
Callers
1
undo
Method · 0.80
Calls
6
DeleteRange
Method · 0.80
Colorize
Method · 0.80
InsertTextAt
Method · 0.80
c_str
Method · 0.80
EnsureCursorVisible
Method · 0.80
empty
Method · 0.45
Tested by
no test coverage detected