Files
neovim/runtime/lua/vim/_meta
luukvbaal fb71d631a5 fix(api): wrong return value with reverse range + overlap #32956
Problem:  When iterating in reverse with {start} > {end} in
          `nvim_buf_get_extmarks()`, marks that overlap {start} and are
          greater than {end} are included in the return value twice.
          Marks that overlap {end} and do not overlap {start} are not
          not included in the return value at all. Marks are not
          actually returned in a meaningful "traversal order".

Solution: Rather than actually iterating in reverse, (also possible but
          requires convoluted conditions and would require fetching
          overlapping marks for both the {start} and {end} position,
          while still ending up with non-traversal ordered marks),
          iterate normally and reverse the return value.
(cherry picked from commit 65170e8dad)
2025-04-21 23:49:27 +00:00
..
2024-04-26 15:13:06 +01:00
2025-03-02 14:27:52 -08:00
2024-09-30 11:51:33 +01:00
2025-01-01 12:29:51 -08:00
2024-07-15 21:16:29 +01:00
2024-02-15 11:32:50 +00:00
2024-02-27 14:41:17 +00:00
2025-04-12 10:56:28 -07:00
2024-05-15 23:19:26 +02:00
2025-03-18 06:18:37 -07:00