SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: ahkevin on April 15, 2021, 04:01:42 AM

Title: Documents->Uncomment Lines can not work
Post by: ahkevin on April 15, 2021, 04:01:42 AM
When I use Documents->Uncomment Lines, it just uncomment the first line.

OS: Windows 10 x64
SlickEdit Pro 2020 (v25.0.1.0 64-bit)  with  hotfix_se2501_6_cumulative.zip (Revision: 6)
Title: Re: Documents->Uncomment Lines can not work
Post by: Dennis on April 15, 2021, 02:20:05 PM
If you want to uncomment a block of line comments, you will need to select it first.

I agree that the name "Uncomment Lines" (plural) is misleading, and perhaps Uncomment Lines should do more if there is no selection.  I will file a future feature request for us to re-address that.
Title: Re: Documents->Uncomment Lines can not work
Post by: ahkevin on April 16, 2021, 02:43:53 AM
Yes, I select lines all, but only uncomment first line.
I remember V25.0.0.0 not having this problem.
Title: Re: Documents->Uncomment Lines can not work
Post by: Dennis on April 16, 2021, 02:07:17 PM
You'll have to provide an example, maybe this is language specific.
Title: Re: Documents->Uncomment Lines can not work
Post by: ahkevin on April 19, 2021, 03:28:23 AM
C language.
Please look at the video in attachments.
Title: Re: Documents->Uncomment Lines can not work
Post by: Dennis on April 19, 2021, 02:15:56 PM
I see what is happening in the video, but I can not reproduce that.  I guess this has to do with your configuration settings.  What editor key emulation are you using?

Does this still happen to you if you start the editor in a default configuration?

   [installation_path]\win\vs.exe +new -sc C:\temp\defcon1\

Try opening the Sample C++ project, select lines, and comment / uncomment.
Title: Re: Documents->Uncomment Lines can not work
Post by: ahkevin on April 20, 2021, 02:39:53 AM
I use VIM emulation. it works in default configuration.
Maybe my configuration was somethings wrong.
Title: Re: Documents->Uncomment Lines can not work
Post by: Dennis on April 20, 2021, 03:16:09 PM
Attach your user.cfg.xml from your SlickEdit configuration directory and I'll try to reproduce the issue.