mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-14 17:39:58 +00:00
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:
parent
d3124e69c1
commit
a8d5616ac9
@ -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>
|
2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
|
||||||
|
|
||||||
* text.C (drawChars): Fix Arabic text rendering.
|
* text.C (drawChars): Fix Arabic text rendering.
|
||||||
|
@ -436,6 +436,7 @@ void LyXText::toggleInset(BufferView * bview)
|
|||||||
&& inset_owner->owner()->isOpen()) {
|
&& inset_owner->owner()->isOpen()) {
|
||||||
bview->unlockInset(static_cast<UpdatableInset *>(inset_owner->owner()));
|
bview->unlockInset(static_cast<UpdatableInset *>(inset_owner->owner()));
|
||||||
inset_owner->owner()->close(bview);
|
inset_owner->owner()->close(bview);
|
||||||
|
bview->getLyXText()->cursorRight(bview);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -25,6 +25,10 @@ What's new
|
|||||||
|
|
||||||
- new option `keep aspect ratio' in graphics dialog
|
- 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 finnish, danish, french and russian localizations
|
||||||
|
|
||||||
- update Tutorial to 1.2.x features
|
- update Tutorial to 1.2.x features
|
||||||
|
Loading…
Reference in New Issue
Block a user