-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Structure highlighting bug fixes (#1061)
* Don't ask for line information past EOF. Closes #1060 Can be reproduced with `if True:pass` at EOF and, importantly, outside the viewport (so prepended with blank lines, for example). I'm not sure our behaviour in this scenario makes sense but this change at least makes it safe. * Detect the `if True:pass` case consistently. Use a simpler approach to test if we're the same line to make it easier to follow.
1 parent
9d066cf
commit 6bd91b2
Showing
1 changed file
with
22 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters