mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
ff2e998822
commit
0ea628140a
@ -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
|
||||
|
@ -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
|
||||
|
@ -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) {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user