Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore blank lines containing indentation #6

Closed
trypsynth opened this issue Jun 3, 2022 · 6 comments
Closed

Ignore blank lines containing indentation #6

trypsynth opened this issue Jun 3, 2022 · 6 comments

Comments

@trypsynth
Copy link
Contributor

Some programmers put blank lines between their functions, but with whitespace on the lines. I have no idea why, but nonetheless it's extremely annoying to go through with indent nav. It would be awesome if you could make it so blank lines containing only indentation are ignored the same way standard blank lines are.

@mltony
Copy link
Owner

mltony commented Jun 3, 2022 via email

@trypsynth
Copy link
Contributor Author

After doing a bit of testing, it only seems to happen if a blank line contains a tab. Download https://www.dropbox.com/s/0tulmvd8ix9ox9e/test.py?dl=1. Attempt to navigate between functions with indent nav.

@mltony
Copy link
Owner

mltony commented Jun 3, 2022 via email

@trypsynth
Copy link
Contributor Author

If nvaccess/nvda#14102 gets merged, this issue should be closed. That PR makes speech.isBlank also detect \t as a blank character.

@trypsynth
Copy link
Contributor Author

That's a no, but when I have a free weekend I'll tackle this issue. Shouldn't be too difficult.

@mltony
Copy link
Owner

mltony commented Sep 5, 2022 via email

@mltony mltony closed this as completed in 58a7098 Sep 10, 2022
mltony added a commit that referenced this issue Sep 10, 2022
Count \t (a tab) as a blank character. Closes #6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants