nvda-notepadPlusPlus
nvda-notepadPlusPlus copied to clipboard
Announce new indentation levels for the current line
Hello, I would really love if one could have an option to have nvda announce new indentation levels for the current line like what EdSharp does. I see two ways to do this:
- Every time a tab or shift+tab is pressed, check to see if the cursor is at the start of a line or in front of the indentation. If it is, announce the current level.
- Have the same functionality like in EdSharp where pressing tab and shift+tab anywhere will insert a tab or remove a tab at the start of a line and have NVDA say the level.
Both also should work for selected blocks.
I would really prefer the second option, but both are OK. Thanks,
This sounds useful. I propose a script that, up on pressing tab or shift+tab, announces the indentation of the current line if all the characters on the line preceding caret are whitespace. However, changing tab behaviour so that it would indent the line regardless of the cursor position is something that would be better served with a Notepad++ plug-in. The scope of this add-on is to improve Notepad++'s accessibility, not to introduce/alter existing functionality of the editor.
2016-11-22 21:35 GMT+02:00 Brandon [email protected]:
Hello, I would really love if one could have an option to have nvda announce new indentation levels for the current line like what EdSharp does. I see two ways to do this:
- Every time a tab or shift+tab is pressed, check to see if the cursor is at the start of a line or in front of the indentation. If it is, announce the current level.
- Have the same functionality like in EdSharp where pressing tab and shift+tab anywhere will insert a tab or remove a tab at the start of a line and have NVDA say the level.
Both also should work for selected blocks.
I would really prefer the second option, but both are OK. Thanks,
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/derekriemer/nvda-notepadPlusPlus/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhA1WQc5aGcBul8U4NVgy6oXbmqUvhFks5rA0P6gaJpZM4K52dS .
Agree that changing tab behavior is ugly, and best for a plugin. However, I think the announce indent level thing could be included, or proposed in NVDA core. That way other editors get it as well. Anyone want to post the ticket?