and default modules. The lesson, in the end, is that we need to do all the
removal of modules that no longer `fit', for whatever reason, before we
do anything else. So the patch basically just moves the `removal' code
into a new routine that gets called before the routines that add default
modules and then check consistency.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27281 a592a061-630c-0410-9148-cb99ea01b6c8
We want to do all the excluding before we do any of the adding.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27278 a592a061-630c-0410-9148-cb99ea01b6c8
avoid the ugly blue line).
Fixes part of http://bugzilla.lyx.org/show_bug.cgi?id=5348
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27267 a592a061-630c-0410-9148-cb99ea01b6c8
http://bugzilla.lyx.org/show_bug.cgi?id=5407
This patch makes insetfloat search its styles using "Float:<floatname>" (or
"Float" if this fails). This allows to define a default behaviour for new
floats that makes sense.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27266 a592a061-630c-0410-9148-cb99ea01b6c8
Gui is not setup yet when the file is opened from clicking on it in Finder
with a closed LyX. We have to wait until the batch commands are executed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27264 a592a061-630c-0410-9148-cb99ea01b6c8
* module names and descriptions might contain non-ASCII chars, so
we must use translateIfPossible instead of the native _().
Alas, some manual conversion is necessary.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27248 a592a061-630c-0410-9148-cb99ea01b6c8
- use bformat for proper syntactic translatability
(the tooltips of this inset look rather weird in generals, though).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27242 a592a061-630c-0410-9148-cb99ea01b6c8
* TocBackend.cpp (updateItem): pass option AS_STR_INSETS to asString,
so that insets get a chance to be displayed in ToC.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27238 a592a061-630c-0410-9148-cb99ea01b6c8
- slightly change FIXME comment. This only applies to the newly added condition.
The other conditions should be left untouched, even if we find a way to access the TeXRow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27237 a592a061-630c-0410-9148-cb99ea01b6c8
* InsetInfo.cpp (updateInfo): insert the text using inherit_font
so that there is not an extra \textsf output to LaTeX; change
"shortcut" to display the first shortcut, not the last (if only
to be consistent with menus).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27234 a592a061-630c-0410-9148-cb99ea01b6c8
* GuiKeySymbol.cpp (print): when asked for Portable representation of
KeySequences, qt outputs Ctrl+x instead of Command-x. Therefore, we
we do it by hand.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27233 a592a061-630c-0410-9148-cb99ea01b6c8