You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
click on some appropriate code and open Quick Edit
in the inline editor, type some JS code, let code hints appear, and hit tab to accept the first hint --- for example, type "fal", and hit tab to accept "false"
in the main editor, open the file you're editing inline
look at what you just typed
Expected: "false"
Result: "falsese" -- the characters that were added by auto-complete were added twice
Sprint 24, Mac and Windows.
The text was updated successfully, but these errors were encountered:
@eztierney / @dloverin I know exactly what this is, sadly. When inside an inline editor in a code hint, using editor.document.replaceRange() (which is usually the right thing) doesn't work due to a fragility in the way we do document syncing. In this case, you have to grit your teeth and use editor._codeMirror.replaceRange() instead. See #1688. When we update to use CodeMirror's doc-linking stuff, this problem should go away, but for now we just hack this in the various code hint providers.
Should be fixed in master. @vmitnick - not sure if you're pulling from the repo or just running the packaged sprint build--if you are pulling from the repo and can regress this now, that would be great; otherwise I'll verify it for now and you can check it in the next sprint build.
Expected: "false"
Result: "falsese" -- the characters that were added by auto-complete were added twice
Sprint 24, Mac and Windows.
The text was updated successfully, but these errors were encountered: