1616import gui
1717from gui import guiHelper
1818import gui .contextHelp
19- import sayAllHandler
19+ from speech import sayAll
2020import review
2121from scriptHandler import willSayAllResume , script
2222import textInfos
@@ -197,7 +197,7 @@ def run():
197197 "find the next occurrence of the previously entered text string from the current cursor's position"
198198 ),
199199 gesture = "kb:NVDA+f3" ,
200- resumeSayAllMode = sayAllHandler .CURSOR_CARET ,
200+ resumeSayAllMode = sayAll .CURSOR_CARET ,
201201 )
202202 def script_findNext (self ,gesture ):
203203 if not self ._lastFindText :
@@ -215,7 +215,7 @@ def script_findNext(self,gesture):
215215 "find the previous occurrence of the previously entered text string from the current cursor's position"
216216 ),
217217 gesture = "kb:NVDA+shift+f3" ,
218- resumeSayAllMode = sayAllHandler .CURSOR_CARET ,
218+ resumeSayAllMode = sayAll .CURSOR_CARET ,
219219 )
220220 def script_findPrevious (self ,gesture ):
221221 if not self ._lastFindText :
@@ -230,11 +230,11 @@ def script_findPrevious(self,gesture):
230230
231231 def script_moveByPage_back (self ,gesture ):
232232 self ._caretMovementScriptHelper (gesture ,textInfos .UNIT_LINE ,- config .conf ["virtualBuffers" ]["linesPerPage" ],extraDetail = False )
233- script_moveByPage_back .resumeSayAllMode = sayAllHandler .CURSOR_CARET
233+ script_moveByPage_back .resumeSayAllMode = sayAll .CURSOR_CARET
234234
235235 def script_moveByPage_forward (self ,gesture ):
236236 self ._caretMovementScriptHelper (gesture ,textInfos .UNIT_LINE ,config .conf ["virtualBuffers" ]["linesPerPage" ],extraDetail = False )
237- script_moveByPage_forward .resumeSayAllMode = sayAllHandler .CURSOR_CARET
237+ script_moveByPage_forward .resumeSayAllMode = sayAll .CURSOR_CARET
238238
239239 def script_moveByCharacter_back (self ,gesture ):
240240 self ._caretMovementScriptHelper (gesture ,textInfos .UNIT_CHARACTER ,- 1 ,extraDetail = True ,handleSymbols = True )
@@ -250,27 +250,27 @@ def script_moveByWord_forward(self,gesture):
250250
251251 def script_moveByLine_back (self ,gesture ):
252252 self ._caretMovementScriptHelper (gesture ,textInfos .UNIT_LINE ,- 1 )
253- script_moveByLine_back .resumeSayAllMode = sayAllHandler .CURSOR_CARET
253+ script_moveByLine_back .resumeSayAllMode = sayAll .CURSOR_CARET
254254
255255 def script_moveByLine_forward (self ,gesture ):
256256 self ._caretMovementScriptHelper (gesture ,textInfos .UNIT_LINE ,1 )
257- script_moveByLine_forward .resumeSayAllMode = sayAllHandler .CURSOR_CARET
257+ script_moveByLine_forward .resumeSayAllMode = sayAll .CURSOR_CARET
258258
259259 def script_moveBySentence_back (self ,gesture ):
260260 self ._caretMovementScriptHelper (gesture ,textInfos .UNIT_SENTENCE ,- 1 )
261- script_moveBySentence_back .resumeSayAllMode = sayAllHandler .CURSOR_CARET
261+ script_moveBySentence_back .resumeSayAllMode = sayAll .CURSOR_CARET
262262
263263 def script_moveBySentence_forward (self ,gesture ):
264264 self ._caretMovementScriptHelper (gesture ,textInfos .UNIT_SENTENCE ,1 )
265- script_moveBySentence_forward .resumeSayAllMode = sayAllHandler .CURSOR_CARET
265+ script_moveBySentence_forward .resumeSayAllMode = sayAll .CURSOR_CARET
266266
267267 def script_moveByParagraph_back (self ,gesture ):
268268 self ._caretMovementScriptHelper (gesture ,textInfos .UNIT_PARAGRAPH ,- 1 )
269- script_moveByParagraph_back .resumeSayAllMode = sayAllHandler .CURSOR_CARET
269+ script_moveByParagraph_back .resumeSayAllMode = sayAll .CURSOR_CARET
270270
271271 def script_moveByParagraph_forward (self ,gesture ):
272272 self ._caretMovementScriptHelper (gesture ,textInfos .UNIT_PARAGRAPH ,1 )
273- script_moveByParagraph_forward .resumeSayAllMode = sayAllHandler .CURSOR_CARET
273+ script_moveByParagraph_forward .resumeSayAllMode = sayAll .CURSOR_CARET
274274
275275 def script_startOfLine (self ,gesture ):
276276 self ._caretMovementScriptHelper (gesture ,textInfos .UNIT_CHARACTER ,posUnit = textInfos .UNIT_LINE ,extraDetail = True ,handleSymbols = True )
0 commit comments