duchain: on updating the duchain

Hamish Rodda rodda at kde.org
Thu Jan 22 06:46:52 UTC 2009


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?

Cheers,
Hamish.




More information about the KDevelop-devel mailing list