<div dir="ltr"><div>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.</div>
<div>thanks for your patience,</div><div>mike<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 7, 2013 at 11:37 AM, Miklos Vajna <span dir="ltr"><<a href="mailto:vmiklos@suse.cz" target="_blank">vmiklos@suse.cz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<div class="im"><br>
On Wed, Aug 07, 2013 at 09:27:30AM -0500, James Michael DuPont <<a href="mailto:jmdpplks@gmail.com">jmdpplks@gmail.com</a>> wrote:<br>
> from what I have seen, I can only get a list of redlines back , but have no<br>
> easy way to find out what redline matches a given point text unless I<br>
> search through them and match the ranges. Please tell me if I missed<br>
> something?<br>
<br>
</div>If you iterate through the paragraphs and (inside paragraphs) text<br>
portions, then all you have to remember is if you are inside a redline<br>
or not. So you don't have to match ranges or keep a list of redlines<br>
manually.<br>
<br>
What are you trying to do what is not possible with this approach?<br>
<span class=""><font color="#888888"><br>
Miklos<br>
</font></span></blockquote></div><br></div></div></div>