[orca] Also check for "underline:spelling" as indication of spelling error



commit bbb6f96f6808198ad514584f7d8e57a4e3ed10e1
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Jul 22 10:12:00 2019 -0400

    Also check for "underline:spelling" as indication of spelling error

 src/orca/script_utilities.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index 143a630d4..44df20847 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -2728,7 +2728,7 @@ class Utilities:
             return True
         if attributes.get("text-spelling") == "misspelled":
             return True
-        if attributes.get("underline") == "error":
+        if attributes.get("underline") in ["error", "spelling"]:
             return True
 
         return False


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]