thlorenz / brace

📔 browserify compatible version of the ace editor.
http://thlorenz.github.io/brace/
MIT License
1.06k stars 304 forks source link

setValue method is emitting the change event twice #183

Closed bjdash closed 2 years ago

bjdash commented 3 years ago

The setValue method is first removing the existing text and then inserting the new value by calling remove and insert one after another. This is causing the change event to be signaled twice.

zhq195 commented 2 years ago

I have also encountered this problem. I am working hard for this problem and continue to pay attention to it

thlorenz commented 2 years ago

Please file this in the actual ace repo. This is just a automatic refactor of it to make it browserifiable.