Closed mataha closed 11 months ago
Are you using word wrap? If so, try disabling it. If that doesn't help, try changing this setting from:
"preview_window_padding": [20, 20],
to
"preview_window_padding": [0, 0],
Disabling word wrap didn't help, but changing preview_window_padding
did - thanks!
We probably need to use a better default. We recently extended padding to have some colors offscreen get rendered before you get to them, but with long-wrapped lines, this can be problematic. I think maybe we should allow extending padding for those that want it, but provide performant defaults.
Issue that introduced padding: https://github.com/facelessuser/ColorHelper/issues/249.
We probably need to use a better default. We recently extended padding to have some colors offscreen get rendered before you get to them, but with long-wrapped lines, this can be problematic. I think maybe we should allow extending padding for those that want it, but provide performant defaults.
Basically "preview_window_padding": [0, 0]
, right?
Yes
Description
Navigating through a file with very long lines (>1m) cause ColorHelper and, by extension, Sublime to become irresponsive and slow.
Support Info
Steps to Reproduce Issue