| 763 | } |
| 764 | |
| 765 | void CellBuffer::PerformRedoStep() { |
| 766 | const Action &actionStep = uh.GetRedoStep(); |
| 767 | if (actionStep.at == insertAction) { |
| 768 | BasicInsertString(actionStep.position, actionStep.data, actionStep.lenData); |
| 769 | } else if (actionStep.at == removeAction) { |
| 770 | BasicDeleteChars(actionStep.position, actionStep.lenData); |
| 771 | } |
| 772 | uh.CompletedRedoStep(); |
| 773 | } |
| 774 |