duchain: on updating the duchain

Aleix Pol aleixpol at kde.org
Fri Jan 23 18:37:15 UTC 2009


On Thu, Jan 22, 2009 at 7:46 AM, Hamish Rodda <rodda at kde.org> wrote:

> On Thursday 22 January 2009 14:17:24 Aleix Pol wrote:
> > hi list,
> > CMake's having some problem with the smart cursors (I think).
> >
> > I can load and edit a cmake file just fine, but if I add N lines (for
> > example) and I save (then reparse) the file, the highlighted ranges are
> > located N lines after where they should be.
> >
> > Any hint about how to solve that? :)
>
> It sounds like your parser is passing the wrong editor revision, and the
> ranges are being translated inappropriately... i guess that the highlights
> above the insert point are ok?
>
Yes they are.

>
> Cheers,
> Hamish.
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090123/7a67805f/attachment.html>


More information about the KDevelop-devel mailing list