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

rowbearto

  • Senior Community Member
  • Posts: 1483
  • Hero Points: 113
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: 4933
  • Hero Points: 403
Please post your user.cfg.xml

rowbearto

  • Senior Community Member
  • Posts: 1483
  • Hero Points: 113
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: 4933
  • Hero Points: 403
Not sure how I missed step 1  ;D

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4933
  • Hero Points: 403
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: 1483
  • Hero Points: 113
Thanks Clark! That does indeed seem to fix it!