Author Topic: Issue with Horizontal Dynamic Surround - 27.0.0.6  (Read 509 times)

rowbearto

  • Senior Community Member
  • Posts: 2262
  • Hero Points: 132
Issue with Horizontal Dynamic Surround - 27.0.0.6
« on: October 25, 2022, 02:31:25 pm »
Please watch video on support - HorizDynamicSurroundIssue.mkv

The horizontal surround was also very slow just getting the close bracket where it started in the video.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3819
  • Hero Points: 501
Re: Issue with Horizontal Dynamic Surround - 27.0.0.6
« Reply #1 on: December 06, 2022, 02:33:49 pm »
Cursor left / right in horizontal surround, by default, moves word-by-word, however, you can use Shift + Left/Right to move character by character for fine tuning.

However, it would be easier to use if the logic for this were a bit smarter.  I'll tweak the code to have it recognize parens and identifiers and numbers rather than just leaning on next-word/prev-word like it does.  This will be in the next hot fix or 27.0.1, whichever comes first.