Menu

#2410 Multiple Selections: remove selection at random position

Feature_Request
closed-fixed
nobody
5
2023-12-27
2023-11-03
Yaron
No

Using Notepad++.

Create multiple selections.
Would it be possible to add a way to remove a selection at a random position?

Thank you.

Discussion

  • Neil Hodgson

    Neil Hodgson - 2023-11-03
    • Group: Bug --> Feature_Request
     
  • Neil Hodgson

    Neil Hodgson - 2023-11-03

    See current SciTE which adds Drop Selection to the context menu.

     
    • Yaron

      Yaron - 2023-11-03

      That's a nice solution indeed.
      I still think that another way (keyboard/mouse no menu) would be useful.

      Thank you!

       
  • Neil Hodgson

    Neil Hodgson - 2023-11-23
    • labels: --> scintilla, selection
     
  • Neil Hodgson

    Neil Hodgson - 2023-11-23

    Committed Ctrl+Click to drop selection with [3ca229].

     

    Related

    Commit: [3ca229]

    • Michael Heath

      Michael Heath - 2023-12-02

      @nyamatongwe

      I was about to create a bug ticket about Ctrl+Drag not copying the selection when I traced the bug back to this open topic concerning [3ca229]. I may need to revert it locally as it is an undesirable change.

      Ctrl+Click currently makes Ctrl+Drag unavailable because as soon as I try to drag the selection to copy to a new position while holding down the Ctrl key, it drops the selection. Destroying an existing feature for a new feature is not what I consider as an improvement. I use Ctrl+Drag on selections quite often.

      Can this patch be reconsidered as losing an existing useful primary feature is not interesting when already have a context menu in SciTE and an entry could be added to Notepad++ context menu that can do the new behaviour of dropping a selection?

       

      Related

      Commit: [3ca229]


      Last edit: Michael Heath 2023-12-02
      • Neil Hodgson

        Neil Hodgson - 2023-12-03

        Start drag then press Ctrl.

         
        • Michael Heath

          Michael Heath - 2023-12-05

          Thanks for the tip. I have already reverted my local copy and compiled. The issue with the patch applied is that when done multiple times, then it's drag, ctrl down, drop, ctrl up, drag, ctrl down, drop, ctrl up... where as previously only had to hold down ctrl to do several drag'n'drops.

           
  • Yaron

    Yaron - 2023-11-24

    This should be a nice and useful improvement.
    I'll test it when the new version is available.

    Thank you for your work.

     
  • Neil Hodgson

    Neil Hodgson - 2023-12-23
    • status: open --> open-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2023-12-25
    • status: open-fixed --> closed-fixed
     
  • Yaron

    Yaron - 2023-12-27

    @nyamatongwe,

    I've tested it with Sc541. Great.
    Thank you for your work.

     
    👎
    1

Log in to post a comment.

MongoDB Logo MongoDB