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

List:       lyx-devel
Subject:    Re: feature request
From:       Abdelrazak Younes <younes.a () free ! fr>
Date:       2006-04-09 18:45:54
Message-ID: e1bkp5$f9a$2 () sea ! gmane ! org
[Download RAW message or body]

Leuven, E. a écrit :
>> i am not able to adjust the selection. 
> 
> this solved it:
> 
> ++cur.anchor_.pit();
> 
> ...
> 
> now only need to go from paragraph to pariterator to check for the counter update...

I had to do that in text.C. Cursor inherits DocIterator so you can use 
that. "ParIterator it(cur)" should do the trick.

Abdel.

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

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