[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: duchain: on updating the duchain
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2009-01-23 18:37:15
Message-ID: 757d9a550901231037je4e014cy3db85a0151620c75 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thu, Jan 22, 2009 at 7:46 AM, Hamish Rodda <rodda@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@kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>

[Attachment #5 (text/html)]

<br><br><div class="gmail_quote">On Thu, Jan 22, 2009 at 7:46 AM, Hamish Rodda <span \
dir="ltr">&lt;<a href="mailto:rodda@kde.org">rodda@kde.org</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div><div></div><div \
class="Wj3C7c">On Thursday 22 January 2009 14:17:24 Aleix Pol wrote:<br> &gt; hi \
list,<br> &gt; CMake&#39;s having some problem with the smart cursors (I think).<br>
&gt;<br>
&gt; I can load and edit a cmake file just fine, but if I add N lines (for<br>
&gt; example) and I save (then reparse) the file, the highlighted ranges are<br>
&gt; located N lines after where they should be.<br>
&gt;<br>
&gt; Any hint about how to solve that? :)<br>
<br>
</div></div>It sounds like your parser is passing the wrong editor revision, and \
the<br> ranges are being translated inappropriately... i guess that the \
highlights<br> above the insert point are ok?<br>
</blockquote><div>Yes they are. <br></div><blockquote class="gmail_quote" \
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; \
padding-left: 1ex;"><br> Cheers,<br>
Hamish.<br>
<br>
_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" \
target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
 </blockquote></div><br>



_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic