Commit Graph

28030 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
729ac126be * LaTeXFeatures.cpp (getI18nPreamble):
addition to r37974: if English is used as a secondary language, we have to propose an English translation,
	since the original string is in the document's main language!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37975 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 11:39:02 +00:00
Jürgen Spitzmüller
a9878d52ed * LaTeXFeatures.cpp (getI18nPreamble):
- do not propose translations for bultin floats (they are translated anyway)
	- only propose translations for floats if we have something different to the English source

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37974 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 10:50:43 +00:00
Pavel Sanda
ef0c490d4d Yet another update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37973 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 10:49:11 +00:00
Pavel Sanda
ab96e1c4df * fr.po from Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37972 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 10:49:08 +00:00
Kornel Benko
4f8f2057f3 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37971 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 08:23:33 +00:00
Kornel Benko
903c7d36ae Remerge sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37970 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 08:23:12 +00:00
Vincent van Ravesteijn
19263a634b Fix bug #7314: Workareas not redrawn. This is caused because the current_workarea doesn't get updated anymore while LyX is busy. However, when LyX stops being busy, the current workarea might have changed, and we are missing out on an update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37969 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 19:20:42 +00:00
Vincent van Ravesteijn
c07bd1ab52 Fix bug #7261: Assertion when moving up
There are two possibilities to add an Inset to the CoordCache:
- 1), use CoordCache::add(Inset * p, int x, int y),
- 2), use CoordCache::add(Inset * p, Dimension dim).

In the latter case, the x and y are happily initialized as 0.
Also, when one call CoordCache::has(Inset * p), it will happily
return true because the cache knows something about this inset.

In #7261, LyX asked for the (x,y) position of an Inset and
received (0,0) as an answer, although that is not the position
of the Inset.

By adding some defaults for x,y in case of initializing with
dim only will give an extra check whether the cache really
"has" the position object.

In the long run, we might want to split the cache for
dimensions and positions.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37968 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 17:54:21 +00:00
Jürgen Spitzmüller
a360fcd220 whitespace only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37967 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 17:52:00 +00:00
Jürgen Spitzmüller
900b896fdc * Menus.cpp: fix accelerator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37966 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 16:16:49 +00:00
Vincent van Ravesteijn
559fd36cb5 Fix bug #7362: Typo in installer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37965 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 15:46:41 +00:00
Vincent van Ravesteijn
75f45e3912 Add mnemonic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37964 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 14:56:54 +00:00
Vincent van Ravesteijn
2b689dd834 Fix bug #7275: Overcrowding of context menus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37963 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 14:55:32 +00:00
Jürgen Spitzmüller
7f0671f069 * lyx.pro: remove non-existant files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37962 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 13:16:45 +00:00
Vincent van Ravesteijn
49459f6fc4 Fix bug #7345: Crash when right clicking on displayed math with selection
Two things have been fixed here:
1) the selection should not be cleared when the user right clicks a math inset that is part of the selection,
2) the type of context menu should be determined at mouse-press, because that is the moment when the cursor is set. However, we should do it after setting the cursor, because setting the cursor might change the selection status and this influences the choice for the type of context menu.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37961 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 13:14:13 +00:00
Vincent van Ravesteijn
72ad0bdfbf Simplify logic in InsetRef::latex().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37960 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 10:37:24 +00:00
Vincent van Ravesteijn
eec88b7e5e Revert wrong previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37959 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 10:34:59 +00:00
Vincent van Ravesteijn
e52af5f897 Simplify logic in InsetRef::latex().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37958 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 10:31:43 +00:00
Enrico Forestieri
c6eca6e90b Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37957 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 22:02:07 +00:00
Georg Baum
d40c9f0548 Fix the reset buttom for the greyed out text color:
Reset to the default greyed out text color, not to the note background color


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37956 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 21:13:05 +00:00
Richard Heck
8eaed90043 Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37955 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 18:56:05 +00:00
Enrico Forestieri
397c03b433 Fix bug #7361 (Assertion when a latex error occurs in the first (empty) paragraph)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37954 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 17:26:17 +00:00
Jürgen Spitzmüller
6169919428 * de.po: update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37953 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 16:52:09 +00:00
Jürgen Spitzmüller
d999c98bad * GuiPrefs.cpp: no need to exclude greyedouttext and shaded colors from prefs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37952 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 15:12:03 +00:00
Kornel Benko
a3d7011a50 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37951 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 14:53:20 +00:00
Kornel Benko
95d6dd8456 Remerge sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37950 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 14:52:57 +00:00
Jürgen Spitzmüller
45b6349139 * GuiDocument.cpp: do not hardcode colors that can be redefined in prefs..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37949 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 14:40:38 +00:00
Jürgen Spitzmüller
b7ac0ee143 * GuiDocument.cpp: make strings translatable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37948 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 14:11:36 +00:00
Stephan Witt
291c5c91ec #7357 correct the numbers by introducing two modes of word count
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37947 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 12:50:09 +00:00
Jürgen Spitzmüller
85f486f259 * InsetSpecialChar.cpp:
make NOBREAKDASH isLetter()

