stefanceriu / SCXcodeMiniMap

Sublime Text like Minimap for Xcode
GNU General Public License v3.0
1.03k stars 87 forks source link

Causes scroll position to jump unexpectedly #68

Closed Jiropole closed 8 years ago

Jiropole commented 9 years ago

I really like and appreciate your work on this plugin! But I have an issue that may force me to uninstall it.

While switching between previous/next documents, it seems like the plugin will cause the scroll position to jump unexpectedly, so I'm no longer looking at the same section when I return to a given file. Seems to be exacerbated by changes in the editor window height, i.e. due to hiding/revealing the console.

This same issue is easiest to reproduce by doing a global search, aside from any changes to editor heigh. Clicking on search results will sometimes bring you to the wrong scroll position in the target file; clicking again corrects this. Seems to happen most with longer code files, 300 lines+.

stefanceriu commented 9 years ago

I saw the same problem a while back and I think I fixed it on develop, bundled together with autohiding for the version and comparison editors. Can you please check that version and let me know ?

winkelsdorf commented 8 years ago

I am encountering the same problem and would suggest reopening this issue. Using latest version via Alcatraz.

Steps to reproduce:

Expected:

Using Minimap:

hth!