diff options
author | jeepee | 2022-04-01 13:16:09 +0000 |
---|---|---|
committer | GitHub | 2022-04-01 13:16:09 +0000 |
commit | 8165febe23cbd8bb9cd99cceac9d09b81f35456e (patch) | |
tree | 47ddf833348c3cc9c6170f5475c876153db67fee /runtime/queries/javascript | |
parent | 47fe7397574208ecdcccc63770ce1b0374de1126 (diff) |
Fix start-position of next search (#1904)
The search implementation would start searching at the next grapheme
boundary after the previous selection. In case the next occurence of the
needle is immediately after the current selection, this occurence would
not be found (without wraparound) because the first grapheme is skipped.
The correct approach is to use the ensure_grapheme_boundary functions instead
of using the functions that skip unconditionally to the next grapheme.
Diffstat (limited to 'runtime/queries/javascript')
0 files changed, 0 insertions, 0 deletions