mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
130c2955a0
CodeMirror does not have an option to automatically remove the selection when the editor is blurred, which means there can be a kind-of weird visual glitch when there was a selection and the user does another selection. This patch listen for the blur event on the editor, and if there was a selection, removes it. The blur event need to be piped down from the sourceeditor. A test is added to ensure this works as expected. Differential Revision: https://phabricator.services.mozilla.com/D78649 |
||
---|---|---|
.. | ||
client | ||
docs | ||
platform | ||
server | ||
shared | ||
startup | ||
.eslintrc.js | ||
.eslintrc.mochitests.js | ||
.eslintrc.xpcshell.js | ||
CODE_OF_CONDUCT.md | ||
moz.build | ||
templates.mozbuild | ||
tsconfig.json |