Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the last letter in the word "SlickEdit":
How many LETTERS are in the following? "a1b2c3":
Which number is missing?  "12345689":

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Clark
« on: June 17, 2024, 09:51:32 PM »

I'm not able to reproduce this but maybe I'm not following what you are saying needs to be done to reproduce this.

What happens with a default config: vs -sc c:\temp\newconfig

Please post a sample file instead of copy/paste.

Please post your user.cfg.xml.

Email support if you prefer
Posted by: spongyryno
« on: June 17, 2024, 08:40:13 PM »

This is a negative side-effect of this: https://community.slickedit.com/index.php/topic,19187.msg

If you don't apply that, the "switch" keyword doesn't get formatted as a keyword. But if you do, you get another bad behavior:

Create a new PowerShell script, such as foo.ps1.

Copy/paste the following code to define the parameters this script will take:

Code: [Select]
param(
[string]$Variable1,
[int]$Variable2,
[bool]$Variable3,
[switch]$Variable4,
[string]$Variable5,
[int]$Variable6,
[bool]$Variable7,
[switch]$Variable8
)

Now, one by one, go to the end of each parameter line and hit <enter>. Note how they all work correctly except for the switch one.

Can we get this fixed?