Commit Graph

17598 Commits

Author SHA1 Message Date
Edwin Leuven
ffaf512593 - make the advanced search/replace dialog play nice with size
- add frame

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33821 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 11:50:13 +00:00
Edwin Leuven
a725704007 tighten layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33820 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 11:36:32 +00:00
Edwin Leuven
66ffee84f2 hopefully people are happy with this layout..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33819 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 10:50:02 +00:00
Tommaso Cucinotta
4bac24026d Fixed #2674 (Find and replace should restore initial cursor position), occurring on replace all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33818 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 10:36:59 +00:00
Uwe Stöhr
2211213cb9 InsetTabular.cpp: remove FIXME as nothing needs to be fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33817 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 04:29:22 +00:00
Uwe Stöhr
f969d4b87f revert r33814 but widen the text edit fields instead
(reverting things without discussing it is not OK)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33815 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 00:54:49 +00:00
Enrico Forestieri
534604d187 Fix PrefLatexUi.ui after r33783.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33814 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-20 23:14:33 +00:00
Richard Heck
8a690ea050 Don't bother bliking the cursor if it isn't on the screen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33813 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-20 15:11:25 +00:00
Tommaso Cucinotta
57aa866a1c Fixed issues in backward search in various corner cases (fixed #6482 and #6596).
Now, when scope includes multiple documents, the switch_buffer LFUN is only issues if buffer actually changes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33812 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-20 13:59:46 +00:00
Tommaso Cucinotta
83104beee3 Limit the search for the word at current cursor position only to the case in which cursor is in texted.
Fixes crash in #6573.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33811 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-20 12:15:05 +00:00
Edwin Leuven
fbc91c1967 forgotten in r33799
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33810 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-20 10:20:28 +00:00
Richard Heck
d0434b96e8 Since we don't do anything if the cursor isn't in view, do that test
first.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33803 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-19 16:11:58 +00:00
Richard Heck
25df3fa83d Defer calculations we may not have to do.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33802 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-19 15:07:52 +00:00
Richard Heck
72d110bb6e Add a math-as-LaTeX option, and fix some issues with lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33801 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-19 15:02:12 +00:00
Jürgen Spitzmüller
f91cd9d255 fix bug #6513.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33800 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-19 13:35:32 +00:00
Edwin Leuven
1a1bf4988b fix the drawing for cells with a specified vertical alignment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33799 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-19 09:41:31 +00:00
Richard Heck
32faa2a273 Simplify a bit, after last commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33798 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-19 01:46:13 +00:00
Richard Heck
4d0d67872e Fix at least the most immediate manifestation of bug #6454.
Investigation of this bug revealed that we are blinking the cursor even
when it is not visible. This should also be reverted. It may, in a way,
be that bug that caused this one, but this check is worth doing anyway.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33797 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-19 01:43:53 +00:00
Richard Heck
93c99335b0 Suppress XHTML output for math macros. (We used to get the default from
Inset.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33795 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-18 22:19:34 +00:00
Richard Heck
d8a1720d56 Give ourselves a little more flexibility about math output under XHTML.
I think it will be worth implementing a version of pure HTML output, for
some uses, a la eLyXer.

Note that at present none of this does anything, and there is no UI to
set it. I just want to make sure it's in the file format, in case I do
not get to this before 2.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33794 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-18 20:35:08 +00:00
Edwin Leuven
1e67084666 revert awful spaghetti (r33780)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33793 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-18 19:02:01 +00:00
Richard Heck
3efcfa3cf1 Use something simpler for the TOC links in XHTML. Some browsers don't
like the ⇘ entity.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33792 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-18 18:12:30 +00:00
Abdelrazak Younes
bfe352d39d Fix gcc-4.4 warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33791 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-18 14:00:44 +00:00
Abdelrazak Younes
44fb52d1a2 Fix potential bug affecting export and preview with threads.
QThreadPool::maxThreadCount() defaults in general to 2 on single or
dual-processor. This is clearly not enough in a time where we use
threads for document preview and/or export. 20 should be OK.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33790 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-18 12:42:34 +00:00
Pavel Sanda
a0aabe4ed9 Fix bug 6445: Incorrect TEX code causes misleading "File does not exist" error on "View PDF"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33789 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-17 13:56:59 +00:00
Pavel Sanda
1fc1652f10 Fix bug 6593: LyX wont detect some pdftex errors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33788 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-17 13:50:27 +00:00
Tommaso Cucinotta
e74f4b1d8b No more auto math toolbars while in regexp mode (addressing #6471).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33787 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-17 13:37:15 +00:00
Richard Heck
8f5d4a3fcb Get rid of label_init_length. There is no way to set it from the GUI any
more. Worse, it was being used inconsistently. And we don't really need
it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33786 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-17 12:50:58 +00:00
Richard Heck
4cd5bcefe9 Introduce a RefPrefix tag for Style, InsetLayout, and Float, that
indicates what prefix to use when constructing formatted references.
Documentation to follow.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33784 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-17 12:23:24 +00:00
Uwe Stöhr
317192fa1f PrefLatexUi.ui: fix alignment and spacing of the text edit fields
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33783 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-17 01:02:21 +00:00
Uwe Stöhr
9231f19340 InsetTabular.cpp:
- reintroduce issue that was removed in r33731
  (multirow cells are by default left-aligned, LyX does not yet support to change this)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33782 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-16 22:48:07 +00:00
Edwin Leuven
28c759e171 correct cell line drawing for multirow cells
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33781 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-16 22:42:57 +00:00
Uwe Stöhr
76ff0540d1 InsetTabular.cpp/h: fix the drawing for cells with a specified vertical alignment
Please also see my according post on the mailing list

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33780 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-16 22:27:17 +00:00
Uwe Stöhr
96f16d62f8 PrintNomenclUi.ui: fix a typo, spotted by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33775 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-16 21:51:39 +00:00
Edwin Leuven
1f8b6f8a0a - deleteRow did not properly change multirows
little things:
- rename method to what it is
- correct parameter
- bit of formatting

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33774 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-16 21:42:16 +00:00
Edwin Leuven
613f9d8996 and also correctly draw selected multicolumn cells while we're at it...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33765 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-16 09:50:58 +00:00
Edwin Leuven
7ff4105558 correctly draw selected multirow cells
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33764 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-16 09:46:25 +00:00
Enrico Forestieri
06122df30a Revert r33756 because lyx hangs on startup on some platforms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33761 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-16 07:55:22 +00:00
Enrico Forestieri
61096546b3 The output pipe is only used for writing, and not also for reading.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33756 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 22:16:30 +00:00
Edwin Leuven
62b0691b3c avoid invalidated indexes with multicol/row
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33751 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 18:08:38 +00:00
Abdelrazak Younes
545d7bb431 white space.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33750 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 16:26:09 +00:00
Pavel Sanda
21f2ad3701 Parametrize position of version string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33745 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 12:39:06 +00:00
Pavel Sanda
8ffc79cf63 Honour lyxrc.show_banner again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33744 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 12:18:21 +00:00
Jürgen Spitzmüller
c23fe9abfe * GuiSpellchecker.cpp:
- prevent null pointer (bug 6586)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33743 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 10:03:02 +00:00
Vincent van Ravesteijn
44bb53b57a Revert r33714: It causes bug #6588.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33742 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-15 08:55:58 +00:00
Edwin Leuven
3c45586d96 use more flexible default for now...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33739 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-14 10:33:02 +00:00
Richard Heck
5e0de68db5 Minor cleanup, and some const-ness.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33734 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-13 16:55:59 +00:00
Edwin Leuven
b5ddcaa4d1 increment in the same way in ::draw, ::drawSelection and ::cursorPos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33733 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-13 12:00:37 +00:00
Pavel Sanda
9be4767f27 Fix Error dialog. Patch from Richard and Abdel.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg158649.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg158658.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33732 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-13 11:39:50 +00:00
Edwin Leuven
559537c080 fix some vertical alignment issues in tabular
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33731 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-13 10:49:26 +00:00