SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: spongyryno on September 08, 2021, 03:16:26 pm

Title: PowerShell embedded inside markdown doesn't go to the 1st column
Post by: spongyryno on September 08, 2021, 03:16:26 pm
If I'm editing a markdown file, and I create some embedded code, like:

Code: [Select]
```C++
```

As soon as I hit <ENTER> after the ```C++ line, it brings me to the first column, as expected.

If I do the same thing for almost any language, I get the same correct results.

However, if I do "PowerShell", it doesn't work. On <ENTER>, the cursor goes down 1 line, but stays in the exact same column. The syntax formatting appears to work, but this doesn't.

What am I doing wrong?
Title: Re: PowerShell embedded inside markdown doesn't go to the 1st column
Post by: Clark on September 10, 2021, 12:31:47 am
What version of SlickEdit are you running? I tried 25.0.2 and wasn't able to reproduce this.
Title: Re: PowerShell embedded inside markdown doesn't go to the 1st column
Post by: spongyryno on September 26, 2021, 04:16:03 am
I'm using 25.0.2.

I wiped out my entire configuration directory to start clean. It's 100% reproducible. Just create a MD file consisting of the following:

Code: [Select]
```PowerShell
```

On the line with the word "PowerShell", go to the end of the line and hit <ENTER>. You'll be on the next line, but not in column 1. You'll be in column 14.

Title: Re: PowerShell embedded inside markdown doesn't go to the 1st column
Post by: Clark on September 26, 2021, 12:24:34 pm
Still can't reproduce this. Started with a clean config.
Title: Re: PowerShell embedded inside markdown doesn't go to the 1st column
Post by: Clark on September 27, 2021, 05:34:44 pm
Reproduced. Needed a different test case. I should have had you post a test file.

Added a hot fix for this. Will go in next hot fix build.