Open
Description
Currently if you are making a lot of changes to the same file you need to either use Start-Sleep
after each call or watch FileContext
for the changes to show. Otherwise it won't be inserted in the correct position.
This can be demonstrated by running:
# These characters will be inserted in a random order.
'abcdefg'.ToCharArray() | % { $psEditor.GetEditorContext().CurrentFile.InsertText($_) }