Do not make the buffer dirty when moving the cursor.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5583 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2002-11-05 09:55:55 +00:00
parent ff2e998822
commit 0ea628140a
4 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
* text3.C (dispatch): Do not make the buffer dirty when moving the
cursor.
2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
* vc-backend.C: STRCONV

View File

@ -1,3 +1,8 @@
2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
* formulabase.C (lfunMouseRelease): Do not make the buffer dirty
when releasing the first mouse button.
2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
* math_inset.C (asString): STRCONV

View File

@ -305,7 +305,7 @@ Inset::RESULT InsetFormulaBase::lfunMouseRelease(FuncRequest const & cmd)
BufferView * bv = cmd.view();
hideInsetCursor(bv);
showInsetCursor(bv);
bv->updateInset(this, true);
bv->updateInset(this, false);
//lyxerr << "lfunMouseRelease: buttons: " << cmd.button() << "\n";
if (cmd.button() == mouse_button::button3) {

View File

@ -575,7 +575,7 @@ Inset::RESULT LyXText::dispatch(FuncRequest const & cmd)
bool is_rtl = cursor.par()->isRightToLeftPar(bv->buffer()->params);
if (!selection.mark())
bv->beforeChange(this);
update(bv);
update(bv, false);
if (is_rtl)
cursorLeft(bv, false);
if (cursor.pos() < cursor.par()->size()
@ -598,7 +598,7 @@ Inset::RESULT LyXText::dispatch(FuncRequest const & cmd)
bool const is_rtl = cursor.par()->isRightToLeftPar(bv->buffer()->params);
if (!selection.mark())
bv->beforeChange(this);
update(bv);
update(bv, false);
LyXCursor const cur = cursor;
if (!is_rtl)
cursorLeft(bv, false);