Author Topic: SmartPaste issue when pasting on other than column 1 using Shift-Down to select  (Read 2015 times)

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
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
« Last Edit: December 29, 2018, 07:33:52 PM by rowbearto »

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6865
  • Hero Points: 528
Please post your user.cfg.xml

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
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.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6865
  • Hero Points: 528
Not sure how I missed step 1  ;D

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6865
  • Hero Points: 528
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.

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Thanks Clark! That does indeed seem to fix it!