Commit Graph

18237 Commits

Author SHA1 Message Date
Uwe Stöhr
53cb5fb06c factory.cpp: this should not have gone in r35277
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35278 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-04 13:17:08 +00:00
Uwe Stöhr
8fc3baa3f9 factory.cpp: sorting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35277 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-04 13:13:44 +00:00
Stephan Witt
4bde2bc7bc implement the paragraph check feature for apple speller
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35276 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-04 07:48:15 +00:00
Uwe Stöhr
d7c90fd841 TextMetrics.h: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35275 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-04 02:38:21 +00:00
Richard Heck
a5cb539d08 Don't say empty layouts are valid.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35272 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-03 13:33:05 +00:00
Pavel Sanda
46ce4588df Squash Qt warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35270 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-03 11:21:15 +00:00
Jean-Marc Lasgouttes
58ac669f37 Use the selectiontext color for insets which are embedded in a selection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35269 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-02 13:30:39 +00:00
Jean-Marc Lasgouttes
d71281d4ae MetricsInfo::textColor: helper function that helps taking in account the
selection and chage tracking state

InsetTabular::drawCellLines: use the above function to draw properly tabular lines after a selection. 

This method can be used easily for other insets.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35268 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-02 12:13:54 +00:00
Jean-Marc Lasgouttes
15832da56d Header cleanup (remove uneeded declarations)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35266 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-02 10:26:34 +00:00
Peter Kümmel
ffec54c980 msvc stops on unused variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35254 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-01 14:18:32 +00:00
Uwe Stöhr
a2c6c06908 better support for the mathdots package:
technically this package is the same as esint, only for dots instead of integrals -> therefore we can and should handle it the same as esint

