| 42 | // // // Pattern editor state class |
| 43 | |
| 44 | CPatternEditorState::CPatternEditorState(const CPatternEditor &Editor) : |
| 45 | Cursor(Editor.GetCursor()), |
| 46 | OriginalSelection(Editor.GetSelection()), |
| 47 | IsSelecting(Editor.IsSelecting()) |
| 48 | { |
| 49 | Selection = OriginalSelection.GetNormalized(); |
| 50 | } |
| 51 | |
| 52 | void CPatternEditorState::ApplyState(CPatternEditor &Editor) const |
| 53 | { |
nothing calls this directly
no test coverage detected