Commit Graph

19166 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
53ff578195 * TabularUi.ui
- a hopefully somewhat clearer description of what valign is supposed to do.:

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26382 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-13 14:10:03 +00:00
Abdelrazak Younes
c30878463c Fix silly bug spotted by Vincent in r26372
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26381 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-13 12:16:50 +00:00
Jürgen Spitzmüller
a942cf9e86 * Fix display of horizontal alignment in fixed width tabular cells (bug 3484)
* src/Inset.h:
	- new member content Alignment that indicates whether the content
	  of text insets should be displayed with a specific alignment
* src/TextMetrics.cpp:
	- handle inset's contentAlignment
* src/insets/InsetTabular.{cpp,h}:
	- set contentAlignment for tabular cells.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26380 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-13 10:10:01 +00:00
Uwe Stöhr
6d5a959ade German UserGuide.lyx: fixes by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26379 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-13 00:03:55 +00:00
Uwe Stöhr
91fd0a7ade fix SCons after r26365
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26378 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 23:26:06 +00:00
Uwe Stöhr
f157c4665a fix Japanese UserGuide.lyx dependencies and fix some paths to make it compilable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26377 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 22:51:18 +00:00
Jürgen Spitzmüller
a3392f4088 I/1H\$Hl$Ld$Ll$ Lt$(L|$0H8M
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26376 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 17:25:11 +00:00
Pavel Sanda
5c6f3fbf02 Don't forget to ditribute other files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26375 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 16:26:35 +00:00
Abdelrazak Younes
86e57cba38 breakParagraphConservative(): don't forget to set the inset owner. This is the real fix for bug http://bugzilla.lyx.org/show_bug.cgi?id=5099
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26374 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 14:49:50 +00:00
Jean-Marc Lasgouttes
3387e437a8 Length::inBP returns big postscript points, not pixel width
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26373 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 14:38:03 +00:00
Abdelrazak Younes
0b18d24e56 Get rid of Paragraph::insetAllowed()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26372 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 13:57:15 +00:00
Abdelrazak Younes
6cc68a2663 I forgot this in previous rev.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26371 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 13:43:48 +00:00
Abdelrazak Younes
227ae7c2c7 Get rid of indirections and add a check.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26370 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 13:36:40 +00:00
Abdelrazak Younes
0743708418 Test Paragraph::inInset() before using it. Fixes bug http://bugzilla.lyx.org/show_bug.cgi?id=5099
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26369 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 12:55:35 +00:00
Pavel Sanda
34530817ee Let doxygen document this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26367 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 10:42:23 +00:00
Pavel Sanda
50d997ef50 Forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26366 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 10:36:03 +00:00
Pavel Sanda
34d5322c86 Added UserGuide.lyx from Koji.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26365 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 10:34:35 +00:00
Jean-Marc Lasgouttes
a0f9832049 Remove Makefile.depend from repository, like we did for POTFILES.in. It is
now generated by autogen.sh.

AUTOTOOLS USERS, PLEASE RUN AUTOGEN.SH (did I say that loud enough?)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26364 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 10:23:43 +00:00
Jean-Marc Lasgouttes
a0e1e87603 document Cursor::selHandle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26363 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 10:21:00 +00:00
Pavel Sanda
1d25a38fc1 Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26362 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 02:21:14 +00:00
Pavel Sanda
0cd57df397 Revert unwanted part
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26361 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 02:11:07 +00:00
Pavel Sanda
9ebf6bf506 Depth slider in Outliner is not automatically set at init and after closing last file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26360 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 02:04:42 +00:00
Pavel Sanda
a6df920f6b Try to fix the rest of bug http://bugzilla.lyx.org/show_bug.cgi?id=5082 .
(Initialize dialogs after lyx launch).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26359 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 02:02:56 +00:00
Richard Heck
bb11f79ca0 I need some sleep.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26358 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-11 21:35:26 +00:00
Richard Heck
7380e914d4 Fix bug: TOC depth slider wasn't reset when switching to empty documents.
This doubly fixes the previous bug, too.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26357 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-11 21:15:45 +00:00
Richard Heck
e2b8ea875d Fix bug reported by Helge. Vincent found the problem, really, which was a
pair of uninitialized variables. The reason the crash doesn't happen when 
you open the User Guide is that they get set in TocModel::populate() before 
the slider's maximum value is fixed. It was setting that value to some huge
number that caused the problem.

I've added an assertion to make sure we don't run into this kind of problem
again. Probably not necessary, but it can't hurt.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26356 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-11 21:02:18 +00:00
Pavel Sanda
426a9acbf0 notes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26355 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-11 20:05:48 +00:00
Jürgen Spitzmüller
9b99e7be2c Fix rest of bug 4886, following Richard's advices.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26354 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-10 16:02:32 +00:00
Richard Heck
e16468d72e Revert 26348 and 26350. Wrong solution.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26353 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-10 14:36:38 +00:00
Jürgen Spitzmüller
623308f1e9 * src/insets/InsetTabular.cpp:
- correct LaTeX output for alignment in fixed width multicolumn cells
	  (bug 1747).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26352 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-10 12:49:08 +00:00
Abdelrazak Younes
c1fdb12118 n-th bug fixing patch from Vincent:
Almost all methods in the GuiPainter class have something like
 
if (!isDrawingEnabled())
  return;
 
except GuiPainter::fillRectangle(...) !!
 
Adding this will solve
 
gmane.editors.lyx.devel/109857
gmane.editors.lyx.devel/109859
http://bugzilla.lyx.org/show_bug.cgi?id=4937
http://bugzilla.lyx.org/show_bug.cgi?id=5027
http://bugzilla.lyx.org/show_bug.cgi?id=5235
 
Maybe also:
http://bugzilla.lyx.org/show_bug.cgi?id=5230


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26351 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-09 21:01:18 +00:00
Richard Heck
e3b15701a7 Forgot this part.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26350 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-09 18:46:38 +00:00
Richard Heck
3bb9c0d34d Fix bug 4886.
Introduce OutputParams::inTableCell, to track when we are in a table cell.
Use this information to output \newline rather than \\ when in one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26349 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-09 18:42:17 +00:00
Richard Heck
e78347a673 Restore toggling behavior to math bold.
I've left mathbf in the symbols file. We should perhaps restore it as something that can be toggled.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26348 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-09 17:50:37 +00:00
Edwin Leuven
fab42d011c fix sideways scrolling in tabulars with nested insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26347 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-09 14:12:08 +00:00
Jürgen Spitzmüller
a4610848dc * GuiSearch.cpp:
- Texts that are entered in the search and replace fields of the
	   GuiSearch dialog are added to the bottom of the ComboBox. With this
	   patch they are added to the top as it probably most intuitive.
	   (patch from Vincent)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26346 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-09 13:20:44 +00:00
Jürgen Spitzmüller
8c097556d5 * GuiRef.cpp:
- The GuiRef dialog does not respond to keyboard events if the
	  reference list is empty. This is because the reference list has the
	  focus proxy and is disabled when the list is empty. Therefore I removed
	  the focus proxy from the list if it is disabled.
	  (patch from Vincent)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26345 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-09 13:18:36 +00:00
Uwe Stöhr
d00594931c German EmbeddedObjects.lyx: remove a doubled label
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26344 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-09 08:54:36 +00:00
Jürgen Spitzmüller
23fdfa2969 de.po: semantic correction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26343 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-09 08:17:36 +00:00
Uwe Stöhr
fbf71d50ee German Math.lyx, UserGuide.lyx: small fixes by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26342 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 22:10:27 +00:00
Uwe Stöhr
eb963540d4 various listings fixes by Vincent, see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg143302.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26341 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 21:51:38 +00:00
Uwe Stöhr
19c8baa1e1 specify a background color for listings and allow the user to change it, patch by Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26340 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 21:38:01 +00:00
Pavel Sanda
9d95e4f708 Update LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26339 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 19:10:23 +00:00
Pavel Sanda
e6a27a4724 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5234 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26338 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 15:46:23 +00:00
Abdelrazak Younes
976bdcbc3b Insert Short Title context menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26337 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 14:22:03 +00:00
Pavel Sanda
433107c95d * contrib
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26336 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 01:46:02 +00:00
Pavel Sanda
c1173eb11c Coding style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26335 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 01:18:33 +00:00
Pavel Sanda
4649511c2c Fix for accepting Tab key in shortcut dialog.
Patch from Bo.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26334 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 01:00:58 +00:00
Pavel Sanda
5aa4c26c22 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26333 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 00:28:32 +00:00
Pavel Sanda
cc5d0478c6 Move code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26332 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 00:27:07 +00:00