-> add "use automatically" checkbox
-> load mathdots if \iddots is inserted

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35251 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-31 23:34:54 +00:00
Stephan Witt
4b6fe42475 avoid assignment in if-expression
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35245 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-31 13:25:29 +00:00
Uwe Stöhr
1712e4f35e support to load the mathdots package via the document settings; fixes #5373; fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35241 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-31 02:04:46 +00:00
Pavel Sanda
9e45d81441 Comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35234 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-30 12:08:10 +00:00
Pavel Sanda
433830cdc0 Corners of collapsable insets to be painted via Color_foreground,
not labelColor(). In default theme this makes no change.

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



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35233 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-30 00:02:10 +00:00
Pavel Sanda
b1d6406ac4 Learn URL viewing for hyperlink insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35232 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-29 23:04:36 +00:00
Uwe Stöhr
3ee100f47d MathSupport.cpp:
- fix metrics of the dots of \ddddot
- whitespace fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35231 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-29 22:59:24 +00:00
Jürgen Spitzmüller
435067c0f1 * InsetHyperlink.{cpp,h}:
* stdcontext.inc:
	- basic implementation of inset-edit (only for file: now) (part of bug #6864)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35230 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-29 17:23:35 +00:00
Jürgen Spitzmüller
d427010975 * InsetHyperlink.{cpp,h}:
* stdcontext.inc:
	- basic context menu and tooltip (part of bug #6864)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35229 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-29 16:40:52 +00:00
Jürgen Spitzmüller
6bcf9b6fea * EnchantChecker.cpp:
- do not pass empty words to the checker (bug #6870)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35224 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-29 08:49:25 +00:00
Enrico Forestieri
6624a5b0db Fix bug #6868: LYXCMD:xxx:inset-insert:graphics does not parse correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35218 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-28 16:46:54 +00:00
Stephan Witt
4887009e68 add setMisspelled() wrapper to check arguments and to hide the fontlist property implementation detail
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35206 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-26 11:47:27 +00:00
Stephan Witt
b02f2006be Workaround for #6865: smarter FontList::setMisspelled implementation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35203 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-26 07:09:25 +00:00
Jürgen Spitzmüller
0ac0b1a81d fix cutnpaste error.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35196 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-25 06:37:37 +00:00
Jürgen Spitzmüller
3ca7e00058 * GuiTabular.{cpp,h}:
- reimplement funcEnabled.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35195 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-25 06:25:07 +00:00
Uwe Stöhr
d0f8cf1018 GuiTabular.cpp: fix another FIXME
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35193 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-25 02:56:27 +00:00
Uwe Stöhr
db6634578d GuiTabular.cpp: fix #6859 and a FIXME
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35192 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-25 02:36:02 +00:00
Uwe Stöhr
fab03729ab InsetLine.cpp: use text color also for lyxlines
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35191 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-25 01:59:14 +00:00
Uwe Stöhr
1dedc47249 Text2.cpp: forgot this in last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35190 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-24 03:08:33 +00:00
Uwe Stöhr
7d68833dc9 remove unused include of FuncRequest
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35189 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-24 03:07:09 +00:00
Uwe Stöhr
bc58158be7 LyXRC.cpp: don't use the OS system colors by default as discussed, those who prefer this can easily turn it on
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35188 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-24 01:37:29 +00:00
Uwe Stöhr
c3b341cbcb InsetCaption: we use IndianRad as frame color while the float frames use DarkRed; as discussed, providing to specify a special caption frame color in the preferences is unnecessary
-> remove caption frame color from preferences
-> use the collapsible frame color also for caption frames

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35187 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-24 01:29:22 +00:00
Uwe Stöhr
38ed6cd1a0 \lyxline is a LyX-specific macro that creates a line in the output
- this line is defined with a width of 1pt -> therefore also draw it in this size in lyx
- this line is by default black -> use black
- setting a color for this in the preferences is wrong and senseless, because the color of this line is defined by the color chosen in the text style dialog -> remove preference color

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35185 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-24 01:13:26 +00:00
Stephan Witt
fa3c8d6894 prepare native spell checker interface for check of multiple words at once
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35183 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-22 13:55:28 +00:00
Stephan Witt
31dbbc43d9 #6848 correct load order of files to open on startup - author of patch: Punyashloka Biswal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35182 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-21 16:49:30 +00:00
Enrico Forestieri
7238d40c99 Move code to more proper place.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35180 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-19 22:50:06 +00:00
Enrico Forestieri
fa0cd9ad60 Fix bug #6793: Changing an existing formula type to displayed formula loses the label
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35178 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-19 13:58:36 +00:00
Enrico Forestieri
66808b0482 Avoid memory leak when the label is on the first row.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35168 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-19 08:17:36 +00:00
Enrico Forestieri
97fb94d90f Fix crash when mutating eqnarray-like environments with labeled lines
to display equations.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35163 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-19 07:28:49 +00:00
Enrico Forestieri
87f155767a Better fix for bug #6851.
The old-style font changing macros really inherit the mode, so we have
to account for this.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35156 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 17:57:06 +00:00
Jürgen Spitzmüller
cf0708db7a * TabularUI.ui:
- add accelerator
	- better labeling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35155 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 17:13:57 +00:00
Jürgen Spitzmüller
24dc465cc0 Add some accelerators.
NOTE: some new elements in the dialogs still lack accelerators. People, please think of keyboard users when adding UI!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35154 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 17:08:57 +00:00
Jürgen Spitzmüller
0a7b799510 * Output.ui: clearer labeling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35151 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 15:27:05 +00:00
Jürgen Spitzmüller
bd19edccf0 * GuiPrefs.cpp: casing fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35150 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 15:19:05 +00:00
Jürgen Spitzmüller
188c57aeda * GuiTabular.cpp:
- fix enabling of decimal separator item by using proper gui/data separation
	- better labeling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35149 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 15:10:53 +00:00
Jürgen Spitzmüller
f2f3ed23f0 * InsetTabular.cpp: do not attempt to access an empty DocIterator (bug 6810).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35148 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 14:32:52 +00:00
Enrico Forestieri
61791114a1 Fix bug #6851: Wrong screen fonts with old style macros such as \bf and \rm.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35136 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 00:22:04 +00:00
Uwe Stöhr
5f62c2ed6a InsetGraphics.cpp: fix a comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35131 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-13 00:17:12 +00:00
Uwe Stöhr
f6f59757ac Color.cpp: use the same frame color for inset frames and captions frames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35130 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-12 12:31:05 +00:00
Jean-Marc Lasgouttes
60445ede53 remove unused headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35129 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-12 09:38:22 +00:00