Since #7677 was merged:
In the NVDA Python console (NVDA+control+z):
```python console
In a Word document (accessed VIA UIA, positioned on the start of the text "My name is Carlos"):
ti=nav.makeTextInfo("caret")
ti.expand("word")
ti.text
'My '
ti.collapse() # Make a degenerate range (move end to start)
ti.move("word", 1)
1
ti.expand("word")
ti.text
'name '
ti.collapse()
ti.move("word", -1)
-1
ti.expand("character")
ti.text
'M' # GOOD
### conhost
```python console
>>> # Now, in Conhost
>>> ti=nav.makeTextInfo("caret")
>>> ti.expand("word")
>>> ti.text
'C:\\Users\\codeofdusk>My '
>>> ti.collapse() # Make a degenerate range (move end to start)
>>> ti.move("word", 1)
1
>>> ti.expand("word")
>>> ti.text
'name '
>>> ti.collapse()
>>> ti.move("word", -1)
-1
>>> ti.expand("character")
>>> ti.text
' ' # BAD
Cc @carlos-zamora.
@DHowett Any chance this could be 21H1 instead?
I split up your codeblock and introduced section headers because I got a bit confused when reading it.
@codeofdusk I renamed the "21H1" milestone to "Windows vNext". They mean the same thing, but the new name doesn't use our internal version designators or make any guarantees about when it's going to be released. :smile:
:tada:This issue was addressed in #7770, which has now been successfully released as Windows Terminal v1.4.3141.0.:tada:
Handy links:
:tada:This issue was addressed in #7770, which has now been successfully released as Windows Terminal Preview v1.5.3142.0.:tada:
Handy links: