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
Richard Heck
06b1525f7d
buffer_ --> buffer()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35117 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 14:44:59 +00:00
Richard Heck
700c3dc0ef
loadIfNeeded() returns a pointer to the loaded child, so it's silly to
...
throw away its return value and then go find a pointer to the loaded
child!!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35116 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 14:39:12 +00:00
Richard Heck
89e50feaf2
Invalidate caches when the parent is reset.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35115 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 14:37:06 +00:00
Richard Heck
b28eca7476
buffer_ --> buffer()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35114 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 14:28:24 +00:00
Richard Heck
856b01b6da
Comments on the caching mechanism.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35113 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 14:26:34 +00:00
Richard Heck
2203d7aa0a
Fix some bugs in the bibinfo caching mechanism. Comments to follow.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35112 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 14:12:48 +00:00
Richard Heck
0ac2636d28
Missing invalidations of bibfile cache.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35111 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 21:35:44 +00:00
Jean-Marc Lasgouttes
6aa26820fd
Introduce new tag ParbreakIsNewline in Layout and InsetLayout (not yet used)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35110 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 21:20:29 +00:00
Jean-Marc Lasgouttes
920798c4d6
fix bug #6786 : InsetLayout name containing spaces is incompatible with keybindings/toolbars
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35109 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 20:37:31 +00:00
Richard Heck
350b82fd62
Revert r35106.
...
Help needed here. Why isn't this equivalent?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35108 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 19:17:44 +00:00
Richard Heck
35f3f7cbc4
Don't need this argument, since it was only ever called thus:
...
it->fillWithBibKeys(d->bibinfo_, it);
This could be useful later, if we decide to try to do the work that
fillWithBibKeys did from updateLabels().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35106 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 18:00:46 +00:00