Update text-editing.ts

This commit is contained in:
Ivan 2025-05-14 10:52:54 +03:00
parent e2ab676ec2
commit 5f2239dc26

View File

@ -290,7 +290,7 @@ export class RSTextWrapper extends CodeMirrorWrapper {
if (!text.startsWith('') || !text.endsWith(')')) {
return false;
}
const openParenIndex = text.indexOf('(', 1); // start after ''
const openParenIndex = text.indexOf('(', 1);
if (openParenIndex === -1) {
return false;
}