Updating of documents/duchain is kinda flaky

Milian Wolff mail at milianw.de
Thu Apr 23 23:33:00 UTC 2009


On Thursday 23 April 2009, Andreas Pakulat wrote:
> Hi,
>
> using kdelibs from this morning and up-to-date kdevplatform/kdevelop I
> notice that there's quite some disturbance when editing documents wrt.
> duchain. I often seem to completely loose all parsed information on a
> document (leaving me without highlighting and code-completion). I can
> usually bring this back to work by simply adding/removing some
> whitespace and saving the document in between.
>
> Whats even worse this also seems to happen to #include'd files in which
> case the .cpp also looses highlighting but I first need to make the
> parser realize the include is correct. That is, sometimes I edit my C++
> file and suddenly no highlighting, I switch to the header and no
> highlighting there either.
>
> David, any suggestions how to provide better information than the above?
> Background parser has a 500ms delay here running on three threads with
> Q4.5/KDE4.3. Oh and I also sometimes notice what Thomas McGuire said in
> one bugreport, that the parser doesn't seem to wait until he restarts
> the parsing. Specifically when I'm editing a line without using
> completion I see the progressbar flashing rapidly.

I can't reproduce your first bugreport (still using KDE 4.2) but the second one 
regarding the delay not being taken into account I _can_ reproduce.

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090424/3eca1fef/attachment.sig>


More information about the KDevelop-devel mailing list