Improve perf of editor by limiting cursor/selection update
Improve perf of editor by limiting cursor/selection update

GitbookIO/editor-legacy,gdbooks/editor-legacy,GitbookIO/editor-legacy,Futuring/editor-legacy,zhanghuiguoanlige/editor-legacy,gdbooks/editor-legacy,KINGSABRI/editor-legacy,KINGSABRI/editor-legacy,zhanghuiguoanlige/editor-legacy,Futuring/editor-legacy,GitbookIO/editor-legacy,KINGSABRI/editor-legacy,zhanghuiguoanlige/editor-legacy,Futuring/editor-legacy,gdbooks/editor-legacy