| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/editing.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing.js
|
| index 4a729cbc796c57e6e57fc24d73607204c2235fb2..fdaae35208ca355be84628daa4f8b443a57c98d6 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing.js
|
| @@ -391,9 +391,13 @@ AutomationRichEditableText.prototype = {
|
|
|
| /** @override */
|
| describeSelectionChanged: function(evt) {
|
| - // Ignore end of text announcements.
|
| - if ((this.start + 1) == evt.start && evt.start == this.value.length)
|
| + // Note that since Chrome allows for selection to be placed immediately at
|
| + // the end of a line (i.e. end == value.length) and since we try to describe
|
| + // the character to the right, just describe it as a new line.
|
| + if ((this.start + 1) == evt.start && evt.start == this.value.length) {
|
| + this.speak('\n', evt.triggeredByUser);
|
| return;
|
| + }
|
|
|
| cvox.ChromeVoxEditableTextBase.prototype.describeSelectionChanged.call(
|
| this, evt);
|
|
|