Skip to content

Commit

Permalink
In browse mode and editable text fields, NVDA now treats numpadEnter …
Browse files Browse the repository at this point in the history
…the same as the main enter key.

Fixes #5385.
  • Loading branch information
josephsl authored and jcsteh committed Mar 31, 2016
1 parent 644972d commit 6f6e04a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions source/NVDAObjects/behaviors.py
Expand Up @@ -154,6 +154,7 @@ def initOverlayClass(self):
# As Pressing enter on an edit field can cause modal dialogs to appear, yet gesture.send and api.processPendingEvents may call.wx.yield which ends in a freeze.
if self.announceNewLineText and self.processID!=os.getpid():
self.bindGesture("kb:enter","caret_newLine")
self.bindGesture("kb:numpadEnter","caret_newLine")

class EditableTextWithAutoSelectDetection(EditableText):
"""In addition to L{EditableText}, handles reporting of selection changes for objects which notify of them.
Expand Down
1 change: 1 addition & 0 deletions source/browseMode.py
Expand Up @@ -308,6 +308,7 @@ def script_activatePosition(self,gesture):
__gestures={
"kb:NVDA+f7": "elementsList",
"kb:enter": "activatePosition",
"kb:numpadEnter": "activatePosition",
"kb:space": "activatePosition",
"kb:NVDA+shift+space":"toggleSingleLetterNav",
}
Expand Down
4 changes: 4 additions & 0 deletions user_docs/en/changes.t2t
Expand Up @@ -13,6 +13,10 @@
- New braille translation table: Koine Greek. (#5393)


== Changes ==
- In browse mode and editable text fields, NVDA now treats numpadEnter the same as the main enter key. (#5385)


== Bug Fixes ==
- In browse mode, when attempting to use single letter navigation to move to an element which isn't supported for the document, NVDA reports that this isn't supported rather than reporting that there is no element in that direction. (#5691)
- When listing sheets in the Elements List in Microsoft Excel, sheets containing only charts are now included. (#5698)
Expand Down

0 comments on commit 6f6e04a

Please sign in to comment.