Bug 174003 - latex autocompletion stops working after writing 3 letters inside the keylist brackets
Summary: latex autocompletion stops working after writing 3 letters inside the keylist...
Status: RESOLVED FIXED
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-31 23:16 UTC by ozkan
Modified: 2008-11-21 00:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ozkan 2008-10-31 23:16:06 UTC
Version:           2.0.0 (using KDE 3.5.10)
Compiler:          latex 
OS:                Linux

I come up with this bug when I write "\re", choose "\ref{key}" from the autocompletion list and then write "sec" inside the brackets poped up, then press the right button to get out of the brackets and then delete the command.

After doing these, the autocompletion property didn't work, and I had to restart kile to fix it (after loosing lots of time to understand what caused it). This bug happens also when you choose other commands that comes with a keylist and write anything inside the brackets up to 3 letters.

I was using only latex autocompletion

Thanks, and good luck,

Ozkan
Comment 1 Thomas Braun 2008-11-21 00:09:34 UTC
SVN commit 887046 by tbraun:

BUG: 164231
BUG: 174003

Again some codecompletion fun :)
This bug was hidden quite deeply but due to the help of  
Russell W. Howell <howell@*> and one one my flatmates the error could be spotted and solved.
Thanks!

This patch should be tested some more, although it didn't show up any drawbacks at our testing.

the patch:
the error is that if m_ref is true but the m_inprogress false the internal state was inconsistent and therefore the
completion list didn't show up anymore after inserting letters. This is fixed now.

Happy Testing!


 M  +11 -1     codecompletion.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=887046