Bug 160555

Summary: Automplete \ref{ complete error
Product: [Applications] kile Reporter: Paul Weaver <p.j.weaver>
Component: generalAssignee: Thomas Braun <thomas.braun>
Status: RESOLVED FIXED    
Severity: normal CC: thomas.braun
Priority: NOR    
Version: 2.0.1rc1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Paul Weaver 2008-04-08 12:44:40 UTC
Version:           2.0.1rc1 (using KDE 3.5.9)
Installed from:    Fedora RPMs
OS:                Linux

- type "\ref{"
- auto-complete correctly suggests that I want "\ref{key}"
- hit enter to confirm and add the text
- kile adds "\ref{key}" after "\ref{" to give "\ref{\ref{key}"

this behaviour doesn't occur with other macros such as \cite{key} or \label{key} which function correctly (when I hit enter, autocomplete adds "key}")
Comment 1 Thomas Braun 2008-04-13 19:41:21 UTC
SVN commit 796505 by tbraun:

revert old codecompletion fix from 771425 because it created more problems as it solved

add new very hackish codecompletion fix. I tried for half an hour an didn't find any regressions.
And I also hope that our users do also not :)

These two bugs are in principle fixed with this commit, but I wait until it it confirmed
CCBUG: 155044
CCBUG: 160555




 M  +8 -3      codecompletion.cpp  
 M  +0 -1      kileviewmanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=796505
Comment 2 Thomas Braun 2008-05-13 11:50:42 UTC
Hello,

this bug is closed in kile version 2.0.1.

Bye,
Thomas