mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-13 17:53:17 +00:00
a6030db858
It was pointed out in the review of Ie3ed681b that the naive fallback for replaceSelection() was not working because CodeEditor only had a stub getCaretPosition() implementation. So, let's implement that as well in case people want to use it. It seems to work reasonably well locally with the native replaceSelection() disabled. Bug: T342127 Change-Id: I8d3683808394faefa56c7cdff31dc18978c4dd92 |
||
---|---|---|
.. | ||
ace | ||
images | ||
.eslintrc.json | ||
ace.less | ||
ext.codeEditor.js | ||
jquery.codeEditor.js | ||
jquery.codeEditor.less |