-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Closed
Labels
editor-renderingEditor rendering issuesEditor rendering issuesunder-discussionIssue is under discussion for relevance, priority, approachIssue is under discussion for relevance, priority, approachverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded
Milestone
Description
Currently if you call editor.revealRange with a range that doesn't fit on the screen, it still centers the middle line. This means if it's a class/method/whatever you get a random chunk from the middle.
It should be possible (default, IMO, but at least an option) to always ensure the first line is in view, since it's almost always likely that the earlier lines in the range are more important to see than the middle lines (since the start of the range is likely the start of a declaration of something).
DanTup
Metadata
Metadata
Assignees
Labels
editor-renderingEditor rendering issuesEditor rendering issuesunder-discussionIssue is under discussion for relevance, priority, approachIssue is under discussion for relevance, priority, approachverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded