Vincent van Ravesteijn
152491f916
Some cosmetics (from my local cosmetics branch).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35708 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-18 14:20:03 +00:00
Richard Heck
4ff48f1d54
Need ifthen for this, too.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35647 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-14 14:02:49 +00:00
Richard Heck
85904c550d
Add ResetsFont tag to InsetLayout, toward fixing bug #5657 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35626 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 15:54:39 +00:00
Richard Heck
01013c0785
Refstyle support. The user can now choose between prettyref and restyle
...
for formatted references. Fixes #2295 , in so far as it makes it possible
to translate formatted references.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35623 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 12:36:53 +00:00
Richard Heck
2a63b2d1cb
Customize getLayout for InsetFlex and change how we report name() back
...
to the simple version. We need to do it this way because we should NOT
really require the "Flex" prefix and, in fact, should permit other
prefixes to be used. Next commit for that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35613 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:37:02 +00:00
Richard Heck
226853c060
style
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35611 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:07:27 +00:00
Richard Heck
d4634167cc
Get rid of "CharStyle:", "Custom:", and "Element:" prefixes, per a
...
suggestion of JMarc's. Docs to follow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35608 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 14:46:17 +00:00
Uwe Stöhr
e8a1fed47c
InsetBibtex.cpp:
...
- fix #1881 , fileformat change
- fix #6470
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35590 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-11 01:05:20 +00:00
Uwe Stöhr
5606b7d875
InsetBibitem.cpp: fix #5786
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35582 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-09 16:02:19 +00:00
Uwe Stöhr
27423f93ba
InsetTabular.cpp: fix #6907 , patch by goriccardo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35561 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-05 01:14:34 +00:00
Uwe Stöhr
03a2216981
InsetGraphics.cpp and InsetInclude.cpp: whitespace fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35517 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 03:21:59 +00:00
Uwe Stöhr
b33182bc3d
filetools.cpp: introduce a new method to be able to distinguish between valid LaTeX filenames and filenames causing troubles on some DVI viewers.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35514 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 02:39:22 +00:00
Pavel Sanda
f2c388a519
Allow InsetPreview in no math preview mode.
...
Patch from Ronen Abravanel
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg161966.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35456 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-19 22:33:55 +00:00
Pavel Sanda
65962da47b
Add support for feyn package and Diagram inset.
...
Patch from Ronen Abravanel.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg161952.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35455 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-19 22:12:06 +00:00
Jürgen Spitzmüller
0b17cb1135
* ExternalSupport.cpp:
...
- do not popup invalid path warning with View Source (bug 6904).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35449 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-19 16:30:17 +00:00
Uwe Stöhr
3a400812e1
InsetLine.h revert changes made in r35417
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35428 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 23:12:19 +00:00
Uwe Stöhr
92c8604313
InsetLine:
...
- honor Abdel as author
- reintroduce the /// spacers in the header file because it makes it better readable and we do this in all other inset header files
GuiLine: honor Abdel as author
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35417 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 01:28:08 +00:00
Abdelrazak Younes
17ab5f5a38
InsetLine: Fix vertical positioning, offset is really an offset from the
...
text baseline, not from the middle of the line.
We are now getting much closer to LateX drawing...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35413 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 10:40:19 +00:00
Abdelrazak Younes
3b512d5915
header cleanup and doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35412 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 10:14:46 +00:00
Abdelrazak Younes
31c75d260e
Remove uneeded hack.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35411 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 09:49:43 +00:00
Abdelrazak Younes
08453ceba4
Fix InsetLine painting for exotic offset and heigth.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35407 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-16 07:36:20 +00:00
Richard Heck
fbc092639c
Part of #6893 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35389 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 13:51:06 +00:00
Richard Heck
b5d2e9d285
Fix output of HTML tags in bibliography info.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35388 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 13:50:17 +00:00
Richard Heck
7f0b1d1cbb
Fix i18n for InsetBibtex.
...
It would be better to get the paragraph language here. How to do that?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35386 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 13:28:55 +00:00
Abdelrazak Younes
c01de9fd41
* add InsetLine::dimension() to avoid calling InsetCommand::dimension()
...
* InsetLine::draw() bit of code shuffling.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35384 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 12:43:07 +00:00
Abdelrazak Younes
15679c3e82
revert r35374 and further improve the metrics and drawing code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35377 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 11:19:29 +00:00
Richard Heck
14015ec434
Void functions don't return things. ;-)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35376 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 01:03:13 +00:00
Uwe Stöhr
573abee2b5
InsetLine.cpp: correct coding style
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35375 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-14 23:35:12 +00:00
Uwe Stöhr
e33e3dd815
InsetLine.cpp: restore the drawing routine after r35373, see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg161800.html
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35374 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-14 23:24:57 +00:00
Abdelrazak Younes
d1f08cbc57
Fix InsetLine metrics and drawing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35373 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-14 14:56:41 +00:00
Abdelrazak Younes
24ff65acc4
coding style and C++ fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35370 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-14 13:42:09 +00:00
Stephan Witt
c4d00e85eb
implement isChar() in header like all other insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35368 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-14 12:39:33 +00:00
Abdelrazak Younes
d8981b13ae
* Get rid of LFUN_TOC_INSERT: we use LFUN_INSET_INSERT "toc".
...
* Fix usage of "inset-insert type" without CommandInset arguments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35345 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-12 07:56:08 +00:00
Jean-Marc Lasgouttes
e54376ebd6
There was no need to use ColorChanger after all :)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35334 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-09 13:15:25 +00:00
Jean-Marc Lasgouttes
2d278665dc
When selecting, get the label color of caption inset right.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35332 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-09 13:03:26 +00:00
Pavel Sanda
2d8ee8973f
Commit clash, Abdel just fixed it another way.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35318 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 13:43:10 +00:00
Pavel Sanda
01eb99ea4d
Compilation fix for 'abs'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35317 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 13:40:03 +00:00
Abdelrazak Younes
0b7886a1a8
Gcc compile fix. abs is defined for float not int.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35316 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 13:37:22 +00:00
Pavel Sanda
d179943b8f
Squash warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35305 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 11:00:01 +00:00
Uwe Stöhr
604a3341d9
InsetLine.cpp: remove unused include
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35300 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 00:49:00 +00:00
Uwe Stöhr
0e7ab29f49
InsetLine: support for the LaTeX command \rule; kick out the hardcoded \lyxline; fileformat change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35299 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-07 00:41:00 +00:00
Uwe Stöhr
59d550f894
InsetLine.cpp: fix #6863 : use text color also for lines within LyX
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35286 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-05 23:27:55 +00:00
Uwe Stöhr
bbafadcbf3
InsetLine.cpp: compile fix for r35283
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35285 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-05 17:18:23 +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
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
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
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