* Paragraph.cpp (isWord separator):
	handle composites with hyphens as one word (i.e., "-" is not a word separator).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37946 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 09:17:09 +00:00
Richard Heck
2ae247285c Initialize variable. Possibly related to Jurgen's weird crashes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37945 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 01:28:52 +00:00
Tommaso Cucinotta
5619a45daf Checks that r37943 keeps doing its job.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37944 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 00:48:32 +00:00
Tommaso Cucinotta
62411b7c0f Fixes a weird bug found while playing with #7363.
Indeed, unchecking ignore format in that scenario was not matching anyway while searching.
This patch fixes that behavior.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37943 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 00:47:42 +00:00
Pavel Sanda
cfc6226f37 Add note from Joost
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37942 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 00:15:52 +00:00
Pavel Sanda
58998e6163 * id.po from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37941 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-17 22:17:43 +00:00
Stephan Witt
0afeabb969 #7357 avoid an endless loop in countWords() when the "to" position is inside skipped text (e. g. note inset)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37940 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-16 17:58:27 +00:00
Stephan Witt
07ef381914 correct shift of spell results when erasing the last character in range
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37939 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-16 13:54:36 +00:00
Edwin Leuven
571b779b23 fitcursor in r37929 was not enough for side scrolling tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37938 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-15 18:43:09 +00:00
José Matox
89bf17bfec Do not crash if the input file does not exist, instead warn and exit (fixes https://bugzilla.redhat.com/show_bug.cgi?id=595618)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37937 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-15 18:17:42 +00:00
Jürgen Spitzmüller
101cabc355 thinko.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37936 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-15 13:36:48 +00:00
Jürgen Spitzmüller
266399ef83 typos in comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37935 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-15 13:27:08 +00:00
Jürgen Spitzmüller
ff829bd92b Follow-up to r37932: We do not need a skipOnSearch variable, since we know the conditions anyway.
Thanks, JMarc,

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37934 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-15 13:19:55 +00:00
Jürgen Spitzmüller
ee6e5b784d * Inset.h: try to clarify isLetter() and isChar() a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37933 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-15 11:26:14 +00:00
Jürgen Spitzmüller
8fa96ceec8 Do not hardcode specific insets, but use a variable instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37932 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-15 10:46:14 +00:00
Stephan Witt
5866504aba #7350 more checks to validate the DocIterator before calling locateWord() in checkNewWordPosition()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37931 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-15 10:27:41 +00:00
Jürgen Spitzmüller
aa86ff6401 * de.po: resolve shortcut conflict
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37930 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-15 09:53:15 +00:00
Edwin Leuven
9d4678b663 update when cursor leaves screen while navigating large tables using the arrows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37929 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-15 08:54:46 +00:00
Tommaso Cucinotta
fd1f71be2d A few typos in IT translations easily found opening these documents with the real-time spellchecker enabled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37928 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-15 07:53:45 +00:00
Peter Kümmel
6a6706ca67 add link about msvc10 bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37927 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-14 23:26:55 +00:00
Peter Kümmel
142774716c cmake: install prefix is a path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37926 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-14 23:26:28 +00:00