Author Topic: how can I change the what gets selected on double-click?  (Read 250 times)

pbrightly

  • Community Member
  • Posts: 42
  • Hero Points: 6
how can I change the what gets selected on double-click?
« on: May 18, 2021, 08:42:47 pm »
Since WSL-bash has become my primary command line, I sort of LOVE how a double click on a filename selects the entire pathname or anything between whitespace. Makes it easy to cut/paste to my notes, code, etc.
I'd like the same behavior in Slick.  Perhaps context-sensitive to the file type.  Slick seems tuned for code, looking for identifiers and excluding operators like [./-:\].
Is there a variable or proc I can change for this?

Graeme

  • Senior Community Member
  • Posts: 2639
  • Hero Points: 330
Re: how can I change the what gets selected on double-click?
« Reply #1 on: May 18, 2021, 10:24:34 pm »
In the key bindings dialog you will see there are 5 bindings for LDoubleClick.  For "default" mode the binding is mou-select-word.  You can write your own macro and bind to any of the mouse actions - including wheel scroll.  In the keybindings dialog, click the little blue mouse icon near the "search by key sequence" edit box to see them.