[orca] Handle a variant of autocompleted text in entry
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Handle a variant of autocompleted text in entry
- Date: Fri, 18 Oct 2019 17:21:30 +0000 (UTC)
commit 9982bd9ef75d52a07847b1bb8746b375a737c2c2
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Oct 18 13:21:05 2019 -0400
Handle a variant of autocompleted text in entry
src/orca/script_utilities.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index a3f406cb5..2eb2880ba 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -3331,6 +3331,9 @@ class Utilities:
selection, start, end = self.selectedText(event.source)
if selection == event.any_data:
return True
+ if string == event.any_data and string.endswith(selection):
+ beginning = string[:string.find(selection)]
+ return beginning.lower().endswith(lastKey.lower())
return False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]