maryvilledev / codesplainUI

Web app for breaking down and annotating Python 3 source code.
https://www.codesplain.io
GNU General Public License v3.0
2 stars 2 forks source link

Fix reversal of text entry #475

Closed Hopding closed 7 years ago

Hopding commented 7 years ago

Description

Make text entry behave like normal, by putting the cursor back where it was before calling setValue() on CodeMirror.

Motivation and Context

Fixes #474.

Checklist:

smokinGun commented 7 years ago

This works seamlessly. Well done, Andrew.