package upgrades & linter fixes

This commit is contained in:
Jörg Breitbart
2026-05-09 17:42:49 +02:00
parent 6ba731d73b
commit dc1ae4514b
36 changed files with 2804 additions and 2389 deletions
+4 -4
View File
@@ -919,10 +919,10 @@ export class SelectionService extends Disposable implements ISelectionService {
// Calculate the start _column_, converting the the string indexes back to
// column coordinates.
let start =
startIndex // The index of the selection's start char in the line string
+ charOffset // The difference between the initial char's column and index
- leftWideCharCount // The number of wide chars left of the initial char
+ leftLongCharOffset; // The number of additional chars left of the initial char added by columns with strings longer than 1 (emojis)
startIndex // The index of the selection's start char in the line string
+ charOffset // The difference between the initial char's column and index
- leftWideCharCount // The number of wide chars left of the initial char
+ leftLongCharOffset; // The number of additional chars left of the initial char added by columns with strings longer than 1 (emojis)
// Calculate the length in _columns_, converting the the string indexes back
// to column coordinates.