SublimeXdebug icon indicating copy to clipboard operation
SublimeXdebug copied to clipboard

Horizontal scroll position

Open dietrich-stein opened this issue 11 years ago • 0 comments

I am using martomo's fork now because it behaves better than the klasscuvelier fork under SublimeText 3. Anyway, I noticed that when stepping into files the horizontal scroll position is not fully to the left making it very difficult to see what is going on without manually resetting it; which is quite a hassle. I added the following lines at the end of the show_file() function. It now resets to the left but not immediately, only after an additional call to xdebug_continue. Has anyone else seen this issue or have any ideas to make the reset immediate?

vpos = view.viewport_position()
view.set_viewport_position((0.0, vpos[1]))

dietrich-stein avatar May 13 '13 01:05 dietrich-stein