matteo.gazzoni wrote:A line cannot be selected triple clicking it, why?
but the "why not!?" attitude is not good
tgkeul wrote:but the "why not!?" attitude is not good
I don't see a bad attitude. It's just a question!![]()
Maybe it's a culture clash?
matteo.gazzoni wrote:Because most of the programs that deal with text (Notepad does not deserve to be called program) have that shortcut.
Edit: and by the way, anyone knows why st selects, in addition to the line chosen, the beginning of the line after?
#IfWinActive, ahk_class SKMainWindowClass
~*LButton::
{
if clickCount > 0
{
clickCount += 1
return
}
clickCount = 1
SetTimer, clickHandler, 400
return
clickHandler:
SetTimer, clickHandler, off
if clickCount = 3
{
;Triple click detected, send Ctrl+L shortcut to select the line...
SendEvent, ^l
}
clickCount = 0
return
}
#IfWinActivekveldulv wrote:As for CTRL+L, my vote/suggestion would be to make currently selected line lower-case. I've seen that elsewhere and it makes sense.
<binding key="ctrl+l" command="lowerCase"/>Users browsing this forum: Google [Bot] and 15 guests