Commit Graph

22161 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
ebe7913a47 Only allow the cursor to be in lastpos for macros as editing in macro-mode is only possible at lastpos.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30396 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:16:21 +00:00
Vincent van Ravesteijn
ebe9b42279 Fix crash when selecting part of a macro and trying to resume macro-mode editing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30395 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:13:07 +00:00
Jürgen Spitzmüller
bca1c1b92b * PreambleUi.ui:
- fix bug #3936: Paste into preamble gives wrong font size.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30394 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:12:28 +00:00
Vincent van Ravesteijn
abdb069f9e Remove unneeded check for cur.pos() > 0.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30393 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:12:08 +00:00
Vincent van Ravesteijn
fb57c00c0d Fix bug #6015: Macro with arguments is not finished when pressing space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30392 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:08:14 +00:00
Vincent van Ravesteijn
5b888f0bc9 Wrong casing...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30391 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 22:14:47 +00:00
Vincent van Ravesteijn
e02afb345a Fix bug #4509: Default focus of SearchUi should be "Find Next".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30390 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 22:11:05 +00:00
Jean-Marc Lasgouttes
5784b88f65 Patch from Ben M.: do not accept key events if we do not know what these keys
stand for.

This fixes bug #6043: Windows multimedia keys intercepted



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30389 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 16:14:20 +00:00
Enrico Forestieri
14c5adf034 Better fix for #6049 and similar cases with other math insets.
In order to fix #6047, I needed a further mode other than MATH_MODE
and TEXT_MODE. In this mode, LyX should have behaved as in TEXT_MODE
but should also have allowed math mode commands. Well, this mode was
already implemented in LyX as UNDECIDED_MODE. Currently, this mode is
used nowhere except in the strange case where a math hull is not
present. It cannot be created by any other mean than editing a .lyx
file and getting rid of the $...$ math delimiters. This kind of
file can be reloaded in LyX and you would see a strange math formula
in text mode outside of mathed. Of course, trying to latex this file
would cause errors. After this commit, this strange mode is still
possible, but now all math insets correctly declare that their mode
is math mode (instead of undecided, and unless they state otherwise)
and bugs such as #6049 are fixed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30385 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 00:48:07 +00:00
Enrico Forestieri
e8ecb8b483 Fix bug #6049: Mathed: spacebar misbehavior while typing fractions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30384 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 23:50:16 +00:00
Jürgen Spitzmüller
46fdf8dbac talking about famous last words?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30382 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 16:39:23 +00:00
Jürgen Spitzmüller
eae7f31aaf * one (hopefully) final casing fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30379 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 16:27:19 +00:00
Jürgen Spitzmüller
91fd085b07 * clarify and apply Title Casing rules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30378 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 16:24:04 +00:00
Enrico Forestieri
25de97c019 Fix shortcuts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30377 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 14:41:06 +00:00
Enrico Forestieri
1e59816df5 Fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30376 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 14:35:40 +00:00
Jean-Marc Lasgouttes
5ba54be043 unused #includes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30373 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 13:58:25 +00:00
Enrico Forestieri
d178fabe24 Refinements to fix for bug #6041.
- Fix display of centered vertical alignment status.
- Avid else branch and simply return early (conforms to the used style).
- Smash unnecessary debug output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30372 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 13:36:34 +00:00
Jürgen Spitzmüller
668b4d8fc1 * LyX.cpp: add missing line break; spotted by Jean-Pierre Chrétien.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30367 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 08:37:44 +00:00
Jürgen Spitzmüller
56a7e127ad * InsetInclude.cpp: typo spotted by Jean-Pierre Chrétien.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30366 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 08:34:55 +00:00
Jürgen Spitzmüller
888ba2d171 fr.po: update by Jean-Pierre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30365 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 08:32:49 +00:00
Enrico Forestieri
0b219d2541 Fix bug #6041: "tabular-feature align-" in a math-matrix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30363 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 00:24:17 +00:00
Abdelrazak Younes
db1a03d598 Fix eol.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30362 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-04 23:19:50 +00:00
Abdelrazak Younes
35712af243 Document change to LFUN_WORD_REPLACE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30361 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-04 23:17:38 +00:00
Abdelrazak Younes
b8e5440bef LFUN_WORD_REPLACE: Invert replacement and searched strings in the FuncRequest argument. This is to allow replacement of current word even if it is not selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30360 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-04 23:02:27 +00:00
Abdelrazak Younes
b8c470d55f Spellchecker Bug fix: found word was not filled in.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30351 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-04 18:00:01 +00:00
Abdelrazak Younes
c95f44b0b1 GuiSpellchecker: add 'Find Next' and 'Replace All' buttons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30350 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-04 17:15:27 +00:00
Uwe Stöhr
93ea135eb5 Italian Intro.lyx: another typo spotted by users
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30348 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-04 12:08:58 +00:00
Uwe Stöhr
b66f024c2c Italian Intro.lyx: two typos spotted by a user
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30345 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-04 00:16:53 +00:00
Uwe Stöhr
bc870d3bcd symbols: typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30342 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-03 12:40:03 +00:00
Uwe Stöhr
a555fcaa92 symbols: now that we support mhchem, also supports its commands visibly in LyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30341 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-03 12:33:00 +00:00
Enrico Forestieri
0a90c42b86 Fix bugs #6047, #4043, and #5394.
6047: Lyx 1.6.3 unable to typeset the third chemical equation of the
      file mhchem.lyx (package mhchem)
