Bug 160555 - Automplete \ref{ complete error
Summary: Automplete \ref{ complete error
Status: RESOLVED FIXED
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: 2.0.1rc1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Thomas Braun
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-08 12:44 UTC by Paul Weaver
Modified: 2008-05-13 11:50 UTC (History)
1 user (show)

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 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