mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-12-18 01:30:45 +00:00
2f7ce4dd50
The $.textSelection() facade in CodeEditor is missing a replaceSelection() implementation. This causes $.textSelection() to fall back to a naive implementation, which does not work, thus breaking any gadget or extension that tries to interact with CodeEditor using this method. As a fix, provide a native replaceSelection() implementation that calls the appropriate ACE editor method: Bug: T342127 Change-Id: Ie3ed681b39c5d4d2bed50030a397a2b1c877c9fb |
||
---|---|---|
.. | ||
ace | ||
images | ||
.eslintrc.json | ||
ace.less | ||
ext.codeEditor.js | ||
jquery.codeEditor.js | ||
jquery.codeEditor.less |