I am feeling stupid here, so please excuse my ignorance, but I did not find
any api to tell me if the current cursor is in a redline, can you please
point me in the right direction? I just found an api to give me the list of
redlines and have been checking the cursor to see if it is in one of them.
thanks for your patience,
mike


On Wed, Aug 7, 2013 at 11:37 AM, Miklos Vajna <vmik...@suse.cz> wrote:

> Hi,
>
> On Wed, Aug 07, 2013 at 09:27:30AM -0500, James Michael DuPont <
> jmdpp...@gmail.com> wrote:
> > from what I have seen, I can only get a list of redlines back , but have
> no
> > easy way to find out what redline matches a given point text unless I
> > search through them and match the ranges. Please tell me if I missed
> > something?
>
> If you iterate through the paragraphs and (inside paragraphs) text
> portions, then all you have to remember is if you are inside a redline
> or not. So you don't have to match ranges or keep a list of redlines
> manually.
>
> What are you trying to do what is not possible with this approach?
>
> Miklos
>
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to