-
### Description
This RFC proposes adding support for invoking a callback for each (visual) character of a string, while iterating from right-to-left.
Signature:
```javascript
forEachRight( s…
-
From unicode-org/properties#149, [ID20230630074506](https://www.unicode.org/review/pri469/feedback.html#ID20230630074506): we should ensure that we have a grapheme segmentation test case with an ExtCc…
-
`Object.groupBy` and `Map.groupBy` take an iterable, such as an array, as their first argument. This can be any iterable, so they can also accept a string.
```js
const str = "abcd";
const grouped…
-
How to reproduce the behaviour
---------
Unicode accented characters like `é` are shown correctly but counted as two characters which leads to wrong spans.
Unicode string used in jsonlines file:
…
-
From @pcgeek86 in https://github.com/microsoft/vscode/issues/129470
Does this issue occur when all extensions are disabled?: **Yes**
- VS Code Version: 1.58.2
- OS Version: Wi…
-
Since this doesn't operate on grapheme clusters, we should refer to dealing with codepoints, not characters.
In particular, documentation comments need changing, and `charAt` should be `codepointAt`.…
-
In S05 it defines as:
> Unicode properties are indicated by use of pair notation in place of a normal rule name:
>
> ```
> # a letter
> # a non-letter
> ```
>
> Properties with arguments are …
jnthn updated
7 years ago
-
Currently this holds Runes, which is limiting, needs to hold graphemes.
-
Does this project use UTF-8, UTF-16, codepoint, or grapheme cluster indexes for lsp ranges?
I am conducting a [survey](https://github.com/Avi-D-coder/lsp-range-unit-survey) to inform the debate ove…
-
The boolean argument is quite useless when reading the code, because `foo.graphemes(true)` doesn't state what that `true` thing is for.