On Mon, Feb 2, 2015 at 8:12 PM, Rainer M Krug <[email protected]> wrote:
> James Smith <[email protected]> writes: > > > Jean-Marc Lasgouttes Sun, 01 Feb 2015 14:44:19 -0800 > > > > That's terribly weird. Could this be completion playing tricks? > > Although I do not see this happening.Can you give us details (LyX > > version, platform...). We never had a report like this one.If you want > > to find all these occurrences in your document, I guess it is possible > > with advanced search and replace and regular expressions. > > > > Using a regular expression worked well a treat to find the double words. > I > > had a feeling I could programmatically use the feature but didn't know > how > > to implement the search like that. > > > > I have now removed all that were in the master document and will now see > if > > I can trace when and how any new occurrences are introduced. > > > > For others reference, the way to find double words in the Advanced Find > and > > Replace is with a user defined regular expression that contains: > > > > [[:space:]]([[:alpha:]]+)[[:space:]]\1[[:space:]] > > > > The code was found buried in the 2.1.1 User guide. > > > > Re. The actual double word bug. > > I'm updating to LyX 2.1.2 and hoping that the bug has been inadvertently > > fixed. > > But if it hasn't, now that I have been able to find the double words and > > remove them I should be able to tell if the duplication is related to new > > keystrokes or whether it is the bug is more spurious. > > Please correct me if I am wrong: > I assume that if auto-correct or auto-complete is the cause, you should > see certain words being duplicated, while if it is something else, it > might be random words. > > So knowing which words they are, might be useful in finding out what > caused it? > > Rainer > > > > > Cheers > > James > > -- > Rainer M. Krug > email: Rainer<at>krugs<dot>de > PGP: 0x0F52F982 > I'm not aware of any auto-correct or auto-complete features? I do typically have 'spellcheck continuously' set to on, but I only tuned it on AFTER I started noticing the problem in the hope that it would duplicate a misspelled world and I would catch the duplication happening. The words typically replicated are the short frequently written conjunctions, prepositions and adjectives such as: for, was, in, to, is, with, and, as, on, the, a Other duplicated words I have recently kept note of are: hypothesis, closely, intermediate, agreement Although, there have been a large range of other words that I have removed and cant recall.
