Skip to content

Jumping to next symbol (switch-forward) skips to last on screen #96

@MicahElliott

Description

@MicahElliott

For the following test case:

aaa ; first overlay
bbb
ccc ; second overlay
ddd
ccc ; matching overlay of course

and these steps:

  1. Place point at aaa
  2. symbol-overlay-put to highlight aaa (I guess this step is irrelevant)
  3. Move point to ccc two lines down
  4. symbol-overlay-put to highlight ccc
  5. Move point back up to bbb
  6. symbol-overlay-switch-forward: BUG! jumps to final ccc on last line, instead of the closer one on line 3

I'm certain symbol-overlay-switch-forward used to jump from bbb to the closer/middle ccc (which feels right), so this must be a bug. Feels like it's been happening for a couple months (I upgrade weekly).

An oddity is that if there's another ccc lower in the file beyond the what's in view on screen, it does not jump all the way to that one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions