hagleitn / speed-type

Practice touch/speed typing in emacs
175 stars 16 forks source link

Initial support for practicing with code samples #13

Open rydnr opened 8 years ago

rydnr commented 8 years ago

This patch adds preliminary support for speed-typing with code samples, should the user chooses so.

The changes can be summarized as follows:

I've tried not to mess the original code up too much. The "extensibility points" are just switch-case blocks to choose alternatives according to the user setting. Not very elegant, but easy to understand. However, for supporting additional types of content it'd probably need a cleaner approach than the suggested here.