Go to file
Máté Szabó a6030db858 Follow-up Ie3ed681b: Unstub getCaretPosition() as well
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
2023-07-21 14:45:41 +02:00
.phan Upgrade CodeEditor to use newer version of phan 2019-02-28 18:17:13 +01:00
i18n Localisation updates from https://translatewiki.net. 2023-07-14 09:32:49 +02:00
includes Create HookRunner class and the hook handler interface 2023-06-04 21:23:14 +02:00
modules Follow-up Ie3ed681b: Unstub getCaretPosition() as well 2023-07-21 14:45:41 +02:00
tests Create HookRunner class and the hook handler interface 2023-06-04 21:23:14 +02:00
.eslintrc.json eslint: Lint Gruntile.js using server rules 2022-02-07 16:22:02 +00:00
.gitignore build: Update eslint-config-wikimedia to 0.11.0 2019-03-13 22:38:54 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:02:17 -07:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 32.0.0 2020-10-29 07:28:24 +00:00
.stylelintrc.json build: Updating stylelint-config-wikimedia to 0.11.1 2021-09-04 18:51:00 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.3.0 2018-08-19 10:42:58 +00:00
composer.json build: Updating dependencies 2023-04-29 01:27:12 +00:00
COPYING License information 2016-03-09 17:27:45 +01:00
extension.json Update moved class EditPage 2023-05-06 21:19:29 +00:00
Gruntfile.js build: Update devDependencies 2022-03-13 22:50:06 +00:00
hooks.txt Save real tabs and allow configuration by users via JS hook 2013-08-25 18:45:16 +01:00
package-lock.json build: Updating npm dependencies 2023-06-01 02:55:33 +00:00
package.json build: Updating npm dependencies 2023-06-01 02:55:33 +00:00