How to design undo & redo in text editor?

后端 未结 8 850
渐次进展
渐次进展 2020-12-05 15:11

Part of my project is to write a text editor that is used for typing some rules, compiling my application and running it. Writing compiler was end and release beta version.

8条回答
  •  北海茫月
    2020-12-05 16:09

    Read a book Design Patterns: Elements of Reusable Object-Oriented Software. As far as I remember, there is a pretty good example.

提交回复
热议问题