Skip to content

Commit

Permalink
Merge 858084a into df6bd07
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelDCurran authored Aug 25, 2024
2 parents df6bd07 + 858084a commit cfaf971
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/cursorManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import gui.contextHelp
from speech import sayAll
import review
from scriptHandler import willSayAllResume, script
from scriptHandler import willSayAllResume, script, isScriptWaiting
import textInfos
import speech
import config
Expand Down Expand Up @@ -145,6 +145,10 @@ def _caretMovementScriptHelper(
extraDetail=False,
handleSymbols=False,
):
if isScriptWaiting():
# Moving / reporting is quite costly, so we don't want to do it if there are more scripts waiting.
# Otherwise, NVDA could become unusable while it processes many backed up scripts.
return
oldInfo = self.makeTextInfo(posConstant)
info = oldInfo.copy()
info.collapse(end=self.isTextSelectionAnchoredAtStart)
Expand Down
1 change: 1 addition & 0 deletions user_docs/en/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ The available options are:
* It is now possible to use braille display routing keys to move the text cursor. (#9101)
* It is now possible to use the review cursor selection commands to select text.
* Updating NVDA while add-on updates are pending no longer results in the add-on being removed. (#16837)
* NVDA no longer becomes unresponsive if holding down an arrow key for a long time while in NVDA browse mode, in particular Microsoft word. (#16812)

### Changes for Developers

Expand Down

0 comments on commit cfaf971

Please sign in to comment.