Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Speak all symbols when moving by words (#11779) #11856
Speak all symbols when moving by words (#11779) #11856
Changes from 32 commits
86592b0
cbbbacc
2614f46
56d97fe
db91a19
14f12ca
7f18e8d
b92b18a
300e174
46e8163
f4b99b4
30cbe69
9bc1df2
06cf4df
576ce99
bb53010
698f5b7
d89a533
304d940
2f61ca6
5cc726b
1709685
e58f0e2
d4f18b8
76dec02
d4ccb85
2853f5d
5972e84
9f03857
a818141
c4a5ee9
2daaca2
cf1b1ed
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given
SYMLVL
has a value forNone
, it would be great if this was not optional anymore. Instead just always had a valid (typed) value.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm hesitant to make this change as
characterProcessing.SYMLVL.NONE == 0
and isn't the same asNone
from what I can tell. There are cases where we doif symbolLevel is None
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose it could be option to represent "not set" yet (eg in a GUI). Is this actually possible though?
Otherwise, shouldn't there always be some value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's an unset value when determining the level of speech to report, that is processed later in
speak
. It's not driven by a UI, it's contextual in the processing.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a default level? Presumably it would be an error to come out the other end of the processing as
None
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it is later set to
config.conf["speech"]["symbolLevel"]
if it is not otherwise set earlierThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So from the docs of
def speak
: