Flush out extra unselected speech.
This commit is contained in:
parent
1a54f05075
commit
ca1f431df4
1 changed files with 1 additions and 2 deletions
|
|
@ -487,7 +487,6 @@ var speakChar = function(cursor) {
|
||||||
* @param {!cvoxAce.Cursor} currCursor Current cursor position.
|
* @param {!cvoxAce.Cursor} currCursor Current cursor position.
|
||||||
*/
|
*/
|
||||||
var speakDisplacement = function(lastCursor, currCursor) {
|
var speakDisplacement = function(lastCursor, currCursor) {
|
||||||
cvox.Api.stop();
|
|
||||||
var line = getCurrentLine(currCursor);
|
var line = getCurrentLine(currCursor);
|
||||||
|
|
||||||
/* Get the text that we jumped past. */
|
/* Get the text that we jumped past. */
|
||||||
|
|
@ -495,7 +494,7 @@ var speakDisplacement = function(lastCursor, currCursor) {
|
||||||
|
|
||||||
/* Speak out loud spaces. */
|
/* Speak out loud spaces. */
|
||||||
displace = displace.replace(/ /g, ' space ');
|
displace = displace.replace(/ /g, ' space ');
|
||||||
cvox.Api.speak(displace, 1);
|
cvox.Api.speak(displace);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue