Indent guides make scrolling less performant #12

hihayk opened this Issue May 23, 2014 · 3 comments


None yet

2 participants

hihayk commented May 23, 2014

The plugin makes the scrolling in brackets less smooth.

@hihayk hihayk changed the title from Slow scroll to Less smooth scroll May 23, 2014
@lkcampbell lkcampbell added the wontfix label May 23, 2014

@hihayk, that is correct. Any extension that creates a large number of stylized spans via CodeMirror overlays makes scrolling less smooth. As another example, take a look at the Show Whitespace extension. It also uses a lot of CodeMirror overlay stylization as well and has a similar problem.

Unfortunately, unless there is another way to implement indent guides that doesn't use CodeMirror overlays that I don't know about, there isn't a lot I can do about it. Certainly open to any ideas or suggestions though.

@lkcampbell lkcampbell closed this May 23, 2014
hihayk commented May 23, 2014

Thanks Lance, I'm not a developer so I can't suggest anything.
Anyway I love the extension, and made the lines color brighter.

@lkcampbell lkcampbell added code challenge and removed wontfix labels Oct 3, 2014

Changing this issue to a code challenge.

Is there a way to make CodeMirror mode overlays more performant?

Are there any other ways to implement indent guides without using CodeMirror mode overlays?

@lkcampbell lkcampbell changed the title from Less smooth scroll to Indent guides make scrolling less performant Oct 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment