[PATCH] Allow C&P from file revision in hgweb without also copying line numbers

Laurens Holst laurens.nospam at grauw.nl
Tue Oct 11 18:59:18 CDT 2011


Op 12-10-2011 1:15, Jordi Gutiérrez Hermoso schreef:
> 2011/10/11 Laurens Holst<laurens.nospam at grauw.nl>:
>> Let me make sure if I understand correctly, you’re trying to change the
>> behaviour of *triple-clicking* on the line?
> No.
>
> I want to make it possible to copy and paste code from the filerev
> view without getting the line numbers.

But that’s already perfectly possible? Click to the right of the line 
number, drag to the right, release.

The only time when a line number is selected is when you either 
triple-click on a line to select it, which selects the whole line 
including line number, or when selecting multiple lines. If you’re not 
triple-clicking, how else do you select a complete line at once?

The suggestion I posted will also make triple-clicking select just the 
content part without resorting to tables.

Selecting the content of multiple lines by ctrl-dragging like is 
possible in the annotate view (although it inserts empty lines so is 
kinda worthless) is not possible in your patch, that doesn’t work across 
tables, so there’s no improvement in that regard.

~Laurens

-- 
~~ Ushiko-san! Kimi wa doushite, Ushiko-san nan da!! ~~
Laurens Holst, developer, Utrecht, the Netherlands
Website: www.grauw.nl. Working @ www.roughcookie.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4332 bytes
Desc: S/MIME cryptografische ondertekening
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20111012/63b2fb78/attachment.bin>


More information about the Mercurial-devel mailing list