4043: mhchem support
5394: support for the mhchems's \ce command
The \ce and \cf insets are text mode environments that allow entering
spaces and mathmode commands. LyX leaves them alone and doesn't try to
be smart, i.e., the behaviour is exactly the same we had in the old days
with text-in-math mode environments, before the introduction of the
\ensuremath and \lyxmathsym macros. This means that in those environments
one has to know what he is doing, as LyX will not offer any protection.
The hack of enclosing \ce and \cf in a \text{} environment in order to
be able to enter spaces is no longer necessary.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30338 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-03 00:05:58 +00:00
Uwe Stöhr
7e2391c64c UserGuide.lyx: remove an obsolete sentence; spotted by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30336 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-02 12:42:13 +00:00
Uwe Stöhr
ec146287dc Spanish documentation and translation updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30334 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-02 12:29:02 +00:00
Jürgen Spitzmüller
7664ae5347 * PrefLanguageUi.ui: correct tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30329 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-01 08:26:06 +00:00
Enrico Forestieri
0d6f47799c LyX works with automake 1.11, as far as I can tell after testing it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30328 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 23:35:08 +00:00
Enrico Forestieri
68d936250e Add some cygwin stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30327 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 23:28:48 +00:00
Pavel Sanda
f5df95c8b6 Make Vincent happy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30326 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 18:33:33 +00:00
Uwe Stöhr
fc3f7b6575 SCons: sort
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30319 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 11:57:28 +00:00
Jürgen Spitzmüller
7720592b2d * GuiApplication.cpp (readUiFiles):
- only reset settings if a file with Toolbars has changed. This should significantly decrease
	  the number of circumstances where the settings are lost unnecessarily.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30317 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 11:00:16 +00:00
Uwe Stöhr
7f163c0117 EmbeddedObjects.lyx: new section about subfloats (This is already explained elsewhere but users requested to have it here with an example that every type can have subfloats and to have an example for the two different placements.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30315 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 09:35:48 +00:00
Uwe Stöhr
a8c427f51d Spanish EmbeddedObjects.lyx: update by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30313 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 08:38:49 +00:00
Vincent van Ravesteijn
c4feab5f13 Cosmetics, squeeze some warnings, remove unused code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30310 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 00:10:55 +00:00
Vincent van Ravesteijn
c0ac23512e Cosmetics and constify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30309 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 23:43:23 +00:00
Jean-Marc Lasgouttes
4594b1425b add onoff support for "inset-modify changetype xxx" in include inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30305 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 12:41:43 +00:00
Jürgen Spitzmüller
2efcbb74d6 * do not change name of QSettings config file on LyX version change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30301 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 08:44:32 +00:00
Jürgen Spitzmüller
74aad3cb41 * stdmenus.inc: revert unintended change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30297 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 06:27:12 +00:00
Jürgen Spitzmüller
bf2567b44f * Standardize Capitalization. Skip the controverse AMS environments for now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30296 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 06:19:21 +00:00
Pavel Sanda
4c15e3fb55 Squash warn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30294 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 22:12:16 +00:00
Pavel Sanda
0bde349a04 Capitalize
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30293 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 22:02:47 +00:00
Pavel Sanda
336164a9ce typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30292 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 21:53:31 +00:00