Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just do:

monotype.save(editor);

Then perform your manipulation, when done call:

monotype.restore();

Tim Down! Thank you so much for your rangy library, it is a noble library, and I respect all your hard work trying to normalize the Range API. Monotype is similar to your new Text module but behaves a bit differently, please email me so we can talk more! mark at accelsor.com



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: