[...]<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sorry, I forgot one piece:<br>
<br>
-1. select a word with the mouse double click,<br>
0. copy it with CTRL+C<br>
<div>1. do a text search in a file<br>
2. keep the search dialog open<br>
3. select one or more lines dragging the mouse with left button pressed<br>
4. close the search dialog<br>
5. paste the selected text by pressing the central mouse button<br>
</div>6. the first word (selected with CTRL+C) is pasted instead of that<br>
selected with the mouse<br>
<div><br></div></blockquote><div><br></div></div><div>Sadly this is a fight between the two ways of doing things, copy (ctrl+c) and paste(ctrl+v) and select/paste with middle button. There is still much religious debate as to how (if) the two should interact, search any relevant GTK list :( I'm sure KDE has or has had similar discussions. At the moment the current thinking seems to be that a clipboard takes precedence over the selection, so the text you copied takes precedence over the text you selected. Personally I would have kept the two disconnected, but that confuses many people and copy/paste doesn't work with some applications (like any terminal window). This behaviour happens inside Scintilla/GTK and is poorly documented and possibly even changes between versions of GTK (Scintilla is generally rather more stable but doesn't document its behaviour either) and is beyond our control in any case.</div>
<div class="im">
<div><br></div></div></div></blockquote><div><br></div><div>And I forgot to mention that with the current Git and GTK 2.24.10, GLib 2.32.3 it works as we seem to agree it should, you don't mention which version you are using.</div>
<div><br></div><div>Cheers</div><div>Lex</div><div><br></div><div>[...]</div></div>