FindAdv Language and GuiDocument

2010-01-12 Thread Tommaso Cucinotta
Hello, in an attempt to fix #6171 (weird highlighting of words language in Find/Replace WAs), I came to the attached patch (first one, findadv-lang). Basically, I wanted to copy the same language settings of the document within which the search starts. For example, I'm editing a

FindAdv Language and GuiDocument

2010-01-12 Thread Tommaso Cucinotta
Hello, in an attempt to fix #6171 (weird highlighting of words language in Find/Replace WAs), I came to the attached patch (first one, findadv-lang). Basically, I wanted to "copy" the same language settings of the document within which the search starts. For example, I'm editing a