Skip to content

Commit

Permalink
Remove _getTextLines entirely, as this PR has been retargetted for 20…
Browse files Browse the repository at this point in the history
…21.1.
  • Loading branch information
codeofdusk committed Dec 8, 2020
1 parent 47b0c13 commit b4f65fe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions source/NVDAObjects/behaviors.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,6 @@ def _getText(self) -> str:
The base implementation uses the L{TextInfo}.
However, subclasses should override this if there is a better way to retrieve the text.
"""
if hasattr(self, "_getTextLines"):
log.warning("LiveText._getTextLines is deprecated, please override _getText instead.")
return '\n'.join(self._getTextLines())
ti = self.makeTextInfo(textInfos.POSITION_ALL)
return self.diffAlgo._getText(ti)

Expand Down

0 comments on commit b4f65fe

Please sign in to comment.