@@ -64,6 +64,18 @@ def terminate(self):
6464 interface .remove_settings ()
6565 config .post_configProfileSwitch .unregister (self .on_profile_switch )
6666
67+ @scriptHandler .script (
68+ description = gettext (
69+ "Moves the review cursor to the top line of the current navigator object and speaks it" ,
70+ ),
71+ category = globalCommands .SCRCAT_TEXTREVIEW ,
72+ gestures = ("kb:shift+numpad7" , "kb(laptop):NVDA+control+home" ),
73+ )
74+ def script_review_top (self , gesture ):
75+ result = globalCommands .commands .script_review_top (gesture )
76+ self .report_diff_line_status ()
77+ return result
78+
6779 @scriptHandler .script (
6880 description = gettext (
6981 "Moves the review cursor to the previous line of the current navigator object and speaks it" ,
@@ -106,6 +118,18 @@ def script_review_nextLine(self, gesture):
106118 self .report_diff_line_status ()
107119 return result
108120
121+ @scriptHandler .script (
122+ description = gettext (
123+ "Moves the review cursor to the bottom line of the current navigator object and speaks it" ,
124+ ),
125+ category = globalCommands .SCRCAT_TEXTREVIEW ,
126+ gestures = ("kb:shift+numpad9" , "kb(laptop):NVDA+control+end" ),
127+ )
128+ def script_review_bottom (self , gesture ):
129+ result = globalCommands .commands .script_review_bottom (gesture )
130+ self .report_diff_line_status ()
131+ return result
132+
109133 def report_diff_line_status (self ):
110134 if not self ._diff_sounds_enabled :
111135 return
0 commit comments