The repro is easy, and I just verified it repros 100% of the time even with a brand-new SlickEdit config (I completely deleted mine, and just chose the default options).
I'm running SlickEdit Pro 2023 (v28.0.2.0 64-bit Qt5)
Just start with a markdown file that contains both PowerShell sections below, so the entire contents of the file is:
```PowerShell
Get-Foo
```
```PowerShell
Get-Foo
```
Now, go onto the line with the second Get-Foo, and have nothing selected. "Cut" the line to the clipboard with <Ctrl-X>. Now, "paste" the line with <Ctrl-V>.
Notice there a space inserted at the beginning of the line. Why?
If you do the same repro on the first Get-Foo, it works correctly.