SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: rowbearto on December 29, 2018, 07:30:58 pm

Title: SmartPaste issue when pasting on other than column 1 using Shift-Down to select
Post by: rowbearto on December 29, 2018, 07:30:58 pm
When I perform a line selection (using shift->down arrow, not using mouse), but then paste when the cursor is not on column 1, the indenting is off.

I have created a test case where you can reproduce this issue. Look for smartpaste.7z on support and follow instructions in README.

This is with Windows 7 x64, 23.0.0.11, hotfix 1
Title: Re: SmartPaste issue when pasting on other than column 1 using Shift-Down to select
Post by: Clark on December 30, 2018, 03:51:08 pm
Please post your user.cfg.xml
Title: Re: SmartPaste issue when pasting on other than column 1 using Shift-Down to select
Post by: rowbearto on December 30, 2018, 04:31:28 pm
The user.cfg.xml file is inside the smartpaste.7z that I originally posted on support. Please follow the README inside it for detailed steps to repro.
Title: Re: SmartPaste issue when pasting on other than column 1 using Shift-Down to select
Post by: Clark on December 30, 2018, 04:37:14 pm
Not sure how I missed step 1  ;D
Title: Re: SmartPaste issue when pasting on other than column 1 using Shift-Down to select
Post by: Clark on December 30, 2018, 10:09:57 pm
Give this version of smartp.e a try. Keep a copy of your original.

I think I've got a good fix for this but I'm a little suspicious only because I was able to simplify the code quite a bit.
Title: Re: SmartPaste issue when pasting on other than column 1 using Shift-Down to select
Post by: rowbearto on December 30, 2018, 11:12:49 pm
Thanks Clark! That does indeed seem to fix it!