[orca] Attempt to identify autocompleted text in entries
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Attempt to identify autocompleted text in entries
- Date: Fri, 18 Oct 2019 15:59:51 +0000 (UTC)
commit b38b3df17726b5b008cdce21adade151f75eecec
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Oct 18 11:58:51 2019 -0400
Attempt to identify autocompleted text in entries
src/orca/script_utilities.py | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index c0e72149f..9f242e705 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -3326,6 +3326,12 @@ class Utilities:
if lastKey in ["Up", "Down", "Page_Up", "Page_Down"]:
return self.isEditableDescendantOfComboBox(event.source)
+ string = event.source.queryText().getText(0, -1)
+ if string.endswith(event.any_data):
+ selection, start, end = self.selectedText(obj)
+ if selection == event.any_data:
+ return True
+
return False
def isSentenceDelimiter(self, currentChar, previousChar):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]