Pavel Sanda
7d86961eed
Proper lfun handling naming for listing tabs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26659 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 23:42:43 +00:00
Uwe Stöhr
7382c55fd7
add support for TABs in Listings, fileformat change, fixes http://bugzilla.lyx.org/show_bug.cgi?id=3629 , patch by Vincent, lyx2lyx and UI stuff by me
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26647 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 18:00:02 +00:00
Jean-Marc Lasgouttes
ede2dbfade
Cleanup and layoutification of the InsetInfo class.
...
* InsetInfo.cpp (InsetInfo): derive from InsetCollapsable instead of
InsetText, so that we can use InsetLayout. Should be reverted when the
layout stuff is migrated to InsetText or some lower level.
(initTranslator, nameTranslator): moved outside of the class.
(name, neverIndent): added.
(draw, setMouseHover): removed.
(updateInfo): cleanup and use layout
(read, setInfo): make sure to reset layout.
* lib/layouts/stdinsets.inc: add layouts for the various Info insets.
These are used for both display and output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26646 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 14:11:40 +00:00
Abdelrazak Younes
5ce39aa8b5
Add a "List of Changes" in the Navigator. The list is updated only when the document structure is reset or when the update button is clicked. Some work is needed to track more finely individual changes as we do for sections.
...
Changes::addToToc(): New method to insert changes sorted by authors. The symbols 0x2702 and 0x270d are used to represent deletion and insertion.
TocBackend::item(): new method to lookup for a given item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26639 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 11:06:34 +00:00
Jürgen Spitzmüller
03b652c9b8
* InsetInclude.cpp:
...
- fix duplicate check of listings labels.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26635 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 08:41:37 +00:00
Abdelrazak Younes
45cd1149e4
Full text in toc for index entries.
...
* Text::asString(): new method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26601 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-28 17:10:16 +00:00
Jürgen Spitzmüller
4cb08129a3
attempt to fix bug 5282:
...
* src/insets/InsetTabular.cpp:
- keep track of encoding after passing a copy of the OutputParams.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26592 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-27 15:32:43 +00:00
Uwe Stöhr
a7722811f7
InsetTabular: make Slovak and Czech documents compilable, fixes http://bugzilla.lyx.org/show_bug.cgi?id=5290 , thanks to Heiko Obderdiek for the hint how to fix this
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26581 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 21:24:59 +00:00
Enrico Forestieri
5ca3be4d67
In mathmode, treat nonascii chars with diacritical marks as an input method
...
for entering math accents, such that an umlauted A is translated as \ddot{A},
for example.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26577 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 15:53:15 +00:00
Jean-Marc Lasgouttes
6cd921678b
move code to unify graphics groups from GuiGraphics to InsetGraphics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26540 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 13:24:52 +00:00
Jean-Marc Lasgouttes
0c68af937a
move the validation code from InsetFlex to InsetCollapsable
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26538 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 13:05:43 +00:00
André Pönitz
4c7fdddd74
streamlining setter syntax. using mutable references seems a bit
...
outlandish compared to the rest of LyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26527 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 21:27:41 +00:00
André Pönitz
e5ae1a4b75
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26481 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 19:27:20 +00:00
Abdelrazak Younes
4829f3bd39
compile fix, sorry.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26462 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-20 07:38:28 +00:00
Abdelrazak Younes
a62d0ab1bf
Small deboostification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26461 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-19 21:18:18 +00:00
Jürgen Spitzmüller
0bb14ddfc7
get rid of two compiler warnings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26444 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-18 16:29:27 +00:00
Jean-Marc Lasgouttes
7b9bfecb2f
another recordUndoFullDocument bits the dust
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26439 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-18 10:47:28 +00:00
Jean-Marc Lasgouttes
32a3da1a84
Fix bug 2746: http://bugzilla.lyx.org/show_bug.cgi?id=2746
...
References autoupdate is not undone during UNDO operation
* InsetLabel.cpp (updateCommand): record undo for each of the label
changes (and put everything in a group to make sure it will be undone
in one step).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26432 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-17 16:28:33 +00:00
Jean-Marc Lasgouttes
fafc1b1d3d
re-implement correctly undo for graphics groups unification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26429 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-17 14:54:37 +00:00
Jean-Marc Lasgouttes
cf7fdf78bb
fix a bunch of harmless warnings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26425 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-16 11:33:07 +00:00
Enrico Forestieri
3e55de70dd
Introduce LFUN_FONT_BOLDSYMBOL, performing the same as LFUN_FONT_BOLD
...
except when in math mode, where \boldsymbol is used instead of \mathbf.
Restore the previous binding of Ctrl-B and make sure that LFUN_FONT_BOLDSYMBOL,
now bound to Ctrl-Alt-B, can be toggled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26418 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-15 16:49:11 +00:00
Abdelrazak Younes
2f271f61bc
fix warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26416 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-15 16:20:12 +00:00
Jürgen Spitzmüller
d17f1a298a
* src/InsetIndex.cpp:
...
- fix LaTeX output with unrepresentable characters in current encoding (bug 5022).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26412 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-15 14:19:00 +00:00
Abdelrazak Younes
d46f34a4ee
Fix GuiInfo dialog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26411 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-15 14:11:57 +00:00
Jürgen Spitzmüller
eb3ab2f3d0
* InsetTabular.cpp:
...
- comment out non-working code that can trigger an assertion (probably bug 5225).
(this code also does not work as expected in branch, but it doesn't act as badly there)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26407 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-15 08:43:42 +00:00
Jürgen Spitzmüller
7bbb01f8b6
* src/insets/InsetTabular.{cpp,h}:
...
- improve updating of on-screen alignment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26406 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-15 08:09:52 +00:00
Edwin Leuven
b1c3515769
comments don't hurt
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26402 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-14 17:43:04 +00:00
Edwin Leuven
3573d29271
clean up horizontal tabular line latex-output
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26395 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-14 12:31:58 +00:00
Jürgen Spitzmüller
a2c42bc702
fix bug 5250.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26394 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-14 07:42:15 +00:00
Abdelrazak Younes
f83a38b3de
Paragraph::inInset() shall not be used if the owner inset was not initialized. Make this rule clear and unavoidable.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26385 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-13 17:01:54 +00:00
Jürgen Spitzmüller
a942cf9e86
* Fix display of horizontal alignment in fixed width tabular cells (bug 3484)
...
* src/Inset.h:
- new member content Alignment that indicates whether the content
of text insets should be displayed with a specific alignment
* src/TextMetrics.cpp:
- handle inset's contentAlignment
* src/insets/InsetTabular.{cpp,h}:
- set contentAlignment for tabular cells.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26380 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-13 10:10:01 +00:00
Jürgen Spitzmüller
a3392f4088
I/1H\$Hl$Ld$Ll$ Lt$(L|$0H8M
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26376 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 17:25:11 +00:00
Jean-Marc Lasgouttes
3387e437a8
Length::inBP returns big postscript points, not pixel width
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26373 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 14:38:03 +00:00
Jürgen Spitzmüller
9b99e7be2c
Fix rest of bug 4886, following Richard's advices.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26354 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-10 16:02:32 +00:00
Jürgen Spitzmüller
623308f1e9
* src/insets/InsetTabular.cpp:
...
- correct LaTeX output for alignment in fixed width multicolumn cells
(bug 1747).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26352 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-10 12:49:08 +00:00
Richard Heck
3bb9c0d34d
Fix bug 4886.
...
Introduce OutputParams::inTableCell, to track when we are in a table cell.
Use this information to output \newline rather than \\ when in one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26349 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-09 18:42:17 +00:00
Edwin Leuven
fab42d011c
fix sideways scrolling in tabulars with nested insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26347 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-09 14:12:08 +00:00
Uwe Stöhr
eb963540d4
various listings fixes by Vincent, see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg143302.html
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26341 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 21:51:38 +00:00
Abdelrazak Younes
d577bf8c4a
Simplify InsetQuotes ctor.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26313 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-06 14:12:38 +00:00
Abdelrazak Younes
a5d7f0504d
Pass Buffer in InsetQuote ctor. Patch fro Richard.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26312 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-06 14:04:01 +00:00
Richard Heck
2807761e65
Fix a bug that allowed setting of layouts inside optional arguments.
...
There is more that could be done here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26303 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-04 21:50:14 +00:00
Uwe Stöhr
ed5fcd95ac
InsetHyperlink.cpp: coding style change according to André's advice
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26269 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-30 14:52:56 +00:00
Uwe Stöhr
ac3f391b46
InsetHyperlink.cpp: fix a bug I introduced in r26218
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26262 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-29 22:44:48 +00:00
Pavel Sanda
2d811e48e2
Get rid of annoying tooltips. ERT tooltip survived for the time being.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg142984.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26250 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-29 00:38:51 +00:00
Jürgen Spitzmüller
c0ff4f48e5
* src/insets/InsetNewline.cpp:
...
- revert accidental commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26228 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-23 15:07:31 +00:00
Jürgen Spitzmüller
fb12b282f1
* src/inset/InsetNomencl.cpp:
...
- implemet inset tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26227 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-23 15:02:44 +00:00
Jürgen Spitzmüller
b556fe1bcb
* src/inset/InsetNomencl.cpp:
...
- indicate content of nomencl inset (bug 5183).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26223 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-22 16:12:29 +00:00
Uwe Stöhr
a258a932d9
InsetHyperlink.cpp: add "http://" when the hyperlink type is web and no protocol is specified (as requested on the lyx-devel list)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26218 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-19 22:06:10 +00:00
Jürgen Spitzmüller
0d63bbae14
* src/insets/InsetFloat{.cpp,h}:
...
- subfloat labelling fixes from Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26214 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-19 14:56:12 +00:00
Peter Kümmel
1da756723a
fix merged build
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26152 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 21:39:59 +00:00