Commit Graph

19145 Commits

Author SHA1 Message Date
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
Pavel Sanda
375a2e6e1c Add completion-accept lfun.
Fixes first part of http://bugzilla.lyx.org/show_bug.cgi?id=5062 .

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg143281.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26331 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 00:24:47 +00:00
Stefan Schimanski
f6084eaaa9 * LFUNs complete and complete-cancel. No key interception anymore. For now you have to bind the two LFUNs yourself.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26330 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 00:13:55 +00:00
Uwe Stöhr
d0bb35a626 scons/SConstruct: fix a SCons warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26329 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-07 21:59:12 +00:00
Jürgen Spitzmüller
6875fa60be cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26328 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-07 16:13:24 +00:00
Pavel Sanda
809ed31d54 Fixing inline completion, Vincent strikes back :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26327 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-07 15:54:06 +00:00
Jürgen Spitzmüller
36967c8887 * linguistics.module:
- small correction.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26324 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-07 11:58:32 +00:00
Jürgen Spitzmüller
ecfc6d413e * po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26323 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-07 11:54:45 +00:00
Jürgen Spitzmüller
546b56edc5 * linguistics.module:
- add float for Optimality Theory tableaux.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26322 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-07 11:54:13 +00:00
Uwe Stöhr
8a13b98f4b German UserGuide.lyx: updates for LyX 1.6.0 by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26321 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-07 10:34:28 +00:00
Uwe Stöhr
9a57449f40 GuiWorkArea.cpp: allow to navigate in tables with the Tab key, patch by Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26320 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-06 21:10:59 +00:00
Pavel Sanda
033a218640 * cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26318 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-06 17:02:17 +00:00
Uwe Stöhr
56ab248fb3 remerge po-files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26317 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-06 16:18:20 +00:00
Uwe Stöhr
09301c42c1 German UserGuide.lyx, EmbeddedObjects.lyx: tiny fixes by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26316 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-06 16:05:37 +00:00
Stefan Schimanski
8314b93c04 * enter new macro template and select the name. This save a lot of keystrokes to remoe the long default name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26315 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-06 15:10:23 +00:00
Stefan Schimanski
849b405c73 * typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26314 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-06 15:10:10 +00:00
Abdelrazak Younes
d577bf8c4a Simplify InsetQuotes ctor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26313 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-06 14:12:38 +00:00
Abdelrazak Younes
a5d7f0504d Pass Buffer in InsetQuote ctor. Patch fro Richard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26312 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-06 14:04:01 +00:00
Abdelrazak Younes
2bd480132a fix crash: Copying the paragraphs invalidate the referenced Buffer so a new setBuffer() would be necessary, in it preferable and faster to just use a const ref.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26311 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-06 13:49:10 +00:00
Uwe Stöhr
d38b11b29a UserGuide.lyx: describe some new menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26310 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-06 01:48:22 +00:00
Uwe Stöhr
5bfe9d61b5 scons_manifest.py: fix SCons after r26304, Enrico, please also take care of SCons when changing files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26309 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-05 21:49:34 +00:00
Abdelrazak Younes
009bd5b8ff GuiApplication::resetGui(): clear out Mac nenubar before deletion, just in case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26307 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-05 12:42:47 +00:00