A customer reported this:
//---------------------------------------------------------------------------
I am blind and use a screen reader jaws. When moving by word control+left arrow or control + right arrow, the cursor will not jump to a symbol if it is the next word causing it not to be read.
Example:
if A > B;
1. Press control+right arrow (next word).
2. The cursor jumps to A from the I in if
3. Press control+right arrow again and it does not jump to the greater than sign, it jumps to b.
This causes the greater than sign not to be read by the screen reader because the end of the word is considered to be the space after ‘A’.
Let me know if this issue is addressed and I will purchase and use the product, otherwise, please remove me from your mailing list as the software is useless to me in its present state.
I would note that this is the only editor that I have ever used that behaves like this.
Great product otherwise!
//---------------------------------------------------------------------------
How can I address this? I think it should work like he suggests. I tried his example (using "if A > B;") in Microsoft Word and in another text editor and it worked as he stated... shouldn't SyntaxEdit work the same way when using Ctrl+Left Arrow and Ctrl+Right Arrow? Can this be addressed?
Thanks!
Comments
I also tried it with Notepad and it works similar to Word but not exactly as the cursor does not stop before the ';', but even this would be an improvement for users using screen readers.
Perhaps a simply option that one can specify some additional places/characters to stop before, like '>' and ';'.
Using this test text again: if A > B;
I checked WordSeparators and intuitively one would think there would be more words if there are more characters in WordSeparators, but when I REMOVED '>', it started working as desired, stopping before the '>' character. I could not get it to stop before the ';' character, where ';' was a word separator or not.
If '>' and ';' are word separator characters, then shouldn't the cursor stop before any word separator character when using Ctrl+Left Arrow or Ctrl+Right Arrow?
Strings of word separator characters (excluding whitespace) should probably be considered "words" though because you wouldn't want to stop before every ';' character in a string like ";;;;;;;;;".
So perhaps something is wrong with how word separation works, because I would think that if '>' and ';' are word separator characters, then when skipping words with "if A > B;", the cursor would stop before the '>' character and before the ';' character because those characters are word separator characters.
Perhaps the solution would be an option to treat the word separator characters as words themselves, instead of what's between words, so any string of consecutive word separator characters would be navigated as if it was a real word, and if there are letters followed by a word separator then it's two words. So "abc;" would result in "abc" as a word and ";" as the following word so the cursor should stop in front of each word during navigation. In this case, whitespace and newlines would still be treated as what's BETWEEN words.
But I suppose this is more work than you want to do and it affects very few people. I think it would be nice to have though, but not as nice as http://forum.lmd.de/discussion/378/simple-but-extremely-useful-feature-request#Item_1