make inset-toggle leave the cursor after float when it closes it (for complaints about ert inset ease of use)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@4715 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-07-19 21:50:57 +00:00
parent d3124e69c1
commit a8d5616ac9
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* text2.C (toggleInset): if cursor is inside an inset, close the
inset and leave cursor _after_ it
2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
* text.C (drawChars): Fix Arabic text rendering.

View File

@ -436,6 +436,7 @@ void LyXText::toggleInset(BufferView * bview)
&& inset_owner->owner()->isOpen()) {
bview->unlockInset(static_cast<UpdatableInset *>(inset_owner->owner()));
inset_owner->owner()->close(bview);
bview->getLyXText()->cursorRight(bview);
}
return;
}

View File

@ -25,6 +25,10 @@ What's new
- new option `keep aspect ratio' in graphics dialog
- when the cursor is inside a collapsable inset, `Edit>Open/close
float' will leave it after the inset after closing it (this should
help entering of ERT insets)
- update finnish, danish, french and russian localizations
- update Tutorial to 1.2.x features