Open
Description
Steps to reproduce
-
Open a existing script file with CRLF end of line sequence.
-
Move cursor to the end of the file.
-
In the integrated console run
$chars = $psEditor.GetEditorContext().CurrentFile.GetText().ToCharArray()
$chars.ForEach{
$psEditor.GetEditorContext().CurrentFile.InsertText($PSItem)
Start-Sleep -Milliseconds 50
}
The file will be reproduced character by character, but with double lines.