karmapa / ketaka-lite

📖 A multifunctional Tibetan text editor
MIT License
3 stars 2 forks source link

One "undo" cancels several typed letters or lines in Mac version #107

Closed chiehan1 closed 8 years ago

chiehan1 commented 8 years ago

In Mac version 0.1.50, if not typing very slowly, one "undo" won't only cancel one letter, it may cancel several letters or lines once.

kmsheng commented 8 years ago

@chiehan1 History event delay can be adjusted if this is the issue. http://codemirror.net/3/doc/manual.html

historyEventDelay: integer
The period of inactivity (in milliseconds) that will cause a new history event to be started
 when typing or deleting. Defaults to 500.
kmsheng commented 8 years ago

screen shot 2015-12-02 at 5 14 29 pm