Files
neovim/test/functional
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
..
2025-03-18 06:18:37 -07:00
2025-03-26 14:48:09 +01:00
2025-03-15 15:00:44 +01:00
2025-03-02 14:27:52 -08:00
2024-11-21 06:50:30 +08:00
2025-03-02 14:27:52 -08:00
2024-04-23 18:17:04 +02:00