<div class="gmail_quote">On Thu, Dec 9, 2010 at 3:17 PM, Julien Desgats <span dir="ltr"><<a href="mailto:julien.desgats@gmail.com">julien.desgats@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hey,<br>
I've noticed a particularly disturbing behavior (bug?) on<br>
auto-completion : when you type something while there is characters<br>
after cursor, they are erased until the end of word if you use<br>
auto-completion.<br>
<br>
For instance if you have ("][" is the cursor)<br>
  f][bar(0);<br>
And auto-completion suggest "foo", if you validate that suggestion,<br>
you will get :<br>
  foo(][0);<br>
As you can see, the "bar" symbol has been erased. I think the correct<br>
behavior should be :<br>
  foo][bar(0);<br>
or<br>
  foo(][bar(0);<br>
<br>
But if you are in the following situation :<br>
  f][ bar(0);  // notice the space between the cursor and "bar"<br>
The result of auto-completion will be :<br>
  foo(][) bar(0);<br>
<br>
As a result, I'm constantly forced to add spaces in such situations to<br>
avoid auto-completion to eat existing symbols !<br>
<br>
So, what do you think about this idea of improvement ?<br>
<br>
Regards,<br>
Julien<br>
<font color="#888888"><br>
--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</font></blockquote></div><br><div>I've considered that many times. It's definitely easy to fix, I like it when I can just change the current word by triggering the completion.</div><div><br></div><div>What do others think?</div>
<div><br></div><div>Aleix</div>