Enrico Forestieri
ae40a33202
Fix bug #6351 : Crash when editing the unit on a number
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32211 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-26 01:56:50 +00:00
Richard Heck
b389ce6b1d
Restore XHTML output for InsetHyperlink.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32209 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-25 22:19:59 +00:00
Richard Heck
508ee6560c
Auto-escape attributes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32208 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-25 22:18:47 +00:00
Richard Heck
40fcb745a9
Restore XHTML output for InsetLine.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32207 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-25 22:07:17 +00:00
Richard Heck
ceedc90c55
Restore XHTML for InsetSpecialChar.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32206 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-25 22:04:41 +00:00
Richard Heck
fa79ab2c0b
Come to think of it, we should do this differently: the way it's done
...
with InsetVSpace. Typically, this will appear on a line by itself, and
we do not really want <div><br /></div>.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32205 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-25 22:02:58 +00:00
Richard Heck
dce1439e40
Restore XHTML output for InsetNewpage.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32204 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-25 22:00:29 +00:00
Richard Heck
b8f05bdd50
Restore XHTML for InsetNote.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32203 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-25 21:58:18 +00:00
Vincent van Ravesteijn
2c32b53923
Access the correct cell function.
...
Fixes a bug introduced in r32157 while fixing bug #4360 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32200 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-25 19:57:57 +00:00
Richard Heck
5499281403
Use that again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32199 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-25 16:53:02 +00:00
Richard Heck
1e7be42149
Fedora, and probably some other platforms, follow the en_US convention,
...
rather than the en-US convention, for the hunspell files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32198 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-25 16:52:45 +00:00
Pavel Sanda
a5e4aea526
VCS: allow displaying diff log
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32180 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-24 22:17:55 +00:00
Pavel Sanda
0787e61c3f
Fix #5211 - Check documents for changes after svn update.
...
This could be called regularly for usage with other programs too,
but I have no idea where. Dispatch is no good idea for performance reasons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32179 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-24 18:47:43 +00:00
Pavel Sanda
7cdf1a0be6
Puzzling doxygen output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32175 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-24 11:12:23 +00:00
Vincent van Ravesteijn
b0eec33720
Do not save an emergency file after choosing to revert the document to the version saved on this.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32170 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-23 22:40:59 +00:00
Richard Heck
626e17a55d
Show only those spellers that are active.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32164 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-23 14:03:19 +00:00
Enrico Forestieri
38a6848ecd
Fix bug #6342 : Pasting-bug in math-mode sub- and super-scripts
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32162 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-23 00:59:18 +00:00
Richard Heck
8b99f9c5b0
Re-order these to make it clearer what needs doing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32161 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 22:18:24 +00:00
Richard Heck
62609ef706
Prefs oversight.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32160 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 22:15:20 +00:00
Vincent van Ravesteijn
92c8561674
Some cosmetics after r32157.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32159 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 21:45:51 +00:00
Richard Heck
3870c6ae40
Kill a gazillion warnings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32158 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 21:29:20 +00:00
Vincent van Ravesteijn
f19b6178a9
Fix bug #4360 : Instant preview does not render formulas which contain math-macro from input file.
...
Patch from Stefan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32157 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 20:50:35 +00:00
Vincent van Ravesteijn
f961b60575
Move the contents of a row into the caption when setting a row as a longtable caption.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32156 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 18:39:48 +00:00
Vincent van Ravesteijn
e4f66e1032
Unset all caption rows and dissolve all captions in a long-table when converting to a normal table.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32155 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 18:37:08 +00:00
Vincent van Ravesteijn
8384fa4123
Better fix for bug #5754 : Caption inset not dissolved when unsetting longtable caption.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32153 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 17:10:56 +00:00
Vincent van Ravesteijn
fd25e06129
Revert some unwanted debug info.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32146 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 02:09:10 +00:00
Vincent van Ravesteijn
cd514c458a
Fix bug #6310 : Incorrect latex for sparse matrices with vertical lines.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32145 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 02:03:09 +00:00
Vincent van Ravesteijn
ab19ef36cc
Initialize nextraw_. The first character of the outputted html file was represented as an integer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32144 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 00:46:23 +00:00
Vincent van Ravesteijn
f1dd63ec24
Fixes for the FileFormat pane of GuiPrefs.cpp:
...
- We have to block the signals coming from viewerCO and editorCO, otherwise the signal handlers will clear the customly set viewer or editor.
- A copy-paste error made the custom viewer to be changed when changing the editor combobox.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32143 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 00:19:50 +00:00
Richard Heck
77c771e3b6
InsetOptArg and InsetPhantom disabled.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32142 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 23:31:13 +00:00
Richard Heck
99e17b265f
InsetNomencl still disabled.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32141 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 23:29:29 +00:00
Richard Heck
5282dc14ca
InsetPrintIndex disabled.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32140 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 23:28:20 +00:00
Richard Heck
47b763efb3
InsetExternal doesn't work. But it didn't work before, either.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32139 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 23:26:10 +00:00
Richard Heck
3d07ead18b
InsetBranch works again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32138 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 23:24:21 +00:00
Richard Heck
1f42ca0df9
Comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32137 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 23:22:23 +00:00
Richard Heck
b3ad108bed
Fix up InsetVSpace a bit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32136 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 23:16:04 +00:00
Richard Heck
344859e4df
Don't escape the deferred stuff.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32135 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 23:15:52 +00:00
Richard Heck
1cce8edf32
Get InsetVSpace working again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32134 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 23:02:59 +00:00
Richard Heck
4b2fb6a5c0
Get InsetWrap working again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32133 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 22:57:40 +00:00
Richard Heck
502e764584
In certain cases, we are going to need to write the outer tag, etc, in a
...
derived class and then will not want to write it again here. So this
gives us that ability.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32132 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 22:56:42 +00:00
Richard Heck
27ed87b8f9
I think it's sufficient to export once. Fixes 6307.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32131 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 22:24:47 +00:00
Vincent van Ravesteijn
5b7a7cca73
Fix bug #6113 : Customized font color in footnote is not rendered in LyX.
...
It seems we realized the font in the wrong order. If the layout font specifies "Font Size Small", we should be able to make it large if we want to.
see:
http://thread.gmane.org/gmane.editors.lyx.devel/122682
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32129 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 15:33:41 +00:00
Vincent van Ravesteijn
902c377ee3
Do not allow a program listing to be in a font changing command.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32124 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 14:49:41 +00:00
Vincent van Ravesteijn
3852f3298f
* TextMetrics.cpp: cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32117 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 01:15:12 +00:00
Vincent van Ravesteijn
08feb0e14c
Fix bug #6161 : Wrong cursor position in bidi text.
...
If the first character is a separator, we are in RTL text. This character will not be painted on screen and thus we should not count it and skip to the next.
This bug pretty much destroyed cursor placement in RTL text on a row with large gaps.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32116 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-20 22:28:51 +00:00
Richard Heck
0e6b1220de
Fix bug in Preferences>File Formats. Editor box didn't work right.
...
Looks like c&p errors, mostly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32113 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 23:37:16 +00:00
Richard Heck
603b94966a
InsetQuote works again.
...
Is this simple stream modifier thing OK?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32112 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 23:29:07 +00:00
Richard Heck
6d4db0ee44
Restore InsetNewline.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32110 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 23:04:10 +00:00
Richard Heck
c71a1d9185
Restore InsetQuote.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32109 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 23:02:47 +00:00
Richard Heck
ed7172226c
This inner tag thing turns out to be a bad idea, since so few things are
...
allowed to go inside <span>. Probably we don't need it anyway.
The User's Guide now exports as valid XHTML 1.1, according to the XHTML
validator at w3.org. Of course, in the present state of the code, a lot
of insets aren't being exported at all, since they've been disabled. So
there is work to do. But this is a serious start now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32108 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 22:58:32 +00:00
Richard Heck
ed22deac3a
The default HTML tag for an InsetLayout should depend upon MultiPar.
...
This allows us to simplify stdinsets.inc again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32106 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 22:49:30 +00:00
Richard Heck
d62c5cf02e
Sorry, I didn't mean to commit all that. Let's try again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32105 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 22:47:22 +00:00
Richard Heck
b8743dd2ed
The default tag for an InsetLayout should depend upon MultiPar.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32104 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 22:41:31 +00:00
Richard Heck
fa2f219d92
In non-MultiPar insets, we do not want to output paragraphs at all.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32103 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 22:31:52 +00:00
Richard Heck
5815084ff0
Fix output of LATEX_LIST_ENVIRONMENT and remove obsolete comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32101 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 22:13:44 +00:00
Richard Heck
45479198f4
Disable InsetIndex again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32100 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 22:03:15 +00:00
Richard Heck
a8ba7cc722
Whoops.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32099 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 21:56:08 +00:00
Richard Heck
bd79544d7b
Disable ERT again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32098 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 21:52:18 +00:00
Richard Heck
c5651b5e44
Two things here:
...
(i) We don't need (at the moment, anyway) to step list counters, since
HTML will handle those for us.
(ii) Output errors as comments to the HTML file so we can see where they
happen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32097 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 21:50:02 +00:00
Richard Heck
e8ee20e5d7
Enable InsetText for XHTML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32094 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 21:05:34 +00:00
Richard Heck
6967440797
Bug fix for font output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32093 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 21:04:40 +00:00
Richard Heck
95a8e89e04
Rather than do checks for empty tags elsewhere, accept them and ignore them.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32092 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 20:39:07 +00:00
Richard Heck
021f51e19b
Fix typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32091 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 20:35:19 +00:00
Richard Heck
d305930f47
Forgot this. Now the insets at least show up again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32090 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 20:25:40 +00:00
Richard Heck
502dc7ca52
Inset::xhtml(XHTMLStream &, ...)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32089 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 20:22:04 +00:00
Richard Heck
0b317145d7
Comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32087 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 18:28:36 +00:00
Richard Heck
ad132e2e99
Restore basic paragraph output for XHTML. The insets are all disabled still.
...
Much of the point of this is to allow us properly to handle what LyX does as:
<em>This is <strong>bold and italic</em> and now just bold.</strong>
We output:
<em>This is <strong>bold and italic</strong></em><strong> and now just bold.</strong>
which is valid.
Note how much easier this would have been if emphasis and boldness were insets
rather than ranges. ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32086 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 18:24:19 +00:00
Richard Heck
7aebcc787f
I am now going to proceed to break XHMTL output, and then reconstruct it
...
a piece at a time, using the new XHTMLStream.
This just gets the basic structures working, and fixes a bunch of iconv
errors in the process.
I hate iconv errors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32085 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 17:51:06 +00:00
Richard Heck
62b6240310
Reorganize a bit, and take the new stuff out of the html namespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32084 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 16:35:58 +00:00
Richard Heck
8745fd6caa
This is the custom stream for XHTML output. It isn't used yet, and
...
lots of things that will be replaced have been left, so as not to
prevent compilation.
The point of this is that we need a good way to manage the nesting of tags,
that is, to make sure tags are properly nested. So everything here is pretty
trivial, except for XHTMLStream << EndTag.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32083 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 16:29:57 +00:00
Pavel Sanda
9755da5440
Comment on stderr issue.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32079 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 08:55:21 +00:00
Richard Heck
ff61f41d5b
Unnecessary argument.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32070 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-17 22:18:28 +00:00
Jean-Marc Lasgouttes
3f22ae8f1d
revert previous fix for Snow Leopard crashes and apply new one
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32067 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-17 17:04:47 +00:00
Jean-Marc Lasgouttes
1545219dcb
squash warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32066 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-17 16:57:35 +00:00
Richard Heck
0b82638164
Handle the TEXT flavor in this switch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32054 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 17:37:51 +00:00
Enrico Forestieri
935d1a3221
Clarify comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32051 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 14:11:25 +00:00
Enrico Forestieri
d3378a6b84
Style: insetCur -> inset_cursor
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32049 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 13:31:01 +00:00
Vincent van Ravesteijn
86a9302823
Fix bug #6240 : Adding table row causes exception that triggers infinite loop in code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32038 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 00:18:52 +00:00
Enrico Forestieri
7365a29fea
Fix bug #6208 : macro crash.
...
The fix consists in not updating the macro while it is being edited,
and this is accomplished by the changes in MathData::updateMacros().
However, when clicking away with the mouse I was getting another crash,
which is cured by the changes in MathMacro::notifyCursorLeaves().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32037 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 23:54:45 +00:00
Vincent van Ravesteijn
3581c31d1b
Allow PgUp and PgDwn to put the cursor on the first or last row.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32036 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 23:53:40 +00:00
Vincent van Ravesteijn
a9ae2abb7e
Fix bug #6327 : Crash in new file and press PgUp button.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32035 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 23:45:39 +00:00
Vincent van Ravesteijn
f4125a65c0
Fix bug #6320 : LyX goes to infinite loop when selecting document parts.
...
Set the boundary member correctly when the cursor goes to an 'empty' row.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32034 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 22:01:12 +00:00
Abdelrazak Younes
216f9156dc
Fix MathML export for < and > special characters.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32033 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 21:45:21 +00:00
Uwe Stöhr
0b7ce1e08c
- theorems-chap.module: fix a typo
...
- MathsUi.ui: fix again another typo in tooltip
- po-files: remerge
- de.po: new translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32017 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 16:18:02 +00:00
Jürgen Spitzmüller
b83415029e
* MathsUi.ui: grammar fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32012 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 15:47:07 +00:00
Uwe Stöhr
d291772c5a
MathsUi.ui: fix another typo in tooltips
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32008 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 14:55:50 +00:00
Uwe Stöhr
57676c67aa
MathsUi.ui: fix typo in tooltip
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32007 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 14:47:03 +00:00
Richard Heck
ae60474513
Get math macros working for MathML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32004 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 12:30:26 +00:00
Richard Heck
8ad0e96631
Style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32001 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 02:30:02 +00:00
Richard Heck
70f035b189
This can be a private method.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32000 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 01:42:49 +00:00
Richard Heck
f0a5d099b9
Style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31999 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 01:18:13 +00:00
Enrico Forestieri
3f3bedd0d9
Fix another instance of missing buffer in math. This is needed when
...
pasting a macro inside another math inset (such as \text or \hat). In
this case the buffer would not be set and getMacro() cannot be called,
such that an "internal" macro would still shadow an user defined one.
This kind of fix is now easy after Abdel's overhaul.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31998 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 01:03:03 +00:00
Richard Heck
8340a17e96
Typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31997 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 23:28:50 +00:00
Richard Heck
584bca0fe8
MathML for InsetMathSpace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31994 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 21:38:28 +00:00
Richard Heck
70217ba676
Initial work on InsetMathBox. This doesn't really work yet, for reasons
...
given in the FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31993 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 21:11:23 +00:00
Uwe Stöhr
60cc4f8e7f
MathsUi.ui: add tooltips, the same can also be done for branch if you like, Jürgen?
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31992 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 21:07:22 +00:00
Richard Heck
ff7d0d5c6e
Fix whitespace, comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31991 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 20:40:09 +00:00
Richard Heck
0229c21be4
Fix single character output for MathML. Kind of.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31990 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 20:38:22 +00:00
Richard Heck
9ba340b218
Fix parsing of functions and arguments for MathML.
...
The enum is overkill for now, but will be useful if anyone decides
really to return to this stuff. It's apparent that there are some
powerful tools here---like the ability to pipe expressions through
Mathematica.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31989 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 20:20:17 +00:00
Richard Heck
963c22353a
Fix delimiters.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31988 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 20:18:32 +00:00
Richard Heck
177ff11cfb
Whoops. Forgot to fix this.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31987 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 19:52:06 +00:00
Richard Heck
25f429d3e5
Fix external function output for MathML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31986 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 19:41:22 +00:00
Richard Heck
90f392425f
FIXME
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31984 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 16:58:32 +00:00
Richard Heck
886304a588
Little bit of fixup for math symbols.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31983 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 16:21:33 +00:00
Richard Heck
487053deb8
We need truly XHTML output to get MathML to display in Firefox, etc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31982 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 16:21:21 +00:00
Richard Heck
83c7a5576f
Fix silly bit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31981 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 15:55:51 +00:00
Jürgen Spitzmüller
b7c0fe942b
* direct access from the error dialog to the LaTeX log.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31980 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 15:52:54 +00:00
Richard Heck
54b4b8e6b4
Get MathML output for XHTML working a bit.
...
Turns out MathML is already here, for the most part, so this will
not be too bad at all.
Anyone else think that is very cool?!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31979 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 15:25:32 +00:00
Richard Heck
5d9bfe9ccc
HTML escaping for docstrings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31977 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 14:16:15 +00:00
Richard Heck
85503ec1b9
Get XHTML output for InsetRef working, again in a fairly primitive way. We just
...
use the label name as associated text, and put it into square brackets. It'd be
nice to be able to do more, but for that we'd need to associate counters with
the labels, which would be nice for display, too. But we don't have that yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31976 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 14:12:37 +00:00
Richard Heck
cd35cebed1
Get XHTML output for InsetGraphics working, at least in a primitive way.
...
At present, we do not do any sort of rotating, scaling, cropping, etc.
That should not be terribly hard to do, since we can just call ImageMagick
and get it to do it for us, but appropriate routines will have to be
written.
I'd be thrilled if someone else wanted to do that. ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31975 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 14:00:18 +00:00
Richard Heck
3ad3ad7135
Style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31974 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 13:16:08 +00:00
Richard Heck
7814909d3b
Add TEXT flavor, just in case we need it.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31973 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 12:54:12 +00:00
Pavel Sanda
0ed809d7b0
Please Juergen
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31971 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-13 16:25:46 +00:00
Jean-Marc Lasgouttes
7bf3d5cad0
Rename getLocalStatus to Cursor::getStatus
...
Move the AtPoint handling into the Cursor dispatch machinery
Note that the call to Cursor::getStatus is in BufferView::getStatus, while
the call to Cursor::dispatch is still in LyXFunc::dispatch. This needs to be
fixed, but the code there is a bit fragile.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31969 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-13 14:32:51 +00:00
Jean-Marc Lasgouttes
5ac479af5e
constify
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31968 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-13 13:47:25 +00:00
Richard Heck
ea806d510c
Remove redundant code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31953 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-12 00:26:49 +00:00
Richard Heck
b56faec8f4
Change the order of these backends.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31952 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 23:50:54 +00:00
Richard Heck
af0c9adc38
Fix stupid thinko.
...
It's not a good idea to be using int's as identifiers for absolutely
everything here. It makes this kind of mistake WAY too easy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31951 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 23:24:39 +00:00
Pavel Sanda
a9214c66c5
Fix #6313 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31946 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 13:56:23 +00:00
Uwe Stöhr
d5099c8605
- introduce option to suppress the LaTeX package mhchem, fileformat change
...
The fileformat change is also needed because of our mistake that we load mhchem since LyX 1.6.4 automatically so that files created with LyX 1.6.4 won't compile under LyX 1.6.3. Now at least all files created or opened with LyX 1.7 can be reverted to the fileformat of LyX 1.6.x and can therefore be read by all LyX 1.6.x versions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31941 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 01:48:07 +00:00
Jürgen Spitzmüller
4b9a1e2578
* GuiAbout.cpp:
...
- unmask e-mail addresses in the credits pane.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31936 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-10 14:45:21 +00:00
Richard Heck
bf8f302b64
This more or less completes the re-implementation of this class. The
...
main advantage of what has been done here is that it would now be fairly
easy to return ALL the paths connecting two nodes. In practice, this
would mean that we could find ALL ways of converting one format (say,
LaTeX) into another (say, PDF), and present these to the user for her
perusal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31927 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-10 01:18:43 +00:00
Richard Heck
db42cac3ab
A bit more re-organization.
...
Next to go will be the prev vector.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31925 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 17:56:34 +00:00
Richard Heck
bd47bb4fd5
Not so soon, I guess, since that FIXME was from r6305.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31924 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 16:53:40 +00:00
Richard Heck
853199c0ce
One more little comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31921 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 14:03:10 +00:00
Richard Heck
66a9bdb291
Move the visited stuff inside the Vertex struct.
...
Also, there is no good reason for the vertices_ member to be static. Indeed,
if we wanted to use this more generally....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31917 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 04:02:45 +00:00
Richard Heck
1571887511
Move the to == from test, so as to return as soon as we find a path. The
...
old way, we can waste time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31916 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 03:53:20 +00:00
Richard Heck
ac6a58071e
Another minor change, but this should almost get us to the point that we
...
could return all paths, not just one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31915 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 03:43:48 +00:00
Richard Heck
dfbbb87e0b
More cleanup. We introduce a struct here to keep the relevant
...
information together.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31914 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 03:02:11 +00:00
Richard Heck
a79722b1c0
Const.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31913 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 03:00:19 +00:00
Richard Heck
2eee737d00
Cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31912 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 02:26:01 +00:00
Richard Heck
31d932df89
Just some cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31911 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 02:19:02 +00:00
Richard Heck
0fb63fb10e
Just some style, and some comments, as I try to figure this out.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31910 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 00:55:37 +00:00
Richard Heck
288e249ba2
Constness.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31909 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 22:37:28 +00:00
Enrico Forestieri
f83a6cc3af
Don't use updateMacros() in the math parser, in order to avoid
...
performance problems when loading documents with lots of macros.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31907 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 18:47:33 +00:00
Enrico Forestieri
c34cff8d11
In order to avoid confusion, always use buf in Parser::parse1(),
...
instead of mixed usage of buffer_ and buf.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31905 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 18:22:57 +00:00
Abdelrazak Younes
1ff07e2958
remove unneeded setBuffer().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31904 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 16:16:36 +00:00
Abdelrazak Younes
d1df0f1c13
oups... fix previous commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31903 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 16:14:22 +00:00
Abdelrazak Younes
882e2eeb7b
InsetCommand ctor: Pass 'Buffer *'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31902 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 16:10:34 +00:00
Abdelrazak Younes
82c7e15e64
Uniformize Inset construction (passing Buffer * everywhere). Lots of cleanup to do still...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31901 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 15:53:21 +00:00
Abdelrazak Younes
1a915927b5
Fix crash when copying an InsetTabular.
...
Buffer should not be set when cloning. If there is bug that was fixed by this line of code it should be fixed later by setting the Buffer after the cloning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31900 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 13:41:29 +00:00
Vincent van Ravesteijn
0d016420ce
Fix the new from template functionality. The templatename parameter was magically disappeared in r31704.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31899 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 13:20:08 +00:00
Abdelrazak Younes
ff4460603e
Make Buffer argument mandatory in most of the InsetMath based class... boring work...
...
Math manual loads and save correctly it seems but expect some instability period.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31898 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 11:45:46 +00:00
Pavel Sanda
dac1c003d6
Unneeded headers.
...
It would be interesting to know how many headers do we actually use in our code.
Nice task for some script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31893 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 12:54:19 +00:00
Pavel Sanda
f57a4615cd
Header sort order
...
../treeview.patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31892 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 12:54:08 +00:00
Peter Kümmel
daba8bda2e
cmake: fix merge build
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31891 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 12:50:30 +00:00
Pavel Sanda
90ce0c669f
This is still needed for keyboard focus
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31878 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 15:56:15 +00:00
Pavel Sanda
d82da9a255
Fix also nomenclature dialog which was refered in #3852
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31875 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 15:22:21 +00:00
Pavel Sanda
5db67312e8
Fix bug #3852 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 15:22:17 +00:00
Enrico Forestieri
a1a34443ef
Fix bug #5530 : LyX expansion in math-macro overwritten by default one.
...
This patch initializes the buffer_ member of a MathHull inset in most
(but not all) cases. The problems with buffer_ should be greatly
allievated now, but there still can be some corner case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31873 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 15:18:48 +00:00
Jean-Marc Lasgouttes
b67cd61d3c
Avoid undo grouping error when using Undo or Redo. This is because undo grouping has to be done also when putting stuff on the undo/redo stack.
...
The solution is just to remove special code :)
I think there is a ticket for this, but I cannot find it.
Abdel, could you please validate my thinking?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31869 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 13:32:58 +00:00
Edwin Leuven
c5b63235f0
reduce line noise
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31864 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-05 19:51:17 +00:00
Vincent van Ravesteijn
5ebc733ff3
Fix bug #6237 : The boundary has to be set correctly when moving up with a selection. If not, the cursor will remain on the same row when there are two e.g. displayed equations after each other. This will cause an infinite loop when SCREEN_UP is executed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31863 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-05 12:58:25 +00:00
Vincent van Ravesteijn
d63403205b
Fix bug #5968 : Assertion while reading a document with multiple equation labels.
...
This is another ad-hoc solution for the problem of a zero buffer pointer while reading a document or when using cut&paste.
This simple solution would be suitable for branch.
see also e.g. r29085, r28319, bug #5688 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31861 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-05 00:38:09 +00:00
Jean-Marc Lasgouttes
5ea9cd8b91
Be careful to take in account buffer closing in command-sequence
...
This is a regression wrt 1.6. Abdel, please double-check.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31859 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-04 16:28:52 +00:00
Vincent van Ravesteijn
d833a023f6
Add a FIXME to a piece of unreachable code. This dates back to r8251.
...
see http://www.lyx.org/trac/changeset/8251 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31858 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-04 15:30:35 +00:00
Vincent van Ravesteijn
a4ccbf67c3
Fix (again) bug #5754 : Caption inset not dissolved when unsetting longtable caption row.
...
I forgot that inset-begin jumps out of the Inset if the cursor is already at the begin.
see r31823.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31839 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 13:06:52 +00:00
Abdelrazak Younes
1ff6b1122b
Fix gcc warnings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31830 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 15:20:36 +00:00
Abdelrazak Younes
938f99cf00
Fix gcc warning.
...
Richard, please check this out!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31829 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 15:15:47 +00:00
Vincent van Ravesteijn
3533becc2e
Fix bug #6240 : Adding table row causes exception that triggers infinite loop in code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31826 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 07:25:05 +00:00
Vincent van Ravesteijn
8f5c3b6219
Fix bug #6144 : Remover RegExp from them Menu and give the user the possibility to insert an empty RegExp in the Search field by choosing User defined.. in the Match.. combobox (what use does this option have ?).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31825 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 06:55:40 +00:00
Vincent van Ravesteijn
3b409626f0
Move CollapseStatus from Inset to InsetCollapsable (where it belongs IMO).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31824 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 05:03:09 +00:00
Vincent van Ravesteijn
da8c15d4c3
Fix (partly) bug #5754 : Caption inset not dissolved when unsetting longtable caption row.
...
This removes the caption-inset, which is made possible by the clean-up of the LFUN_INSET_DISSOLVE (see r31822 and r31756). This assumes that there is nothing else in the row than the caption inset. I think that should be the case, but this is not yet guaranteed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31823 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 04:31:06 +00:00
Vincent van Ravesteijn
33dbbc15a9
Fix some remains of handling INSET_DISSOLVE (see r31756):
...
- change cur.inset().nargs() to nargs() as we might actually be in the inset called nextInset(),
- set the enabling flag of the status struct, don't return this value,
- return whether we handled this request.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31822 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 04:01:45 +00:00
Vincent van Ravesteijn
8245ec900b
Fix bug #5063 : We don't want the combo boxes to adjust to the contents. Also, make the logic exactly the same for all comboboxes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31821 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 02:21:10 +00:00
Uwe Stöhr
8e3736c7b8
GuiBox.cpp: fix typo is comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31820 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-01 23:23:54 +00:00
Vincent van Ravesteijn
d3c786eed6
Fix bug #6297 : Use of Fraktur font in boxed equation does not automatically include amssymb.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31819 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-01 22:16:49 +00:00
Vincent van Ravesteijn
86b6bb9d18
Fix r31814: we have to close the tab not hide it. Also rename the closeCurrentTab() function to hideCurrentTab().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31815 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-31 18:14:21 +00:00
Vincent van Ravesteijn
e8ec788924
Close the correct tab when clicking one while the active tab is in another tabworkarea. This was fixed in r31072 for the cornerbutton; now it is fixed for the buttons on the tabs themselves.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31814 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-31 18:10:18 +00:00
Vincent van Ravesteijn
25e5dfe330
Do not issue the warning introduced in r31809 if we are setting the parent for the first time, or we are removing the parent.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31810 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-30 15:33:54 +00:00
Vincent van Ravesteijn
0379518340
Issue a warning if a document has two parents. We should do something smart then, but what?
...
- Do we want to ask the user which of the parents he would like to be the document's parent ?
- Do we want to disable any functionality related to parents ? Like references, bibliography, document outline etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31809 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-30 15:24:35 +00:00
Vincent van Ravesteijn
10e4c1aa7c
* LyXaction.cpp: typo and an improved description for LFUN_COMMAND_EXECUTE.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31807 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-30 15:14:23 +00:00
Vincent van Ravesteijn
1cf4251488
Fix LyX after r31772 (bug #6294 ).
...
The declaration should match the definition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31806 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-30 14:57:21 +00:00
Vincent van Ravesteijn
d4e864dda2
Standard Layout should be MultiPar. Now, because LFUN_BREAK_PARAGRAPHS really uses the MultiPar property, it is necessary to set it correctly.
...
see r31793.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31798 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-30 00:33:56 +00:00
Vincent van Ravesteijn
d156d11738
Fix part of bug #6251 : When closing a buffer, only close the direct children. All grandchildren will be closed recursively by the children _and_ before it will be close by the grandparent.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31797 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-29 23:28:08 +00:00
Vincent van Ravesteijn
fb2b817346
Dissect closeWorkArea and closeBuffer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31796 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-29 23:22:50 +00:00
Vincent van Ravesteijn
8fd507ccf2
Remove parameter from cur.reset(). All calls had buffer().inset() as parameter.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31795 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-29 22:46:04 +00:00
Vincent van Ravesteijn
0152d08232
These shouldn't be there as they have nothing to do with the layout of the Inset.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31794 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-29 22:13:48 +00:00
Vincent van Ravesteijn
71d29d14b7
Text3.cpp: fix unintended fall-throughs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31793 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-29 22:08:05 +00:00
Vincent van Ravesteijn
5d9fdda299
Move the call to LFUN_SET_COLOR from the handling of LFUN_BRANCH_ADD_INSERT to LFUN_BRANCH_ADD. Now, the sequence "branch-add A" + "branch-insert A" doesn't result in an undefined branch Inset in the document.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31792 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-29 22:06:27 +00:00
Vincent van Ravesteijn
cd15ffd9a9
Another fix for bug #5061 : A slight correction of the patch shown described in http://permalink.gmane.org/gmane.editors.lyx.devel/113507 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31791 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-29 21:02:19 +00:00
Vincent van Ravesteijn
d0859f23d0
Fix bug #6292 : Ensure the current language is set correctly after dissolving an Inset.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31790 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-29 13:36:22 +00:00
Enrico Forestieri
424e3da04c
Better fix for bug #6270 . The outer braces are swallowed only for user
...
defined macros, so better use a brace inset only when strictly needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31789 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-29 13:24:02 +00:00
Pavel Sanda
e5098a6f0c
CompareUi: set scaledContents, resave in 4.4 designer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31785 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-28 18:35:46 +00:00
Jean-Marc Lasgouttes
0a868fb846
remove special TEX2LYX code in Spacing,h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31783 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-28 10:07:10 +00:00
Richard Heck
bc0c63c8ee
What we mean by a label in HTML output and what LyX means by a label
...
aren't the same thing, so we won't be generating default CSS for those.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31778 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 19:51:30 +00:00
Richard Heck
df0fdb0d53
We should have a default tag for InsetLayout, too, I think. So here it is.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31777 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 19:46:47 +00:00
Richard Heck
001b0d529d
Put the InsetLayout default CSS stuff to use.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31776 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 19:17:52 +00:00
Richard Heck
9afbd6d68d
Update layout format.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31774 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 19:03:30 +00:00
Richard Heck
6a1bf700b4
A bit more cleanup, after JMarc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31773 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 18:23:53 +00:00
Jean-Marc Lasgouttes
0c1ff6d89e
Move some functions that only required a FontInfo parameter from Font.*
...
to FontInfo.*
This allows tex2lyx to use the plain FontInfo object (via Layout), and to remove
several '#ifdef TEX2LYX' in the code
Reorder a bit the makefile in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31772 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 16:16:15 +00:00
Richard Heck
e8631bf7ed
Default CSS for InsetLayout.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31771 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 14:33:01 +00:00
Richard Heck
4c004e0485
Forgot this in a previous commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31770 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 14:32:45 +00:00
Richard Heck
2e871e1ae3
Renaming.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31769 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 14:14:24 +00:00
Richard Heck
e90add4f15
We need to do some cleanup on the layout name before we can
...
use it as a class name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31768 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 13:58:23 +00:00
Richard Heck
80cc7e99f2
Add routine to create default CSS for layouts.
...
JMarc (or others), please check the #ifdef here. If you'd prefer to
do this some other way, let me know.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31766 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 13:30:53 +00:00
Richard Heck
c2b8eeaf96
Rename some things to improve clarity.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31765 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 13:29:26 +00:00
Richard Heck
1d9b4956c3
Since LyX uses "INHERIT" as a default, we do not want it for HTML.
...
Also reformat things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31764 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 13:27:26 +00:00
Richard Heck
66fb89d976
Fix typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31763 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 13:04:13 +00:00