Le 18/04/12 12:48, lasgout...@lyx.org a écrit :
Author: Jean-Marc Lasgouttes<lasgout...@lyx.org>
Date: Wed, 18 Apr 2012 12:44:31 +0200
New Commit: a117a51226537d202ee264fedc125de9b8c957b1
URL: 
http://git.lyx.org/?p=lyx.git;a=commit;h=a117a51226537d202ee264fedc125de9b8c957b1

OK for branch?


Log:
In replaceSelectionWithString, do not select the new string

This is a patch from Scott Kostyshak. The problem it solves is as follows:

1. enable continuous spell check.
2. type a misspelled word and press space so that it has a wavy red underline.
3. right-click and choose a suggested replacement word.
4. press the backspace button.

Result: nothing happens. If you press the backspace button again, then it works 
as normal.

The selection code was added for the benefit of the spellchecker, but the code 
has been rewritten since then.


Reply via email to