Hi all,

I have a same kind of undesired behaviour.

When using the scrollwheel (is mouse button 2) enthusiastically, it happens 
sometimes that I press to hard on the mouse wheel. And then some text that is 
still in the paste buffer is pasted in my code. But by scrolling down or 
upwards rapidly, I do not see it happen. But at compile time I discover the 
erroneous insertion.

Is it possible to switch off that way of pasting selected text text?

Luuk Kuiper

 

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Thorbjørn Lindeijer
Sent: 30 September 2009 12:19
To: [email protected]
Subject: Re: [Qt-creator] Please disable Ctrl + Mouse 1 hotlink whileselecting 
text.

ext Arto Karppinen wrote:
> Ctrl + Mouse 1 hotlink thingy is usefull, but in my use it usually 
> gets triggered when i don't want to jump to the symbol.
> 
> Consider the following case:
>   Mouse 1 down  to drag and select text.
>   Ctrl + c      to copy text.
> 
> 
> Now if im editing text in a hurry, and press Ctrl down a split second 
> too soon, QtCreator detects it a as hotlink press, and i end up 
> somewhere i did not want to go. The sequence is something like this
>   Mouse 1 down
>   Drag mouse
>   Ctrl down
>   Mouse 1 up
>   C button down
> 
> Which means that instead of 'Select + Copy', i get 'Select + Jump to 
> somewhere'.

This is indeed broken, I will try to tweak it so that a link only works when it 
is "clicked" (so it needs to get both a press and a release on the same link 
while Ctrl is down).

> Could you please disable Ctrl + Mouse 1 hotlink, while text is being 
> selected? Or better yet, give me a checkbox to disable the whole thingy.

The checkbox is already there, you can find it in Text Editor -> Display 
-> Navigation. I will move that to the 'Behavior' page, which should
make it easier to find.

Regards,
Bjørn

-- 
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Development Frameworks

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to