Enrico Forestieri
732212f233
Make sure to associate each line of the exported latex code to the id/pos
...
of the first call of TexRow::start(), rather than the last before a newline.
This is what was causing some recent grief (bug #7325 , for example).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37894 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-10 04:05:49 +00:00
Stephan Witt
c530a2d1a2
avoid the automatic word selection for language change when at the word boundaries, this will stop the automatic selection for words with length of one character
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37886 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-09 14:15:34 +00:00
Jürgen Spitzmüller
cf6c0c8192
* Inset.h: fix typo in comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37885 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 16:12:35 +00:00
Stephan Witt
1c58de4cc7
#7266 drawing of dotted lines with QPen and line width of 0.5 does not work well - restore line width 0 for thin line
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37884 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 15:35:24 +00:00
Jürgen Spitzmüller
427b8e3f97
* LaTeX.cpp: fix bug #7344 (delete aux files and rerun LaTeX if hyperref has been toggled)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37883 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 15:14:13 +00:00
Jean-Marc Lasgouttes
53e8746b47
In the case of non-null paragraph separation, replace the hardcoded test for ERT and LISTINGS insets by proper check for newLineIsParBreak.
...
This fixes the display of sweave Chunks in sweave.lyx example, which uses parskip instead of indent.
The rest of the changes are just white space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37881 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 14:41:01 +00:00
Jürgen Spitzmüller
d3d4d31880
PDFOptions.cpp: correct fix for bug #7048 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37880 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 13:15:26 +00:00
Jürgen Spitzmüller
0bb6e39ef1
PDFOptions.cpp: whitespace only.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37879 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 13:00:48 +00:00
Enrico Forestieri
d5f56e67e0
Each line of the exported latex code is associated to a particular par.id()
...
of a lyx document. What par.id() is associated to the line depends on the
last call of TexRow::start() before a newline is actually issued.
If the par.id() of an ert is the one associated to the exported line,
when an error occurs, that ert is always returned by Buffer::getParFromID()
(and thus would be highlighted) whether the error actually occurred there
or elsewhere in the same paragraph.
So, better highlighting the whole paragraph when the error seems to have
occurred in ert.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37870 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-07 20:15:04 +00:00
Enrico Forestieri
c0437db8e9
Fix bug #7343 (No warning for missing child documents)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37869 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-07 14:36:22 +00:00
Pavel Sanda
02dbb905ee
Fix bug #7338
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37866 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-07 00:37:26 +00:00
Tommaso Cucinotta
e1d4a68904
Commit r37853 was missing FindAndReplace.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37860 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-05 16:06:54 +00:00
Peter Kümmel
b1d043e915
compile. TODO: review default parameter for replace_all
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37859 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-05 13:45:39 +00:00
Tommaso Cucinotta
a17d3460f6
Implements functionality of the replaceAll button on Advanced F&R.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37853 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-04 22:19:19 +00:00
Tommaso Cucinotta
aa431bf8bf
Fix bug when retrieving allRelatives() of a buffer (when invoked from a
...
child, the returned list had no master and twice the child itself).
(was causing misbehavior in Advanced Find & Replace with scope=Document).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37852 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-04 22:14:52 +00:00
Enrico Forestieri
299745b635
Force a paragraph update after lyxserver communication (part of bug #6871 )
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37851 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-04 21:57:42 +00:00
Pavel Sanda
f8d1586364
Glitch with new line breaking from Qt.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37847 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-04 18:30:40 +00:00
Enrico Forestieri
655a99f8c2
As improbable as it may be, an error could occur in both master and child
...
at the same line. Given that we know where the error occurred, don't
unnecessarily check the master first.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37846 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-04 13:52:01 +00:00
Enrico Forestieri
2e18f6a671
Fix bug #7331 (No error highlighting in child documents)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37845 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-04 13:37:14 +00:00
Enrico Forestieri
33d853d1aa
Fix bug #7330 (No error notification with 'View master document')
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37843 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-03 16:00:40 +00:00
Enrico Forestieri
b8cdbc7be8
Partial fix for bug #7330 (No error notification with 'View master document')
...
With this patch, the bug is fixed when export-in-thread is disabled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37842 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-03 13:57:46 +00:00
Pavel Sanda
78e483710d
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37841 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-03 12:15:35 +00:00
Pavel Sanda
e15d8a850f
FloatPlacementUi was broken elsewhere.
...
At document prefs there was undeleted first empty line.
This was due to the spacer which has no visibility property.
However, removing spacer breaks alignment in float dialog
so we need to set up stretch of combo box to full width.
I have no better idea.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37838 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 23:15:04 +00:00
Pavel Sanda
c0a426ee7d
Resave FloatPlacementUi.ui in older designer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37837 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 23:15:02 +00:00
Pavel Sanda
ac105fadc1
Current float settings dialog is really ugly.
...
This makes it little bit more narrow, bit it still remains ugly.
Hopefully other dialogs are not worse (tried some;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37836 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 22:38:33 +00:00
Pavel Sanda
19838cea26
Add tooltips for InsetParamsUi buttons. I guess some users will
...
be little bit shocked what are all these buttons and checkboxes about...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37835 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 22:38:32 +00:00
Pavel Sanda
8aaf3593f6
Resave InsetParamsUi.ui in older dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37834 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 22:38:30 +00:00
Peter Kümmel
4620034eda
Fix crash when using msvc10's regex, seems boost's regex couldn't replaced by msvc's in ECMAScrip mode.
...
Solution: use boost also for msvc10
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37832 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 21:28:36 +00:00
Jean-Marc Lasgouttes
d2720fa200
In InsetText::fixParagraphsFont, differentiate the case of pass thru paragraphs for which fonts should be reset, and paragraph that disable paragraph customization. In the later case, only paragraph parameters are reset.
...
This improves the fix in r37328 and allows centered sweave chunks, for example (although this does not work yet for other reasons)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37831 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 14:43:50 +00:00
Pavel Sanda
f098abd832
Make colors pane consistent with others
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37830 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 10:27:51 +00:00
Pavel Sanda
e40e402170
Resave ColorUi in older designer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37829 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 10:27:50 +00:00
Pavel Sanda
4d8d962a62
Fix ugly resize on second dialog show.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37828 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 10:10:30 +00:00
Pavel Sanda
95f5ab04eb
Resave PrefFileformatsUi.ui in older designer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37827 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 10:10:28 +00:00
Enrico Forestieri
55dccca79f
Qt performs its own formatting to assure a maximum line length of the
...
descriptive text in alerts. Thus, doing it by ourselves is both unnecessary
and counterproductive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37825 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 00:26:34 +00:00
Pavel Sanda
e16f7142e3
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37822 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-01 23:49:42 +00:00
Pavel Sanda
76c588d532
Fix #7311 . And all my fun is gone...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37820 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-01 23:49:39 +00:00
Pavel Sanda
d2873b4bc6
Add comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37819 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-01 22:21:03 +00:00
Peter Kümmel
ca3395ec88
#7163 : don't delete objects which a thread needs later on
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37818 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-01 19:39:47 +00:00
Jürgen Spitzmüller
5f96251222
* GuiPrefs.cpp: fix forward search command for Okular
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37817 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-01 12:42:14 +00:00
Enrico Forestieri
25e98edd00
Please Abdel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37802 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-28 15:45:53 +00:00
Enrico Forestieri
2761cd67bb
Fix bug #7325 (ASSERTION when moving paragraph down in info inset)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37801 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-28 15:35:29 +00:00
Enrico Forestieri
a079d95038
Initializing the gui_ member of the cloned buffer has strange side effects
...
with Qt/X11 (obscure X errors). Better avoiding it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37797 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-28 03:39:43 +00:00
Enrico Forestieri
2969cb53e2
Fix bug #7324 (Latex export silently fails with uncodable characters)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37796 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-28 01:50:13 +00:00
Enrico Forestieri
a889fd0438
Fix #7326 (Latex export of child docs silently fails with uncodable characters)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37795 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-28 01:14:19 +00:00
Enrico Forestieri
7edf2691ae
Fix bug #7310 (Greek symbols inside ERT cause unreported compile failure)
...
Note that View->Source now shows that a character cannot be encoded.
However, the error is still unreported due to bug #7324 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37791 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-27 12:16:17 +00:00
Stephan Witt
f6e7fbefce
#6920 paint single characters only when Qt4.7 or better, otherwise automatic kerning breaks cursor positioning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37781 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-24 21:38:12 +00:00
Enrico Forestieri
f8446ecd41
Improve comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37780 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-24 02:01:31 +00:00
Enrico Forestieri
3891b7ae06
If a paragraph has zero size, highlight the previous one.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37779 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-24 01:31:20 +00:00
Peter Kümmel
4397faba8f
fix wrong preprocessor
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37778 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-23 21:06:15 +00:00
Stephan Witt
e9d943aeb8
#7292 make the modifiers Option and Control act on there own on mac - adjust the key bindings to apple standards where possible
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37770 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-23 14:30:41 +00:00