Chapter 4
Writing Your Own Front End


In this chapter, we explain the general flow that a new editor plugin should follow. We follow these flows in general in our reference implementation of the Emacs ltc-mode and the Java LTC Editor.


figures/plugin/flow-LTC-on-off.png

Figure 4.1: Flow for turning LTC on and off



figures/plugin/flow-LTC-edit.png

Figure 4.2: Flow for editing while viewing changes



figures/plugin/flow-LTC-save-commit.png

Figure 4.3: Flow when saving or committing while LTC is on