mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug #6736: 2.0.0 alpha 3, spell check on the fly bug
This bug is related to the fact that the cusor remember the current font. The on-the-fly spell status should really not be kept in the Font object, but rather in metrics, IMO. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35041 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
15f9312d80
commit
b221b0e1fd
@ -2265,7 +2265,9 @@ void Cursor::setCurrentFont()
|
||||
// get font
|
||||
BufferParams const & bufparams = buffer()->params();
|
||||
current_font = par.getFontSettings(bufparams, cpos);
|
||||
current_font.setMisspelled(false);
|
||||
real_current_font = tm.displayFont(cpit, cpos);
|
||||
real_current_font.setMisspelled(false);
|
||||
|
||||
// special case for paragraph end
|
||||
if (cs.pos() == lastpos()
|
||||
|
Loading…
Reference in New Issue
Block a user