Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KLayout/klayout
/ undo
Function
undo
src/laybasic/laybasic/layAnnotationShapes.h:77–84 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
75
}
76
77
virtual void undo (AnnotationShapes *shapes)
78
{
79
if (m_insert) {
80
erase (shapes);
81
} else {
82
insert (shapes);
83
}
84
}
85
86
virtual void redo (AnnotationShapes *shapes)
87
{
Callers
1
undo
Method · 0.70
Calls
2
insert
Function · 0.70
erase
Function · 0.50
Tested by
no test coverage detected