From b2a2f82210a167f591d88da64666b63790aaeec5 Mon Sep 17 00:00:00 2001 From: Bill Dengler Date: Mon, 18 Oct 2021 14:13:33 -0400 Subject: [PATCH 1/2] Remove deprecated isImprovedTextRangeAvailable and fix doc comment. --- source/NVDAObjects/UIA/winConsoleUIA.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/source/NVDAObjects/UIA/winConsoleUIA.py b/source/NVDAObjects/UIA/winConsoleUIA.py index c05e1c53845..0b51ba249c8 100644 --- a/source/NVDAObjects/UIA/winConsoleUIA.py +++ b/source/NVDAObjects/UIA/winConsoleUIA.py @@ -361,15 +361,8 @@ def _get_windowThreadID(self): threadID = super().windowThreadID return threadID - def _get_isImprovedTextRangeAvailable(self): - log.warning( - "winConsole.isImprovedTextRangeAvailable is deprecated and will be " - "removed in NVDA 2022.1. Please use apiLevel instead." - ) - return self.apiLevel >= WinConsoleAPILevel.IMPROVED - def _get_TextInfo(self): - """Overriding _get_ConsoleUIATextInfo and thus the ConsoleUIATextInfo property + """Overriding _get_TextInfo and thus the ConsoleUIATextInfo property on NVDAObjects.UIA.UIA ConsoleUIATextInfo bounds review to the visible text. ConsoleUIATextInfoWorkaroundEndInclusive fixes expand/collapse and implements From 82aba61488fba035a6f8ffae3521155a6c82e1e7 Mon Sep 17 00:00:00 2001 From: buddsean Date: Wed, 20 Oct 2021 09:16:03 +1100 Subject: [PATCH 2/2] update changes --- user_docs/en/changes.t2t | 1 + 1 file changed, 1 insertion(+) diff --git a/user_docs/en/changes.t2t b/user_docs/en/changes.t2t index 2efdd5334db..7fd01f694d7 100644 --- a/user_docs/en/changes.t2t +++ b/user_docs/en/changes.t2t @@ -18,6 +18,7 @@ What's New in NVDA == Changes for Developers == - Note: this is a Add-on API compatibility breaking release. Add-ons will need to be re-tested and have their manifest updated. +- ``NVDAObjects.UIA.winConsoleUIA.WinConsoleUIA.isImprovedTextRangeAvailable`` has been removed. Use ``apiLevel`` instead. (#12955, #12660) -