mediawiki-extensions-CodeEd.../modules
Máté Szabó 2f7ce4dd50 Add explicit replaceSelection() implementation
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
2023-07-18 16:38:55 +02:00
..
ace Update Ace to 1.15.2 2023-02-21 13:53:16 -06:00
images Move images folder into modules folder 2021-03-12 20:09:55 +01:00
.eslintrc.json eslint: Lint Gruntile.js using server rules 2022-02-07 16:22:02 +00:00
ace.less De-emphasise line numbers 2021-01-13 17:07:02 +00:00
ext.codeEditor.js build: Update eslint-config-wikimedia to 0.11.0 2019-03-13 22:38:54 +00:00
jquery.codeEditor.js Add explicit replaceSelection() implementation 2023-07-18 16:38:55 +02:00
jquery.codeEditor.less Update ace-build 1.2.9 -> 1.4.9 and recompile 2020-04-14 14:30:34 -07:00