From ca1f431df454fb77ee081eb7ee3498f0a58aa4bf Mon Sep 17 00:00:00 2001 From: Peter Xiao Date: Thu, 15 Aug 2013 17:20:36 -0700 Subject: [PATCH] Flush out extra unselected speech. --- lib/ace/ext/chromevox.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ace/ext/chromevox.js b/lib/ace/ext/chromevox.js index 055a96dd..9f7a7996 100644 --- a/lib/ace/ext/chromevox.js +++ b/lib/ace/ext/chromevox.js @@ -487,7 +487,6 @@ var speakChar = function(cursor) { * @param {!cvoxAce.Cursor} currCursor Current cursor position. */ var speakDisplacement = function(lastCursor, currCursor) { - cvox.Api.stop(); var line = getCurrentLine(currCursor); /* Get the text that we jumped past. */ @@ -495,7 +494,7 @@ var speakDisplacement = function(lastCursor, currCursor) { /* Speak out loud spaces. */ displace = displace.replace(/ /g, ' space '); - cvox.Api.speak(displace, 1); + cvox.Api.speak(displace); }; /**