Skip to content
Commit 7eccc072 authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Optimize and simplify cursorAtBracket

Instead of laying out the lines, just multiply by spaceWidth. This is
what we do for normal indent lines so it makes sense to do it for the
highlighted indented lines.

Additionally, highlight () brackets as well as languages like
Dart/Flutter nest objects in () and a highlighted indent line can be
very helpful for navigation.

The range for finding bracket is increased to 500 lines as it is with
very large indents that line highlighting is actually helpful.
parent e9b69308
Pipeline #482906 passed with stage
in 4 minutes and 33 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment