Commit Graph

9879 Commits

Author SHA1 Message Date
Richard Heck
4a67bd31bd Fix bug 3461. Add reset_dialog() method that resets the QRef::at_ref_ boolean on dialog close.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17920 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 15:25:02 +00:00
Richard Heck
05ba87fe7a Fix case of BibTeX keys and remove unused variable. By myself and Bernhard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17919 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 15:18:01 +00:00
Abdelrazak Younes
898d0f05dd fix std::endl declaration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17917 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 13:12:23 +00:00
Jean-Marc Lasgouttes
c33d6344fd remove outdated "status" file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17915 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 09:35:28 +00:00
Abdelrazak Younes
bc92746781 * In the process of fixing the math background color bug, this commit transfer backgroundColor() management from InsetOld to InsetBase; because this will be needed for InsetMath based insets.
* Also transfer InsetBase ctors from .h to .C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17913 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 21:40:10 +00:00
Michael Schmitt
3ac4f80ef4 * src/mathed/BUGS: remove old stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17908 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 10:11:16 +00:00
Michael Schmitt
5756cddc64 * src/frontend/qt4/QLToolbar.C: fix translation of toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17907 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 10:05:17 +00:00
Abdelrazak Younes
058aecf539 fix std declaration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17901 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 08:41:50 +00:00
Jürgen Spitzmüller
c98876b48e Satisfy André's Sprachgefühl.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17900 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 08:37:48 +00:00
Abdelrazak Younes
24c8ca10d2 Trying to solve bug-2452, I optimized some of the most significant problems outlined in the profile report attached in there.
This commit avoids unnecessary metrics recalculations by caching the last LyXFont used. I had to cleanup the width(), ascent() and descend() redundancies by transferring that to InsetBase.

InsetMathDim should go now as it is not really needed.

* InsetBase: properly handle inset Dimension.

* InsetOld: get rid of redundant width(), ascent() and descent()

* InsetMathDim: ditto

* InsetMathChar::metrics(): avoid metrics recalculation if font is unchanged.

* InsetMathSymbol::metrics(): ditto

* InsetMathKern: use InsetBase::dim_ instead of local ones.

* InsetMathSpace:
  - use InsetBase::dim_ instead of local ones.
  - space to width transformation transferred to anonymous namespace.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17899 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 08:26:06 +00:00
Abdelrazak Younes
48744f0fbd Pass the main window (GuiView) to the delimiter dialog so that it is properly handled by the window manager.
* Dialog.h
  - Dialog::Controller::view(): new method.

* QDelimiterDialog::QDelimiterDialog(): pass the Main Window parent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17898 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 07:54:36 +00:00
Abdelrazak Younes
1757d1b1cd * operator==(docstring const & l, char const * r): optimized a bit because it showed a lot in profile.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17897 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 22:39:04 +00:00
Abdelrazak Younes
e841d41a92 Optimisation: remove the inset mailer used in the dtor because it was far from negligible in profile results with Macro (which is a heavy user of thi MathGrid class). This matrix dialog showing/hiding was not working anyway.
* InsetMathGrid::~InsetMathGrid(): deleted.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17896 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 22:33:07 +00:00
Abdelrazak Younes
c9dffa27a2 * InsetMathNest::cell(): inlined because of profile.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17895 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 22:28:21 +00:00
Michael Schmitt
db36eae4c0 * frontends/LyXView.h:
* frontends/qt4/GuiView.C:
	* frontends/qt4/GuiView.h:
	* frontends/qt4/QLToolbar.C:
	* frontends/Toolbars.C:
	* frontends/Toolbars.h:
	* ToolbarBackend.C: use better names for ToolbarInfo variables


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17894 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 17:38:43 +00:00
Michael Schmitt
33f2f32beb * src/frontend/qt4/ui/QDelimiter.ui: add space to unused label such
that no extra entry is created in the po files


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17892 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 15:29:55 +00:00
Michael Schmitt
ec393ad65c * src/frontends/controllers/ControlMath.h: remove reference to
math panel dialog
	* lib/Makefile.am: do not install images/dialog-show_mathpanel.xpm
	* lib/bind/aqua.bind: remove math-panel binding
	* development/scons/scons_manifest.py: remove QMathDialog.C and
	dialog-show_mathpanel.xpm


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17889 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 13:30:27 +00:00
Jürgen Spitzmüller
44b504c45f * src/frontends/qt4/ui/QTocUI.ui: add tooltips.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17888 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 13:22:28 +00:00
Jürgen Spitzmüller
bba7ac2a66 Fix bug 2884 and 3437:
* src/insets/insetbase.h:
* src/insets/insetcollapsable.h:
	- make isFixedWidth (former insetcollapsable member) a member of insetbase.
src/insets/insettext.h:
	- make border_ public (needed by insetcollapsable).
src/insets/insettext.C (draw, drawSelection):
	- adjust drawing for fixed width insets
* src/insets/insetcollapsable.C (metrics):
	- adjust dimension for fixed width insets
src/insets/insetbox.C (metrics):
	- properly calculate metrics for fixed width insets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17879 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 08:43:46 +00:00
Jürgen Spitzmüller
d661baca0a Compilation fixes:
* src/frontends/qt4/iconpallete.h: add missing header
* src/frontends/qt4/Makefile.dialogs: remove removed math panel dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17875 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-20 07:29:02 +00:00
Edwin Leuven
2632fa5d95 * remove old iconpalette (and rename iconpanel to iconpalette)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17873 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 22:01:28 +00:00
Edwin Leuven
22fb43fd8f * removal of math panel
some code is moved from QMath 
  to QDelimiterDialog and QMathMatrixDialog
  for the rest pretty mechanical

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17872 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 21:42:42 +00:00
Edwin Leuven
06cd0adcf6 * include missing header (msvc complains)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17871 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 21:26:38 +00:00
Edwin Leuven
996de70e56 * Action.[Ch]
add signal that provides action when triggered

* ToolbarBackend.[Ch]
	add popupmenu and iconpallete item types

* QLToolbar.[Ch]
	take care of popupmenu and iconpallete

* stdtoolbars.inc
	add panels and menus (and move spellchecker to main ;-)

* functions.xpm
	icon for function list

* iconpalette.[Ch]
	new iconpanel that will replace old iconpalette,
	als subclass of qmenu that updates parent toolbutton


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17868 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 20:29:27 +00:00
Edwin Leuven
f73cedc1d0 * Refactoring of ToolbarBackend.[Ch] into
toolbaritems, toolbar(info) and backend

  stdtoolbars.inc now defines the toolbars inbetween
  a ToolbarSet/End tag just as the menus

* the other files contain straightforward changes
  because of the toolbarbackend refactoring


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17867 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 19:43:15 +00:00
Richard Heck
4ef5d3fb59 Fix some shortcut issues with the converters subdialog. Problem was that some shortcuts defined here are also defined in the main preferences dialog, and some were doubly defined here, too. Also set focus proxy for definitions group box.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17864 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 17:29:59 +00:00
Abdelrazak Younes
2da59470a9 * QCommandBuffer::complete(): Add connection to QListWidget::itemActivated() in order to select in the help list with "Enter".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17863 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 16:43:09 +00:00
Jürgen Spitzmüller
f16d156a63 * src/frontends/qt4/ui/QPrefConvertersUI.ui: lay out in a grid (fixes bug 3476)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17862 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 16:37:39 +00:00
Abdelrazak Younes
789f9e5ee3 Fix bug 2466 by Stefan Schimanski:
If the cursor is currently in macro mode (e.g. the user is typing \fra, but
hasn't finished the command \frac) macros shouldn't be updated.
Another forced screen update is needed if the user leaves macro mode just with
the cursor right key (which doesn't trigger full screen updates itself).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17860 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 13:37:17 +00:00
Abdelrazak Younes
4eb949274d Switch to an Icon View mode in the symbol lists.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17859 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 12:25:58 +00:00
Abdelrazak Younes
00e8a7d13a Fix bug 3460:
http://bugzilla.lyx.org/show_bug.cgi?id=3460

The problem was that the list_items map is ordered by key.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17858 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 08:22:41 +00:00
Michael Schmitt
3c4367e0ac * QDelimiterDialog.C: make "TeX Code:" translatable
* ui/QDelimiterUi.ui: fix (unused) message - single \'s caused gettext problems


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17854 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 19:52:32 +00:00
Michael Schmitt
3f380081e0 * src/frontends/qt4/ui/QPrefConvertersUi.ui: add missing ':' in label
* po/de.po: adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17853 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 19:36:12 +00:00
Abdelrazak Younes
08380ca491 Fix bug 3454 and 3463: Don't allow ill-formed commands. With this commit an error dialog will be shown to the user if the inset parameters were wrong upon creation. This patch uses exceptions.
* factory.C::createInset(): catch eventual exception.
* InsetCommandParams::read(): throw warning exception in case of errors.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17850 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 12:59:07 +00:00
Abdelrazak Younes
ab13c59979 commit again the drawing fix of revision 17826. This was accidentally reverted in revision 17841.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17849 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 09:59:02 +00:00
Abdelrazak Younes
7a3600ac0a Style cleanup and tex code display bug correction.
* bigleft, bigright: move empty item from last to first to synchronize it with GUI representation
* fix_name(): add FIXME for Enrico
* updateTeXCode():
  - move C-style string declaration.
  - simplify empty string  logic.





git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17848 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 09:44:24 +00:00
Uwe Stöhr
3802882900 fix bug 3456 and 3457
http://bugzilla.lyx.org/show_bug.cgi?id=3456
http://bugzilla.lyx.org/show_bug.cgi?id=3457

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17845 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 20:04:15 +00:00
Richard Heck
4fddff272f Fix for bug 3321. Changed error message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17844 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 17:57:57 +00:00
Abdelrazak Younes
1d55e044d0 Fix Andre's name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17842 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 16:58:59 +00:00
Abdelrazak Younes
49395dd85e Real fix for bug 1395 by Stefan Schimanski, this commit replace the one done at revision 17836 which was reverted!
Locking counter added to MacroData: it is increased before drawing/
metric calculations and decreased afterwards in InsetMathMacro. If a  
macro is already locked at that point, "Self reference: \foo" is  
drawn instead of the macro definition to avoid endless loops.  
Moreover inside of the arguments of the macro the counter is  
temporarily decreased as those cases do not cause loops. (fixes bug  
#1395)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17841 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 16:52:43 +00:00
Abdelrazak Younes
86c1053f51 Revert to revision 17835: I applied the wrong tree!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17840 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 16:49:17 +00:00
Abdelrazak Younes
0a1d3c186a style correction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17839 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 16:35:13 +00:00
Abdelrazak Younes
9450626942 Fix compilation. Use BOOST_ASSERT instead of assert()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17838 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 15:59:47 +00:00
Bo Peng
7a854d3a91 Fix bug 2993: mark buffer dirty when the status of a collapsable inset is changed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17837 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 14:35:27 +00:00
Abdelrazak Younes
71e8668375 Fix bug 1395 by Stefan Schimanski:
Locking counter added to MacroData: it is increased before drawing/
metric calculations and decreased afterwards in InsetMathMacro. If a  
macro is already locked at that point, "Self reference: \foo" is  
drawn instead of the macro definition to avoid endless loops.  
Moreover inside of the arguments of the macro the counter is  
temporarily decreased as those cases do not cause loops. (fixes bug  
#1395)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17836 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 13:15:00 +00:00
Jürgen Spitzmüller
8874db5f22 Fix loop when opening TOC widget in an empty document, basically by Richard Heck.
* src/frontends/qt4/TocWidget.[Ch]: 
	- rename enableButtons to enableControls and include slider enabling/disabling
	- only set slider if there is some content

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17835 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 10:27:53 +00:00
Richard Heck
840ee198e2 Captions do not accept alignment, spacing, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17834 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 03:46:55 +00:00
Bo Peng
6f005d2efa Validate DocIterator before setting cursor with it, in moveToPosition
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17831 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 20:47:40 +00:00
Bo Peng
a390aa8fe7 Bookmarks: use bottom level pit and pos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17829 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 19:01:32 +00:00
Georg Baum
9e8f7c38a4 remove unused parameter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17828 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 18:20:49 +00:00
Georg Baum
8971c25508 Prevent invalid latex for multilingual sections and inputenc == auto.
We output the \inputencoding command before the section if possible, and we
ignore all encoding changes in the section. Commands from the unicodesymbols
file will be used for characters that can't be encoded in the current
encoding instead of switching the encoding.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17827 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 18:06:01 +00:00
Abdelrazak Younes
e216ceee77 Fixed bug 3449 by Stefan Schimanski:
http://bugzilla.lyx.org/show_bug.cgi?id=3449

One problem was no metric calculation was done for insets on cursor movement. Of course scrolling or entering character caused the missing metric calls, hence the described behavior in the bug report. This is fixed by re-implementing idxLast(), idxFirst() and notifyCursorLeaves().

Another problem was that 'a' and '1' were drawn at the same position because of a mis-calculation of the x-position in InsetMathMacro::draw().



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17826 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 14:42:53 +00:00
Richard Heck
8c56bd3ac9 Fix compilation problem on some systems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17822 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 19:17:53 +00:00
Bo Peng
9cf5358d7d lastFilePos: save bottom level pit and pos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17814 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 04:50:42 +00:00
Uwe Stöhr
526d7a0936 Add Updownarrow and updownarrow to the delimiter dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17811 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 16:41:55 +00:00
Uwe Stöhr
b0cc76db74 Fix bugs 3458:
http://bugzilla.lyx.org/show_bug.cgi?id=3458

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17809 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 16:19:05 +00:00
Georg Baum
1bec1b4b55 remove unused declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17806 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 11:15:50 +00:00
Georg Baum
f97b5dee78 small doxygen fix, remove unused declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17803 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 10:26:45 +00:00
Edwin Leuven
a2b645cbca layout tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17802 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 09:49:52 +00:00
Richard Heck
c31c84926d Add margin to paragraph dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17798 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 15:25:53 +00:00
Peter Kümmel
c701b8ff65 fix bug 3319: LyX starts offscreen when changing monitor configuration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17796 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 13:42:59 +00:00
Abdelrazak Younes
ab2b590abe fix comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17795 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 11:49:58 +00:00
Abdelrazak Younes
008287fd3d Fix a missing metrics update when clicking within a previewed formula.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17794 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 11:35:11 +00:00
Abdelrazak Younes
ea303561ee Reorder panels in Preference Settings dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17793 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 10:10:10 +00:00
Abdelrazak Younes
919d0e6e02 I forgot this in revision 17786. Hope bug 3450 is really fixed now...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17792 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 09:17:55 +00:00
Abdelrazak Younes
20c5d212ca * QPrefConvertersUi.ui
- change GUI layout in accordance with latest "copiers" and "file format" changes.
  - add converter cache section.

* QPrefsDialog: implement converter cache enabling and maximum age.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17791 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 09:16:06 +00:00
Richard Heck
4502bc5f3d Disable signals on programmatic checks to prevent unnecessary trigger of slots.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17790 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 02:09:50 +00:00
Richard Heck
580ca795dd Redo layout of dialog to solve sizing issue.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17789 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-13 02:07:55 +00:00
Abdelrazak Younes
4d9c1bc296 Fix bug 3450:
http://bugzilla.lyx.org/show_bug.cgi?id=3450
* ControlMath
  - new MathSymbol struct that summarize the symbol attributes (including font and fontcode)

* QDelimiterDialog: 
  - make use of the new MathSymbol for the ListWidget.
  - store the latex name in the tooltip instead of lookup for it.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17786 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-12 16:49:01 +00:00
Georg Baum
7861398f94 remove stupid commented line
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17784 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-12 12:51:29 +00:00
Uwe Stöhr
8725953d78 make LyX compile again after changeset 17776
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17781 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 19:35:35 +00:00
Richard Heck
eb07cac2c3 Changes to paragraph settings dialog so that it offers only
options accepted by the current paragraph.

ui/QParagraphUi.ui
  Changed combo box for alignment to radio buttons. Added
  checkbox for default alignment.
QParagraphDialog.[Ch]
  public:
    void checkAlignmentRadioButtons();
    void alignmentToRadioButtons(LyXAlignment);
    LyXAlignment getAlignmentFromDialog();
  private:
    typedef std::map<LyXAlignment, QRadioButton *> QPRadioMap;
    QPRadioMap radioMap;
  protected Q_SLOTS:
    void change_adaptor();
    void enableLinespacingValue(int);
    void on_alignDefaultCB_toggled(bool);
QParagraph.C
  Rework apply() and update_contents() using new functions just
  mentioned.

Thanks to Abdel for his help.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17776 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 14:04:40 +00:00
Richard Heck
687bc61934 Reorganize dialogs along lines suggested by Abdel to give more room to line edit boxes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17775 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 13:45:44 +00:00
Richard Heck
6bfc69eb38 Add vertical spacer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17774 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 13:44:26 +00:00
Richard Heck
bd4e8ea46c Move alter button to match other dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17773 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 13:42:59 +00:00
Enrico Forestieri
c58f3252e5 Fix remaining issues with big delimiters
* src/mathed/MathSupport.C:
	add "slash" to the decoration table.

	* src/mathed/InsetMathBig.C
	(InsetMathBig::draw): don't remove backslash delimiter.
	(InsetMathBig::isBigInsetDelim): add "\\" and "\slash" to
	the delimiters table.

	* src/frontends/qt4/QDelimiterDialog.C
	(fix_name): return "\\" instead of "\backslash" as that now
	works after the fixes above.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17771 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 00:27:35 +00:00
Jürgen Spitzmüller
05c47c5ff7 * src/BufferView.C (mouseSetCursor): update fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17767 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-10 16:50:19 +00:00
Abdelrazak Younes
b4ef6a87a3 - Work a bit on the layout.
- Set the font used in the lists to Arial, 10.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17766 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-10 14:51:27 +00:00
Jürgen Spitzmüller
1390d4cf2c * src/text3.C (doDispatch):
- add missing undo call to LFUN_QUOTE_INSERT
	  (fixes bug 3439).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17764 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-10 11:25:02 +00:00
Jean-Marc Lasgouttes
0b89afc220 fix cash with Toc widget (when stdlib-debug is on)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17762 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-10 09:15:40 +00:00
Jürgen Spitzmüller
89d2607cf1 * src/rowpainter.C (paintPar):
- only set wide() to true for insets if they are not nested
	  in a non-wide inset (bug 3275)
* src/rowpainter.C (inNarrowInset):
	- new helper func for the above.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17761 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-10 08:20:12 +00:00
Jürgen Spitzmüller
c03a223b76 * src/lyxfunc.C (dispatch):
- do not attempt to toggle math insets via ALL_INSETS_TOGGLE
	  (fixes bug 3358)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17756 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-09 09:31:56 +00:00
Enrico Forestieri
5dc60654bb Fix gui for slash and backslash big/variable size delimiters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17755 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-07 02:07:15 +00:00
Enrico Forestieri
4cd32706e8 Restore the version number position on the splash screen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17754 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-07 01:07:51 +00:00
Abdelrazak Younes
978c87fae7 add GuiView parent to QToc for proper memory management.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17753 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-07 00:04:38 +00:00
Enrico Forestieri
f139b65352 Fix gui for the "|" big delimiter
* src/frontends/qt4/QDelimiterDialog.C
	(fix_name): Return "|" instead of "\|" as this is equivalent to \Vert.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17752 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-07 00:00:32 +00:00
Georg Baum
ed781c2afe prevent the compiler from optimiying away support::Path variables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17751 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 18:03:29 +00:00
Enrico Forestieri
396cb8861a Fix bug 3410 by Georg and me
* src/support/tempname.C
	(tempName): Return FileName in utf8 encoding.

	* src/lyxsocket.[Ch]
	(LyXServerSocket::LyXServerSocket): Use FileName instead of string
	and set the env var LYXSOCKET in the filesystem encoding as this
	is what the client expects.

	* src/support/socktools.[Ch]
	(socktools::listen): Convert to FileName and use the filesystem
	encoding for the file names stored in the sockaddr_un struct.

	* src/client/client.C
	(socktools::connect): Convert to FileName and use the filesystem
	encoding for the file names stored in the sockaddr_un struct.
	(LyXDataSocket::LyXDataSocket, main): Convert to FileName.

	* src/lyx_main.C
	(LyX::exec): Use FileName instead of string in socket code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17749 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 17:38:11 +00:00
Abdelrazak Younes
61023d5649 Fix bug 3413:
http://bugzilla.lyx.org/show_bug.cgi?id=3413

* ui/QNomenclUi.ui
  - description field: replace LineEdit with TexEdit

* QNomencl.C: take care of the \n <-> \\ conversion in the description field.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17748 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 16:27:10 +00:00
Abdelrazak Younes
f9347bc672 Make the delimiters dialog use true unicode symbols instead of pixmaps.
* ControlMath.[Ch]
  - mathSymbol(), texName(): new method for easy access of math symbols and associated TeX names
  - latex_delimiters: allowed delimiters transferred from QDelimiterDialog.C

* QDelimiterDialog.C:
  - makes use of the above.
  - display the TeX code in a label instead of beside the symbol.
 
* QDelimiterUi.ui
  - shrink it so that it could nicely fit in a DockWidget but this doesn't work, the dialog is too large!
  - texCodeL: new label.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17747 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 15:57:32 +00:00
Georg Baum
d4e8fdd703 Use FileName instead of strings in support::Package.
This fixes some encoding problems, and hopefully also bug 3410.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17746 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 13:09:54 +00:00
Richard Heck
675b84c1b0 Fix small bug with new graphics dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17745 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 12:38:23 +00:00
Georg Baum
10a91403f6 remove unneeded lyx qualifier
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17744 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 12:31:33 +00:00
Georg Baum
b2e80ea2a4 remove unneeded lyx qualifier
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17743 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 11:20:09 +00:00
Georg Baum
e10d42a4f5 remove duplicate top_srcdir()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17741 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 09:39:05 +00:00
Jean-Marc Lasgouttes
04efe3c40a New framework for declaring generic features in textclasses.
* src/LaTeXFeatures.C (mustProvide): new method; returns true when
	isRequired is true and the feature is not provided by the
	textclass. 
	(getPackages, getLyXSGMLEntities): use mustProvide when relevant.

	* src/bufferparams.C (getEngine):
	* src/buffer.C (validate): adapt to change below.

	* src/lyxtextclass.C (read): replace tags ProvidesNatbib,
	ProvidesMakeidx, ProvidesUrl and ProvidesAmsmath by a generic
	"Provides".
	(provides): take a string as argument.
	
	* lib/scripts/layout2layout.py (convert): convert "ProvidesXxx" tags
	to "Provides xxx".

	* lib/layouts/*: update to format 4.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17740 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 09:02:23 +00:00
Georg Baum
10271ff520 remove methods that are no longer needed since we have the new bibtex parser
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17739 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 08:48:34 +00:00
Georg Baum
ea1a4a886c Fix dialog interaction with InsetMathRef (leftover from changed
InsetCommandParams)

	* src/mathed/InsetMathCommand.[Ch]
	(CommandInset::createDialogStr): Move to InsetMathRef, since it is
	no longer generic.

	* src/mathed/MathFactory.C
	(createInsetMath_fromDialogStr): Use InsetCommandMailer instead of
	manual parsing. This ensures that the syntax is correct.

	* src/mathed/InsetMathRef.[Ch]
	(InsetMathRef::createDialogStr): Moved here from InsetMathCommand,
	but use InsetCommandMailer.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17738 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 08:30:37 +00:00
Georg Baum
b59c6f48a5 Probably fix bug 3360:
* src/lyxfunc.C
	(LyXFunc::dispatch): Call LFUN_DIALOG_SHOW_NEW_INSET instead of
	LFUN_DIALOG_SHOW, since the former seems to be connected to the last
	open inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17736 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 15:55:04 +00:00
Richard Heck
11697004e8 Fix for bug 3215. All changes in src/frontends/qt4/.
Changed dialog and added routines to deal with an "auto" label
in cases where defaults are used.

ui/MarginsUi.ui: Changed labels for width and height to checkboxes. Removed connections.
checkwidgets.[Ch]: Extended checkedLineEdit routines to take a QWidget.
qt_helpers.[Ch]: 
  Added void lengthToWidgets(QLineEdit *, LengthCombo *, LyXLength const &, LyXLength::UNIT)
  Added void lengthAutoToWidgets(QLineEdit *, LengthCombo *, LyXLength const &, LyXLength::UNIT)
  Added void setAutoTextCB(QCheckBox *, QLineEdit *, LengthCombo *)
validators.[Ch]:
  Added class LengthAutoValidator : public LengthValidator
  Added class DoubleAutoValidator : public QDoubleValidator
QGraphicsDialog.[Ch]
  Added virtual void setAutoText()
  Added virtual void on_WidthCB_toggled(bool)
  Added virtual void on_HeightCB_toggled(bool)
  Used the new functions to set "auto" in default cases and toggle checkboxes as needed.
  Set validator for scale.
  Re-organized connect routines.
QGraphics.C:
  Completely re-worked update_contents().
  Significant changes to apply().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17735 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 14:58:15 +00:00
Richard Heck
21cc83ef2b Fix for bug 3416. Change output routine for geometry package.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17734 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 13:51:42 +00:00
Richard Heck
6a383e5f9b Fix for bug 3401. Updated LFUN_CITATION_INSERT to new format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17733 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 13:49:01 +00:00
Abdelrazak Younes
096b63170a Use case:
1) launch the dialog
2) select a delimiter in the left pane
3) Tab
4) select a delimiter in the right pane
5) Enter

So:
- Also enable the quick insertion while in the right pane
- Do not limit the quick insertion to matched key


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17732 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 12:39:22 +00:00
Abdelrazak Younes
4f135f2dd6 Rework the delimiter dialog:
- ListWidget instead of combo,
- matched delimiters on the same row,
- immediate insertion on "enter" or "double-click" if the 'match' option is checked.
- simplification of the code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17731 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 12:12:07 +00:00
Jean-Marc Lasgouttes
2086684135 * lyxlayout.C (read): set labelstringappendix_ every time
labelstring is set (instead of using this value only as a
	fallback) (bug 3351)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17729 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 10:57:14 +00:00
Abdelrazak Younes
29dacff0f0 Delimiter dilaog: Cleanup the code and rework the dialog a bit.
Most of the change is about using the new private member delimiters_ instead of the "delim" table.  Also, we don't display an icon when the delimiter is one character.
I did not manage to let the combos expand to the maximum.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17727 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 09:26:09 +00:00
Abdelrazak Younes
13ec7e4b74 Fix bug 3420 by Uwe and Enrico.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17726 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 08:10:22 +00:00
Bernhard Roider
4c9121df3b Fix bug 1826 + A more precise parser for bibtex files based on the description found on this web page: http://artis.imag.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html
Most important improvements:
- read file character by character and treat newline like space characters.
  Thus the @ does not need to be at the beginning of a line.
- it reads @string entries and replaces the strings in the field values
- it also handles @comment entries
- it recovers from syntax errors at the next entry starting with @
- it ignores everything between entries


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17723 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 20:06:34 +00:00
Abdelrazak Younes
b7ff6f82de Fix bug 3412:
http://bugzilla.lyx.org/show_bug.cgi?id=3412

* QNomenclDialog::QNomenclDialog(): setting the focus proxy in the Description edit box.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17719 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 16:36:50 +00:00
Abdelrazak Younes
4be4fe2af8 Fix bug 3408 and 3408:
http://bugzilla.lyx.org/show_bug.cgi?id=3408
http://bugzilla.lyx.org/show_bug.cgi?id=3409

The missing redraw was introduced with "Draw only decoration" optimisation in mathed. Setting the flags to Update::Force in case of Preview mode fixes the problem.

* InsetMathHull::notifyCursorLeaves(): set the cursor flags to 'Force'

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17718 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 16:17:24 +00:00
Edwin Leuven
f56c8c83b0 * fix layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17717 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 13:10:38 +00:00
Abdelrazak Younes
ad05708682 remove "BufferView.h"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17716 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 12:58:40 +00:00
Abdelrazak Younes
1c9ea1546d Put file editor and Browse and Edit buttons in the same horizontal layout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17715 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 12:50:20 +00:00
Richard Heck
9fcfc51228 Made sizeHint const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17711 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 21:47:00 +00:00
Richard Heck
bb2afff7d0 Added check for valid size to show().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17709 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 20:45:46 +00:00
Abdelrazak Younes
9aed8cf115 Still trying to solve the Toc panel crash with stdlib-debug enabled gcc.
* ControlToc::update(): get rid of the pure virutal method.
* QToc::initialiseParams(): overload ControlToc method.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17708 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 13:07:38 +00:00
Abdelrazak Younes
e37e918e38 Following r17706:
* Buffer::Impl::messages: deleted

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17707 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 10:50:38 +00:00
Abdelrazak Younes
f4f0707fb2 Small cleanup. updateDocLang() was basically a void function since my paragraph language cleanup.
* Buffer:
  - updateDocLang(): deleted.
  - B_(): use getLanguage() directly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17706 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 10:45:22 +00:00
Georg Baum
f7665c1e11 explain why ownsClipbiard() does not work on Windows and OS X
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17704 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 08:27:23 +00:00
Abdelrazak Younes
3387c00c9d Sync with src/debug.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17703 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 08:17:45 +00:00
Georg Baum
0159c9d6c7 Normalize everything that comes from 'outside' (plain text import,
keyboard input via kmap, clipboard and selection) to normalized form KC
(precomposed characters) since we don't support the decomposed form very
well.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17702 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 08:15:39 +00:00
Uwe Stöhr
f3558df4c2 QGraphicsDialog.C: fix bug that there is no image scale value when keepaspectratio was previously checked
QGraphics.C: remove double entry

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17701 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 02:07:35 +00:00
Georg Baum
329d50d90d Use new isAlphaASCII and isDigitASCII functions instead of isalpha and
isdigit from ctype.h, because the latter are locale dependant and do not
work with char_type.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17698 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-02 15:21:36 +00:00
Georg Baum
3213757e9a remove unused stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-02 12:42:02 +00:00
Abdelrazak Younes
c1b5490f9f Implement Angus suggestion.
* GuiApplication::notify(): try to catch 'normal' exception first.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17696 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-02 10:18:12 +00:00
Angus Leeming
c9744fec96 LYXERR compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17695 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-02 01:12:29 +00:00
Michael Schmitt
16b8db280e * src/frontends/qt4/ui/QTabularUi.ui:
* src/frontends/qt4/QTabular.C: change "Block" to "Justified"
	to avoid translation clash and to align with paragraph settings


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17694 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 21:51:17 +00:00
Michael Schmitt
b8e23e46d0 restore the old LyX banner in preparation of the next release;
replace banner.ppm by banner.png


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17690 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 20:33:40 +00:00
Abdelrazak Younes
e45632d1f8 The error message doesn't need to be translated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17689 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 16:10:12 +00:00
Abdelrazak Younes
7384d0cf67 Fix bug 3288:
http://bugzilla.lyx.org/show_bug.cgi?id=3288

This is recommended by Qt:

Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

* GuiApplication::notify(): reimplemented from QApplication::notify().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17688 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 16:06:43 +00:00
Michael Schmitt
7b31bf784a WS changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17684 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 15:12:19 +00:00
Michael Schmitt
1b591e71b2 remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17683 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 15:09:08 +00:00
Abdelrazak Younes
284e9efab7 Some more cleanup and comments from Iwami and myself.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17682 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 14:56:55 +00:00
Michael Schmitt
ee47f918c2 remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17681 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 14:51:13 +00:00
Michael Schmitt
4823150780 remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17680 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 14:44:10 +00:00
Michael Schmitt
580b243a4c remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17679 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 14:35:42 +00:00
André Pönitz
15b343d8f3 better fix for bug #17652
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17676 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 13:06:41 +00:00
André Pönitz
83b326d204 avoid evalutation of lyxerr arguments unless really needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17675 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 10:09:49 +00:00
Michael Schmitt
2a0dd05520 fix WS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17674 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 09:39:01 +00:00
Abdelrazak Younes
bd12273085 cleanup headers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17672 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 09:24:54 +00:00
Abdelrazak Younes
099a4adc92 Improved input method support by M. Iwami. I fixed some typo, and simplified the code a bit.
* Painter:
  - preeditText(), dashedUnderline(): new methods for CJK support.

* GuiWorkArea:
  - inputMethodQuery(): new Qt inherited method for proper CJK support.
  - inputMethodEvent(): now properly take care of input methods.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17671 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 09:14:08 +00:00
Georg Baum
cb768c29d3 Don't convert keystrokes to LaTeX accents, but insert unicode combining
characters (forgot this with the last commit)

	* src/lyxfunc.C: remove function declaration

	* src/tex-accent.C
	(lyx_accent_table): Remove obsolete stuff and add UCS4 codes
	(DoAccent): Create UCS4 combining sequences instead of LaTeX accents

	* src/tex-accent.h
	(tex_accent_struct): Remove cms member, add ucs4 member


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17669 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 18:28:36 +00:00
Peter Kümmel
ce17937dc1 fix recursive repaint, detected by Qt 4.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17666 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 17:06:36 +00:00
Georg Baum
f2769c00c7 Finish the transition to unicode of the kmap machinery and enable kmap files
again (bug 3304)

	* src/intl.C
	(Intl::initKeyMapper): Don't set the char set of trans anymore

	* src/chset.[Ch]: delete, no longer needed

	* lib/kbd/*.cdef: ditto

	* src/lyxrc.[Ch]: remove RC_SCREEN_FONT_ENCODING and font_norm,
	these are no longer needed

	* src/lyxfunc.C: adapt to lyxrc changes

	* src/Makefile.am: remove deleted files

	* lib/Makefile.am: ditto

	* development/scons/scons_manifest.py: ditto

	* src/text3.C
	(LyXText::dispatch): reenable the kmap mechanism

	* src/trans_mgr.[Ch]
	(TransManager::setCharset): remove, no longer needed
	(TransManager::insert): remove, since it would be identical to
	insertVerbatim now
	(TransManager::insertVerbatim): rename to insert


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17665 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 16:41:02 +00:00
Georg Baum
0141fba79a Convert the part of the keymap code that will not be removed to docstring.
This is purely mechanical, and touches only code that is currently not active.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17657 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 08:12:08 +00:00
Jean-Marc Lasgouttes
139168b5f2 * src/text3.C (dispatch): revert previous fix to 3143
* src/text.C (breakParagraph): setCursor does not set current_font when
	applied to a CursorSlice (fixes bug 3143)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17654 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-30 20:41:38 +00:00
André Pönitz
d523af4b05 fix #3130
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17652 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-30 19:28:03 +00:00
André Pönitz
69caf3bfb7 revert 17649. This code was only a temporary mean to help fixing #3396. Apart from that it is not needed to get a proper stack trace and clutters the source
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17651 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-30 17:20:27 +00:00
André Pönitz
4ab39351e2 fix 3396
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17650 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-30 17:16:26 +00:00
Abdelrazak Younes
7b5c0b55d8 avoid recursive dump() in case of math parsing problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17649 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-30 16:29:35 +00:00
Richard Heck
a19d10e479 Fix for bug 3381, itself due to a bug in QT 4.2.3.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17648 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-30 15:15:44 +00:00
André Pönitz
fa1f10cbd8 enable LFUN_MATH_INSERT in text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17647 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-30 13:29:09 +00:00
André Pönitz
11236e2993 Whitespace correction after rev 17639
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17646 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-30 05:30:23 +00:00
Richard Heck
938698335b Fix for bug 3109: http://bugzilla.lyx.org/show_bug.cgi?id=3109. Added comments regarding longer-term issues with this code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17645 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-30 04:24:54 +00:00
Richard Heck
45372f6cf0 Completed table on naming conventions for widgets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17644 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-30 04:06:16 +00:00
Uwe Stöhr
0f54c5614a antialiasing for fonts by Stefan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17639 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 23:08:29 +00:00
Uwe Stöhr
4ae693b025 better UI fix for bug 3364 from Richard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17638 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 22:27:40 +00:00
André Pönitz
8e2f9e5bca make up/down vuttons in command bar narrower
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17637 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 22:12:34 +00:00
André Pönitz
9d8421b6b3 remove a space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17635 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 22:01:21 +00:00
André Pönitz
6729fb414c fix mathed regression (pullArg was gone)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17634 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 21:58:15 +00:00
Abdelrazak Younes
37d8b3c27b remove unneeded declarations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17629 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 15:00:00 +00:00
Bo Peng
6fc7d47a5f Restore old bookmark behaviors (stop using bookmark queue)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17628 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 03:41:55 +00:00
Uwe Stöhr
ce899a9fa1 Fix bug 3364:
http://bugzilla.lyx.org/show_bug.cgi?id=3364

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17627 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 23:57:48 +00:00
Uwe Stöhr
65ddfecfaf fix rev 17625
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17626 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 23:43:29 +00:00
Uwe Stöhr
6f9eb5464a small adjustment to have the same button size for Browse and Edit button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17625 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 23:35:25 +00:00
Abdelrazak Younes
8cbf7e95c3 Fix a bunch of focus proxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17622 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 21:17:47 +00:00
Peter Kümmel
6f3538a056 don't allow negative window positions on non-virtual desktops
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17621 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 21:12:50 +00:00
Abdelrazak Younes
b3a9008a06 Fix focus proxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17619 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 20:20:42 +00:00
Abdelrazak Younes
f93c87ed72 Fix focus proxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17618 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 20:14:50 +00:00
Abdelrazak Younes
d04cc9302f Fix bug 3246 by Richard Heck:
Problem was that SIGNAL itemSelectionChanged was not connected to anything.

* QRefDialog::selectionChanged(): new slot for itemSelectionChanged signal.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17615 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 17:02:20 +00:00
Abdelrazak Younes
2b0e8a0d9b Fix unreported bug related to 3246 by Richard Heck:
"View" button in TeX information dialog not enabled when file is selected with the keyboard. Problem was that SIGNAL itemSelectionChanged was not connected to anything. Also made some minor stylistic changes to the code.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17614 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 16:58:08 +00:00
Abdelrazak Younes
ae4db7543f Fix bug 3356 by Bernhard Roider:
The crash happens on alt+up and alt+down if the position of the cursor
in the moved paragraph is beyond the length of the target paragraph.

To avoid it the Position of the iterators for the target paragraph must
be corrected. I set it to 0 as i assume it is not really used.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17613 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 16:01:32 +00:00
Abdelrazak Younes
3b9f86926d Fix bug 3143 by Richard Heck. Background information from Richard:
breakParagraph seems to be called five times: in buffer.C, by
insertStringAsLines; and in text3.C, for LFUN_BREAK_PARAGRAPH,
LFUN_BREAK_PARAGRAPH_KEEP_LAYOUT, LFUN_BREAK_PARAGRAPH_SKIP (which
itself calls LFUN_BREAK_PARAGRAPH if a paragraph will be broken), and
for LFUN_FLOAT_LIST. My sense was that the KEEP_LAYOUT version maybe
shouldn't reset the text style.  That's why I put it where I did. But I
doubt it matters very much, and I had it in breakParagraph myself at one
point.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17612 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 15:22:39 +00:00
Abdelrazak Younes
d5bedcb874 * lyxtext.h: add comments to checkInsetHit() and editXY()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17611 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 15:00:34 +00:00
Abdelrazak Younes
dace843ddc Re-enable mouse hover detection over insets. This was disable at rev 17589 to fix bug 3144 which has been re-opened for this.
There is a user visible change with this commit: For text insets, the button stays "highlighted" as long as the mouse cursor is within the inset but not within a nested inset. Formerly the button was highlighted only when hovered. This new behaviour is better because we can now imagine funkier behaviour like inset color background change when hovered. Also the small math pink corners can be adapted to react to mouse hover in the future. Ideally we should also "highlight" the button when entering the inset via the keyboard or when the keyboard cursor is just before the inset (because we can then use Ctrl-i).

* BufferView:
  - getCoveringInset(): new method.
  - workAreaDispatch(): use getCoveringInset() instead of LyXText::checkInsetHit()


 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17610 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 14:47:52 +00:00
Jean-Marc Lasgouttes
d7250301a6 * src/encoding.C (latexChar,read):
* src/support/unicode.C (convert): do not forget to reset lyxerr to 
        std::dec type of output.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17609 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 13:57:22 +00:00
Abdelrazak Younes
3b8a82424c * LyXText::getPitNearY(): Make it const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17607 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 09:20:38 +00:00
Enrico Forestieri
151b065b45 Present to the eyes.
* src/frontends/qt4/QLog.C
	(logHighlighter::logHighlighter): Use a darker gray.

	* src/frontends/qt4/QViewSource.C
	(latexHighlighter::latexHighlighter): Ditto.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17604 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 00:26:04 +00:00
Enrico Forestieri
33707ecc13 Small refinement to subscript placement
* src/mathed/InsetMathScript.C
	(InsetMathScript::dy01): Make sure that the subscript is placed
	not higher than when it appears alone.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17602 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 00:02:15 +00:00
Michael Schmitt
a0b749f146 fix typo: LateX => LaTeX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17596 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 17:40:05 +00:00
Jürgen Spitzmüller
81f45add92 * src/frontends/qt4/GuiWorkArea.C:
- whitespace. I forgot to save the changes before committing :-(

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17595 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 17:31:29 +00:00
Jürgen Spitzmüller
8cc13ab7c9 * src/frontends/qt4/GuiWorkArea.[Ch]:
- some further refinement (and cleanup) of the triple click behaviour,
	  from Richard G. Heck.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17594 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 17:26:11 +00:00
Bo Peng
84e81fd738 BufferView.C: remove unneeded comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17593 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 14:39:09 +00:00
André Pönitz
a30a0e2f3c Some more debug information in case the cursor is ill
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17592 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 14:35:48 +00:00
André Pönitz
a3018e8977 This is supposed to fix #3189 basically by avoiding the error condition:
The string representation of math data stored in an undo could not be
read back. Now we store the math directly and do not convert to and from
a string.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17591 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 14:33:19 +00:00
Jean-Marc Lasgouttes
c8c2671c50 fix uninitialized variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17590 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 12:51:47 +00:00
Abdelrazak Younes
41d3486222 Fix bug 3144 by Richard Heck (slightly modified by me):
http://bugzilla.lyx.org/show_bug.cgi?id=3144

The problem was that we set the cursor even for mouse hover event.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17589 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 10:07:53 +00:00
Jürgen Spitzmüller
7cce9b87f8 * src/frontends/qt4/GuiWorkArea.[Ch]:
- reimplement doubleClickTimeout() from the qt3 frontend
	   in order to get triple clicking working (bug 3272).
	   This is just an emultation of triple clicking, since qt does not have
	   a mouseTripleClickEvent()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17588 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 08:05:31 +00:00
Edwin Leuven
ff7dd5e06c adjust layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17587 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 07:57:09 +00:00
Georg Baum
0f83c2563b Convert makeRelPath to docstring (from Michael Gerz)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17586 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 07:24:16 +00:00
Jürgen Spitzmüller
64767ea78d * src/frontends/qt4/BulletModule.C: remove unneeded debug include.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17585 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 06:57:50 +00:00
Jürgen Spitzmüller
c0a40bac98 * src/frontends/qt4/BulletModule.C:
* src/frontends/qt4/ui/BulletsUi.ui:
	- assure that six columns of bullets are displayed in the widget
	  (fix bug 3147).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17584 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 06:55:25 +00:00
Jürgen Spitzmüller
1c02a697f4 * src/toc.C: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17583 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 05:58:10 +00:00
Jürgen Spitzmüller
abe620d1ee * src/toc.C: allow upwards movement to first paragraph (bug 3131)
fix from Bernhard Roider.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17582 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-27 05:53:14 +00:00
Michael Schmitt
e667f92c11 * src/insets/insetcharstyle.C: fix bug #3252 (by M. Vermeer):
Cursor is not placed correctly in char style inset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17578 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-26 19:16:49 +00:00
Jürgen Spitzmüller
e44591e1a5 * src/frontends/controllers/ControlAboutlyx.[Ch]:
* src/frontends/qt4/QAbout.C:
	- revert r17572 and restore the correct copyright notice.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17575 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-26 15:58:00 +00:00
Bo Peng
7c0bb562cb Correctly highlight comments in latexHighlighter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17574 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-26 15:51:34 +00:00
Bo Peng
ae6c7d2c51 latexHighlighter: handles multiline reg expression of all sorts of displayed mathematics environments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17573 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-26 15:10:59 +00:00
Jürgen Spitzmüller
bbc02f6ada * src/frontends/controllers/ControlAboutlyx.[Ch]:
* src/frontends/qt4/QAbout.C:
	- remove obsolete getLicense (which is identical to getDisclaimer)
	   [bug 3371]


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17572 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-26 15:05:59 +00:00
Jürgen Spitzmüller
2cbb8c77ec * src/frontends/qt4/QCharacter.C:
* src/frontends/qt4/QDocumentDialog.C:
* src/frontends/qt4/QPrefsDialog.C:
	- document persistence of Qt4 resizing bug.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17571 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-26 14:06:20 +00:00