On Sun, Oct 13, 2013 at 6:41 AM, Tommaso Cucinotta <tomm...@lyx.org> wrote:
> On 13/10/13 01:49, Scott Kostyshak wrote:
>> Should this checkbox have a tooltip (every other one in the dialog
>> does). Perhaps the tooltip could specify that "all math environments
>> are searched", if that is indeed true.
>
> I just committed this
>
> +        <property name="toolTip">
> +         <string>Restrict search to math environments only</string>
> +        </property>
>
>> Another thing that could be
>> specified is if text within math environments is searched. I remember
>> there were some issues with spellchecking these, for example.
>
> What do u mean by "text within math environments" ? Pls, provide some
> sample lyx file and let's see ... But at a glance, I'd say it will
> match anything within math environments, including text contained
> therein. However, that is too much and you need to distinguish more,
> then you can disable ignore format in combination with this new
> checkbox, and have fun :-). For example, this way I verified one
> can match inline environments $...$ versus \[...\] ones.

I was referring to something like

     $x\text{here is what I refer to as "text"}$

Advanced find treats the text inside "\text" the same as it treats
math. This is fine with me. I was just wondering if the tooltip should
make clear whether only the "math" x inside of $$ is found or also the
x inside of "\text" in math. Your tooltip to me makes it clear that
anything within a math environment is searched.

Scott

Reply via email to