Vincent van Ravesteijn
f694cf7135
* InsetMathNest.cpp: Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28387 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 01:01:15 +00:00
Georg Baum
07676f2330
fix metrics debugging
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27955 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 18:16:05 +00:00
Pavel Sanda
e4808961c9
Another selection painting patch, PainterInfo::backgroundColor introduced.
...
Patch by Vincent.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145438.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27097 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 10:47:38 +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
Pavel Sanda
f7cf8c09d2
git is shouting at me because of whitespaces, so what can i do...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26498 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 15:41:05 +00:00
Pavel Sanda
29e02eff76
Colors for multi-author track changes.
...
Patch by Vincent.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg143215.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26497 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 15:30:26 +00:00
André Pönitz
3a5e4ab8ca
more appropriate behaviour on assert
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26233 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-24 21:24:21 +00:00
Abdelrazak Younes
0b86ea9f71
previous rev: revert accidental commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25932 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-28 15:05:12 +00:00
Abdelrazak Younes
2d9def6577
Fix http://bugzilla.lyx.org/show_bug.cgi?id=5021
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25931 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-28 14:58:29 +00:00
Dov Feldstern
dba608e1d7
fix completion painting for RTL (inline completion and completion list)
...
see http://permalink.gmane.org/gmane.editors.lyx.devel/107923 for an
explanation, though note that this patch is more extensive than the one
attached there
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25118 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 19:45:26 +00:00
Abdelrazak Younes
2b9fea2db3
Cosmetics and comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24771 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-14 15:37:20 +00:00
Abdelrazak Younes
fb8914b9ca
cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24770 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-14 15:24:36 +00:00
Abdelrazak Younes
ffc1002291
simplify selected text painting.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24769 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-14 15:16:10 +00:00
Abdelrazak Younes
45bc27809b
remove unneeded includes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24628 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 06:48:38 +00:00
Jean-Marc Lasgouttes
9b4a26a252
rename assert.h to lassert.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24559 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 08:26:40 +00:00
André Pönitz
7f461f4392
infrastructure for 'graceful asserts'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24216 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-10 21:49:34 +00:00
Edwin Leuven
fdaf744c4a
implement separate color for text in selection
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24033 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 11:21:36 +00:00
André Pönitz
6b28f08ff2
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23891 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 21:47:37 +00:00
Uwe Stöhr
b1e077a7d2
compilation fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23797 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 21:11:17 +00:00
André Pönitz
f2c9b56fb4
cosmetics/#include cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23747 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 00:22:54 +00:00
Richard Heck
a01cb111a0
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now privately, and make a Layout const & available to clients.
...
The need for a LayoutPtr arises from the fact that (a) we do not want to give our clients a Layout &, since we do not want them to be able to change our Layout; but (b) we also need to be able to change which layout is ours. So we cannot store a Layout const &. Or so it seems to the compiler.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23522 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-06 21:31:27 +00:00
Stefan Schimanski
0cdf6c006b
* corner cases for RTL completions: RTL<->LTR boundaries
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23318 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 12:44:42 +00:00
Stefan Schimanski
f7cd0928ad
* correct color for the unique part of the completion in RTL
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23315 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 12:42:58 +00:00
André Pönitz
1cca0a86bd
API cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23295 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 23:03:26 +00:00
Abdelrazak Younes
f658224e5c
Fix warnings and svn eol properties.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23220 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-25 08:54:51 +00:00
André Pönitz
0fb8f3fba1
mostly s/Paragraph::layout(...)/Paragraph::setLayout(...)/
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23159 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-23 16:45:38 +00:00
Stefan Schimanski
37b79f1039
* allow on position more at the row end for the completion
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23148 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-22 23:40:36 +00:00
Stefan Schimanski
3cdfa1708f
* the bidi array drives me crazy. It only holds the current row. So better check that our position is in that row.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23145 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-22 21:57:45 +00:00
Stefan Schimanski
0d7ca9cdc3
* inlineCompletionVPos is only used locally. So define it there.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23144 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-22 21:57:33 +00:00
Stefan Schimanski
f614d46ca1
* cosmetic
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23132 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-22 15:26:52 +00:00
Stefan Schimanski
7b0ea48d31
* first step to proper RTL support of the completion. The cursor is still wrong.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23130 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-22 14:05:27 +00:00
Stefan Schimanski
1bf7b59d60
* completion infrastructure
...
* completion support for mathed
* experimental completion support for text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23104 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-21 19:42:34 +00:00
Abdelrazak Younes
2bf1c09376
header cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23049 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-18 07:14:42 +00:00
André Pönitz
225bf49cf9
some refactoring.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22890 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-09 10:41:49 +00:00
Abdelrazak Younes
091ff73403
RowPainter::paintLast(): microptimisation and comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22705 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-29 07:31:24 +00:00
Abdelrazak Younes
c9273f13e8
Adjustment to the end box drawing at the end of a proof layout environment (Theorem AMS). Ideas taken from Richard and JMarc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22702 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-28 21:22:29 +00:00
Abdelrazak Younes
f643441cf2
Better fix than revision 22553. Transfer the backup to RowPainter::paintInset().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22554 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 16:24:01 +00:00
Abdelrazak Younes
9abb7db468
getting rid of superfluous std:: statements.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22104 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 19:28:07 +00:00
Abdelrazak Younes
9383f4c3c6
'using namespace std' instead of 'using std::xxx'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 10:16:00 +00:00
Abdelrazak Younes
55a9524e99
Cleanup Hfill metrics and painting. InsetHFill is now treated almost like any other inset.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21980 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-05 22:25:07 +00:00
André Pönitz
9d0ea8aeff
Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/.
...
Now support/* should have no dependencies on src/* anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21851 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:04:28 +00:00
André Pönitz
150cf11651
hand-crafted LyXErr
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21849 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 22:12:03 +00:00
Abdelrazak Younes
c201e0dde7
Fix crash with InsetHFill. The inset position was not cached in the CoordCache.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21758 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 07:47:01 +00:00
Abdelrazak Younes
cff2f03285
RowPainter::paintForeignMark(): take a Language instead of a Font.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21253 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 08:52:13 +00:00
Abdelrazak Younes
d58f8cf7f6
Add some const and avoid implicit constructions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21252 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 08:47:19 +00:00
Abdelrazak Younes
d6f380eac1
Undo some Font -> FontInfo moves.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21248 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 22:49:49 +00:00
Abdelrazak Younes
5ddc612b73
Splitup Font in saner bits:
...
* Font::FontBits -> FontInfo
* Font::FONT_XXX -> all enums transfered to FontEnums.h and renamed to FontXxx
I've replaced Font uses with FontInfo were the language() member was not needed, basically all draw() and metrics methods. There's one problematic cases with InsetQuotes which I solved by taking the Buffer main language.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21240 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 18:51:54 +00:00
Abdelrazak Younes
eea79637c7
Move Color::color enum to ColorCode.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21198 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 12:41:02 +00:00
Abdelrazak Younes
6725b2db59
Reduce header dependencies in Paragraph.h
...
- Move Changes.h out of Paragraph.h
- pimpl the inset list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21033 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 15:29:51 +00:00
Abdelrazak Younes
589170bd4b
Remove mostly unused function.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20943 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 12:58:43 +00:00
André Pönitz
cd72af583f
cosmetics
...
(maily move layout related enums into a header of there own to remov
include dependencies, alos rename a few things)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20598 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-29 20:02:32 +00:00
Abdelrazak Younes
237c132c1e
* Inset:
...
- get rid of the cached Dimension. Text inset dimensions are saved in ParagraphMetrics and mathed maintain their own dimension where needed.
- width(), ascent(), descent(): deleted.
- dimension(): now needs a valid BufferView.
- metrics(): now void.
* BufferView::getCoveringInset(): simplify.
* ParagraphMetrics(): now cache inset dimensions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20420 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 20:39:47 +00:00
Abdelrazak Younes
74acf6b528
Cleanup the TEXT_TO_INSET_OFFSET mess. This correction is done now once in InsetText. Various other cleanup resulting from this change. In particular, pave the way to the removal of Dimension Inset::dim_ member by registering the inset dimension in RowPainter::paintInset() instead of InsetXXX::draw().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20326 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 21:45:14 +00:00
Abdelrazak Younes
2ea432bab1
* TextMetrics: getDisplayFont() and isRTLBoundary() takes pit instead of Paragraph.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20015 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-02 22:28:49 +00:00
Abdelrazak Younes
d35d25460b
* Text: Move some more stuff from Text to TextMetrics:
...
- getFont() becomes TextMetrics::getDisplayFont()
- setCharFont() now needs a display font.
- setInsetFont() and setFont() now needs a BufferView, will be transferred to TextMetrics too.
- isRTL(): moved to TextMetrics
- isRTLBoundary(): ditto
- font_: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20014 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-02 21:48:49 +00:00
Abdelrazak Younes
cb796d31b0
Transfer metrics and screen related methods from Text to TextMetrics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19995 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-02 11:27:19 +00:00
Abdelrazak Younes
4048448236
Transfer metrics and screen related methods from Text to TextMetrics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19991 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-02 09:44:08 +00:00
Abdelrazak Younes
7d97e555fc
Transfer Paragraph::hfillExpansion() to ParagraphMetrics. This also reduce the dependency to Row.h which is probably going to change in the near future.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19951 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 14:46:13 +00:00
Abdelrazak Younes
a904d97565
stupid copy&paste bug fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19915 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 14:26:52 +00:00
Abdelrazak Younes
ed1487dd8e
* RowPainter: store PainterInfo reference instead of creating one.
...
* PainterInfo: new full_repaint member.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19913 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 13:53:02 +00:00
Abdelrazak Younes
97f66c07f6
* RowPainter:
...
- paintOnlyInsets(): new public method for inset painting only in case the inset dimension didn't change within a Row.
- paintInset(): put out everything not strictly related to the inset painting itself.
- paintHfill(): new private method to cut the reduce code in paintText().
* TextMetrics::drawParagraph(): use paintOnlyInsets() when the Row text nor it's dimension changed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19912 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 13:19:24 +00:00
Abdelrazak Younes
3ee543a64e
* RowPainter::paintFromPos(): transfer inset part to paintInset()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19910 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 09:01:30 +00:00
Abdelrazak Younes
be8de62ae2
Merge the Row and RowMetrics class. Those classes were separated in the 1.4 code base because the Row list was part of Paragraph. As it is now in ParagraphMetrics, there is no need to separate them. Also, only compute the rowmetrics once when the containing paragraph is redone.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19858 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 15:47:53 +00:00
Abdelrazak Younes
971c543b34
- Transfer rowpainter.cpp:paintPar() to TextMetrics::drawParagraph()
...
- move RowPainter class out of the anonymous namespace so that it can be used by TextMetrics::drawParagraph().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19848 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 08:57:13 +00:00
Abdelrazak Younes
a43e822c98
Transfer rowpainter.cpp:paintText() to BufferView::draw()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19843 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 22:53:16 +00:00
Abdelrazak Younes
55f184563e
- Transfer rowpainter.cpp:paintTextInset() to TextMetrics::draw()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19842 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 22:36:20 +00:00
Abdelrazak Younes
f88feb9548
I may have gone a bit too far in revision 19834: restore the selection painting.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19835 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 14:59:23 +00:00
Abdelrazak Younes
3c92c2ab13
Remove the wide() hack. This simplifies quite a few things...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19834 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 14:38:29 +00:00
André Pönitz
39c7e2faf0
rename Layout_ptr into LayoutPtr
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19758 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-23 19:59:07 +00:00
Abdelrazak Younes
0fcae6cc10
* BufferView::buffer() returns a reference instead of a pointer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19691 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 13:03:55 +00:00
Abdelrazak Younes
f91f682ef9
* Text:
...
- singleWidth(Buffer...): transfered to TextMetrics.
- singleWidth(Paragraph...): transfered to ParagraphMetrics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19639 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-18 21:17:10 +00:00
Abdelrazak Younes
98008dc568
* Layout.h
...
- leftMargin, rightMargin, labelsep, labelindent, parindent are now docstring.
* TextClass.h:
- leftMargin() and rightMargin(): now return a docstring.
All other files: adapt to change above.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19633 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-18 13:21:12 +00:00
Jürgen Spitzmüller
f521c4601d
Fix inset drawing issues (bug 3582)
...
* src/rowpainter.cpp:
- inNarrowInset: fix method
- paintPar: repaint if we are in a narrow inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19111 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 09:54:38 +00:00
Jürgen Spitzmüller
9d89b98987
* src/rowpainter.cpp:
...
- draw appendix frame only for the main text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19100 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 13:35:32 +00:00
Dov Feldstern
72535633e3
Fix bug 3889 (justification of Bidi text in the GUI)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19016 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 17:18:35 +00:00
Uwe Stöhr
d8993d2d6c
- Fileformat change: rename "arabic" to "arabic_arabtex"
...
- Split the language Arabic into "arabic_arabi" that uses the arabi-package and "arabic-arabtex" that uses the arabTeX-package to typeset Arabic. This is needed because both packages have some advantages over the other people need.
(This change is a consequence of a long and fruitful discussion with Mostafa, Dov, and me.)
Patch by Dov and me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18887 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 00:11:03 +00:00
Stefan Schimanski
22421dffb3
* do not draw grey bars if another update strategy is active than fullscreen
...
(fixes http://bugzilla.lyx.org/show_bug.cgi?id=3231 ). See
http://thread.gmane.org/gmane.editors.lyx.devel/87296 for discussion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18741 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-11 18:22:00 +00:00
Stefan Schimanski
048a38b66c
* small fix to r18706: Better be more defensive in assuming that RowPainter has
...
a singleton behavior. In fact I think it has not for nested Text insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18710 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-08 05:14:49 +00:00
Stefan Schimanski
6daaf5388b
* local_bidi.patch: The bidi object in the class Text is only used in
...
places now where a ParagraphMetrics::computeRowMetrics call comes
before. And this function the Bidi object is updated. So it is a
little step now to remove the Text::bidi completely and use local
Bidi objects instead without more work to do.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18706 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-07 20:39:14 +00:00
José Matox
35eb5ddb22
Add support for Farsi (thanks to Mostafa Vahedi).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18599 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 18:53:01 +00:00
Lars Gullik Bjønnes
897436efbb
Whitespace cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18550 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 22:27:45 +00:00
José Matox
8283c6f5b2
Mark spaces which belong to a foreign language in the same manner that non-whitespace is marked (from Dov).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18387 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-17 21:20:34 +00:00
Michael Schmitt
8684c07664
output changes by means of xcolor and soul
...
- when exporting with pdflatex
- when exporting with latex and dvipost is not available
rename two colors (strikeout => deletedtext, newtext => addedtext)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18284 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 15:17:57 +00:00
André Pönitz
e0d54dd3b4
LyXText -> Text
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18103 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 23:33:02 +00:00
André Pönitz
0bf9ac02a8
rename LyXLayout into Layout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18096 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 18:58:28 +00:00
André Pönitz
fc6ce7cd08
rename LyXFont to Font except in tex2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18095 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 18:17:15 +00:00
André Pönitz
32871c1284
rename InsetBase to Inset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18089 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 13:39:47 +00:00
André Pönitz
5008ee540f
rename LColor into Color
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18046 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 17:34:20 +00:00
André Pönitz
42123ab8a7
rename LCursor->Cursor
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18040 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 14:56:30 +00:00
Bo Peng
f630be8904
Rename .C ==> .cpp for files in src/
...
Oldname, newname, classes
src/pspell.C src/PSpell.cpp PSpell
src/ParagraphMetrics.h src/ParagraphMetrics.h ParagraphMetrics
src/author.C src/Author.cpp ['Author', 'AuthorList']
src/Floating.C src/Floating.cpp Floating
src/lyxvc.C src/LyXVC.cpp LyXVC
src/intl.C src/Intl.cpp Intl
src/paragraph.h src/Paragraph.h ['FontSpan', 'Paragraph']
src/LyXAction.C src/LyXAction.cpp LyXAction
src/SpellBase.C src/SpellBase.cpp SpellBase
src/TextMetrics.C src/TextMetrics.cpp TextMetrics
src/LaTeXFeatures.C src/LaTeXFeatures.cpp LaTeXFeatures
src/buffer_funcs.h src/buffer_funcs.h NOCLASSES
src/Variables.h src/Variables.h Variables
src/cursor.C src/LCursor.cpp LCursor
src/lyx_cb.C src/lyx_cb.cpp NOCLASSES
src/DepTable.C src/DepTable.cpp ['DepTable', 'dep_info']
src/vspace.C src/VSpace.cpp VSpace
src/Thesaurus.C src/Thesaurus.cpp Thesaurus
src/Color.h src/color.h NOCLASSES
src/Spacing.C src/Spacing.cpp Spacing
src/dociterator.h src/DocIterator.h ['DocIterator', 'StableDocIterator']
src/trans.C src/Trans.cpp Trans
src/metricsinfo.h src/MetricsInfo.h ['MetricsBase', 'MetricsInfo', 'PainterInfo', 'TextMetricsInfo', 'ViewMetricsInfo', 'Changer', 'FontChanger', 'FontSetChanger', 'StyleChanger', 'ScriptChanger', 'FracChanger', 'ArrayChanger', 'ShapeChanger', 'WidthChanger', 'ColorChanger']
src/box.C src/Box.cpp Box
src/language.h src/Language.h ['Language', 'Languages']
src/output_plaintext.C src/output_plaintext.cpp NOCLASSES
src/coordcache.C src/CoordCache.cpp ['Point', 'CoordCache']
src/lyxlex.h src/LyXLex.h ['LyXLex', 'pushpophelper']
src/encoding.h src/Encoding.h ['Encoding', 'Encodings', 'const_iterator']
src/debug.h src/debug.h lyx_debug_trait
src/Chktex.h src/Chktex.h Chktex
src/output.C src/output.cpp NOCLASSES
src/output_latex.h src/output_latex.h NOCLASSES
src/sgml.C src/sgml.cpp NOCLASSES
src/pspell.h src/PSpell.h PSpell
src/bufferlist.C src/BufferList.cpp BufferList
src/author.h src/Author.h ['Author', 'AuthorList']
src/Bidi.C src/Bidi.cpp Bidi
src/exporter.C src/Exporter.cpp ['Exporter', 'ExportedFile', 'ExportData']
src/Floating.h src/Floating.h Floating
src/lyxvc.h src/LyXVC.h LyXVC
src/intl.h src/Intl.h Intl
src/lyxlength.C src/LyXLength.cpp LyXLength
src/LyXAction.h src/LyXAction.h LyXAction
src/SpellBase.h src/SpellBase.h SpellBase
src/TextMetrics.h src/TextMetrics.h TextMetrics
src/LaTeXFeatures.h src/LaTeXFeatures.h LaTeXFeatures
src/cursor.h src/LCursor.h LCursor
src/layout.h src/layout.h NOCLASSES
src/DepTable.h src/DepTable.h ['DepTable', 'dep_info']
src/lyx_cb.h src/lyx_cb.h NOCLASSES
src/vspace.h src/VSpace.h VSpace
src/PrinterParams.C src/PrinterParams.cpp PrinterParams
src/tex-strings.C src/tex-strings.cpp NOCLASSES
src/Thesaurus.h src/Thesaurus.h Thesaurus
src/Spacing.h src/Spacing.h Spacing
src/BranchList.C src/BranchList.cpp ['Branch', 'BranchList', 'BranchNamesEqual']
src/trans.h src/Trans.h Trans
src/output_plaintext.h src/output_plaintext.h NOCLASSES
src/box.h src/Box.h Box
src/coordcache.h src/CoordCache.h ['Point', 'CoordCache']
src/graph.C src/Graph.cpp ['Graph', 'Vertex']
src/lyxserver.C src/LyXServer.cpp ['LyXComm', 'LyXServer']
src/undo.C src/Undo.cpp Undo
src/output.h src/output.h NOCLASSES
src/text2.C src/text2.cpp NOCLASSES
src/ParagraphList_fwd.h src/ParagraphList_fwd.h NOCLASSES
src/sgml.h src/sgml.h NOCLASSES
src/converter.C src/Converter.cpp ['Converter', 'Converters']
src/factory.C src/factory.cpp NOCLASSES
src/RowList_fwd.h src/RowList_fwd.h NOCLASSES
src/buffer.C src/Buffer.cpp Buffer
src/bufferlist.h src/BufferList.h BufferList
src/CutAndPaste.C src/CutAndPaste.cpp NOCLASSES
src/Bidi.h src/Bidi.h Bidi
src/exporter.h src/Exporter.h ['Exporter', 'ExportedFile', 'ExportData']
src/InsetList.C src/InsetList.cpp ['InsetList', 'InsetTable']
src/FontIterator.C src/FontIterator.cpp FontIterator
src/session.C src/Session.cpp ['SessionSection', 'LastFilesSection', 'LastOpenedSection', 'LastFilePosSection', 'BookmarksSection', 'Bookmark', 'ToolbarSection', 'ToolbarInfo', 'SessionInfoSection', 'Session']
src/lyxlength.h src/LyXLength.h LyXLength
src/main.C src/main.cpp LyXLength
src/lyxsocket.C src/LyXServerSocket.cpp ['LyXServerSocket', 'LyXDataSocket']
src/errorlist.C src/ErrorList.cpp ['ErrorItem', 'ErrorList']
src/lyxtext.h src/LyXText.h LyXText
src/lyxfunc.C src/LyXFunc.cpp LyXFunc
src/format.C src/Format.cpp ['Format', 'Formats']
src/lengthcommon.C src/lengthcommon.cpp NOCLASSES
src/tex-strings.h src/tex-strings.h NOCLASSES
src/PrinterParams.h src/PrinterParams.h PrinterParams
src/insetiterator.C src/InsetIterator.cpp InsetIterator
src/vc-backend.C src/VCBackend.cpp ['VCS', 'RCS', 'CVS']
src/TocBackend.C src/TocBackend.cpp ['TocItem', 'TocList', 'TocBackend']
src/BranchList.h src/BranchList.h ['Branch', 'BranchList', 'BranchNamesEqual']
src/FuncStatus.C src/FuncStatus.cpp FuncStatus
src/Sectioning.C src/Section.cpp ['Section', 'SectioningList']
src/counters.C src/Counters.cpp ['Counter', 'Counters']
src/graph.h src/Graph.h ['Graph', 'Vertex']
src/lyxserver.h src/LyXServer.h ['LyXComm', 'LyXServer']
src/undo.h src/Undo.h Undo
src/paper.h src/paper.h NOCLASSES
src/converter.h src/Converter.h ['Converter', 'Converters']
src/factory.h src/factory.h NOCLASSES
src/LaTeX.C src/LaTeX.cpp ['TeXErrors', 'Error', 'Aux_Info', 'LaTeX']
src/bufferparams.C src/BufferParams.cpp ['BufferParams', 'MemoryTraits']
src/buffer.h src/Buffer.h Buffer
src/CutAndPaste.h src/CutAndPaste.h NOCLASSES
src/InsetList.h src/InsetList.h ['InsetList', 'InsetTable']
src/kbsequence.C src/kb_sequence.cpp kb_sequence
src/FontIterator.h src/FontIterator.h FontIterator
src/dimension.C src/Dimension.cpp Dimension
src/Bullet.C src/Bullet.cpp Bullet
src/texrow.C src/TexRow.cpp ['TexRow', 'RowItem']
src/session.h src/Session.h ['SessionSection', 'LastFilesSection', 'LastOpenedSection', 'LastFilePosSection', 'BookmarksSection', 'Bookmark', 'ToolbarSection', 'ToolbarInfo', 'SessionInfoSection', 'Session']
src/ParagraphParameters.C src/ParagraphParameters.cpp ParagraphParameters
src/lyxsocket.h src/LyXServerSocket.h ['LyXServerSocket', 'LyXDataSocket']
src/errorlist.h src/ErrorList.h ['ErrorItem', 'ErrorList']
src/tabular.C src/LyXTabular.cpp ['LyXTabular', 'ltType', 'cellstruct', 'rowstruct', 'columnstruct']
src/pariterator.C src/ParIterator.cpp ['ParIterator', 'ParConstIterator']
src/lyxfunc.h src/LyXFunc.h LyXFunc
src/format.h src/Format.h ['Format', 'Formats']
src/aspell_local.h src/ASpell_local.h ASpell
src/lengthcommon.h src/lengthcommon.h NOCLASSES
src/insetiterator.h src/InsetIterator.h InsetIterator
src/lyxrc.C src/LyXRC.cpp ['LyXRC', 'LyXRC_PreviewStatus']
src/TocBackend.h src/TocBackend.h ['TocItem', 'TocList', 'TocBackend']
src/vc-backend.h src/VCBackend.h ['VCS', 'RCS', 'CVS']
src/dispatchresult.h src/DispatchResult.h DispatchResult
src/lyxtextclasslist.C src/LyXTextClassList.cpp LyXTextClassList
src/paragraph_funcs.C src/paragraph_funcs.cpp NOCLASSES
src/funcrequest.C src/FuncRequest.cpp FuncRequest
src/FuncStatus.h src/FuncStatus.h FuncStatus
src/UpdateFlags.h src/UpdateFlags.h NOCLASSES
src/lyxrow.C src/Row.cpp ['Row', 'RowMetrics']
src/outputparams.C src/OutputParams.cpp OutputParams
src/counters.h src/Counters.h ['Counter', 'Counters']
src/Sectioning.h src/Section.h ['Section', 'SectioningList']
src/text3.C src/text3.cpp ['Section', 'SectioningList']
src/lyxlayout.C src/LyXLayout.cpp LyXLayout
src/lyxfind.C src/lyxfind.cpp NOCLASSES
src/bufferparams.h src/BufferParams.h ['BufferParams', 'MemoryTraits']
src/LaTeX.h src/LaTeX.h ['TeXErrors', 'Error', 'Aux_Info', 'LaTeX']
src/trans_decl.h src/KmodInfo.h KmodInfo
src/gettext.C src/gettext.cpp NOCLASSES
src/dimension.h src/Dimension.h Dimension
src/kbmap.C src/kb_keymap.cpp kb_keymap
src/kbsequence.h src/kb_sequence.h kb_sequence
src/rowpainter.C src/rowpainter.cpp NOCLASSES
src/ConverterCache.C src/ConverterCache.cpp ConverterCache
src/lyxgluelength.C src/LyXGlueLength.cpp LyXGlueLength
src/tex-accent.C src/tex-accent.cpp NOCLASSES
src/Bullet.h src/Bullet.h Bullet
src/texrow.h src/TexRow.h ['TexRow', 'RowItem']
src/ParagraphParameters.h src/ParagraphParameters.h ParagraphParameters
src/tabular.h src/LyXTabular.h ['LyXTabular', 'ltType', 'cellstruct', 'rowstruct', 'columnstruct']
src/importer.C src/Importer.cpp Importer
src/pariterator.h src/ParIterator.h ['ParIterator', 'ParConstIterator']
src/lyxfont.C src/LyXFont.cpp ['LyXFont', 'LyXFont_size']
src/BufferView.C src/BufferView.cpp BufferView
src/ParagraphList.h src/ParagraphList.h NOCLASSES
src/lyxrc.h src/LyXRC.h ['LyXRC', 'LyXRC_PreviewStatus']
src/lyxtextclass.C src/LyXTextClass.cpp ['CharStyle', 'LyXTextClass']
src/changes.C src/Changes.cpp ['Change', 'Changes', 'Range', 'ChangeRange']
src/lyxtextclasslist.h src/LyXTextClassList.h LyXTextClassList
src/paragraph_funcs.h src/paragraph_funcs.h NOCLASSES
src/funcrequest.h src/FuncRequest.h FuncRequest
src/lyxrow.h src/Row.h ['Row', 'RowMetrics']
src/outputparams.h src/OutputParams.h OutputParams
src/MenuBackend.C src/MenuBackend.cpp ['MenuItem', 'Menu', 'MenuBackend']
src/lyxlayout.h src/LyXLayout.h LyXLayout
src/lyxfind.h src/lyxfind.h NOCLASSES
src/gettext.h src/gettext.h NOCLASSES
src/LColor.C src/LColor.cpp ['LColor', 'LColor_color']
src/version.h src/version.h NOCLASSES
src/cursor_slice.C src/CursorSlice.cpp CursorSlice
src/WordLangTuple.h src/WordLangTuple.h WordLangTuple
src/lfuns.h src/lfuns.h NOCLASSES
src/trans_mgr.C src/TransState.cpp ['TransState', 'TransFSMData', 'TransInitState', 'TransDeadkeyState', 'TransCombinedState', 'TransFSM', 'TransManager']
src/kbmap.h src/kb_keymap.h kb_keymap
src/rowpainter.h src/rowpainter.h NOCLASSES
src/ConverterCache.h src/ConverterCache.h ConverterCache
src/lyxgluelength.h src/LyXGlueLength.h LyXGlueLength
src/output_docbook.C src/output_docbook.cpp NOCLASSES
src/tex-accent.h src/tex-accent.h NOCLASSES
src/FloatList.C src/FloatList.cpp FloatList
src/bufferview_funcs.C src/bufferview_funcs.cpp NOCLASSES
src/importer.h src/Importer.h Importer
src/messages.C src/Messages.cpp Messages
src/lyxfont.h src/LyXFont.h ['LyXFont', 'LyXFont_size']
src/BufferView.h src/BufferView.h BufferView
src/ToolbarBackend.C src/ToolbarBackend.cpp ['ToolbarItem', 'ToolbarInfo', 'ToolbarBackend']
src/lyx_sty.C src/lyx_sty.cpp NOCLASSES
src/lyxtextclass.h src/LyXTextClass.h ['CharStyle', 'LyXTextClass']
src/changes.h src/Changes.h ['Change', 'Changes', 'Range', 'ChangeRange']
src/aspell.C src/ASpell.cpp
src/lyx_main.C src/LyX.cpp LyX
src/MenuBackend.h src/MenuBackend.h ['MenuItem', 'Menu', 'MenuBackend']
src/toc.C src/toc.cpp NOCLASSES
src/boost.C src/boost.cpp NOCLASSES
src/ispell.C src/ISpell.cpp ISpell
src/mover.C src/Mover.cpp ['Mover', 'SpecialisedMover', 'Movers']
src/ParagraphMetrics.C src/ParagraphMetrics.cpp ParagraphMetrics
src/LColor.h src/LColor.h ['LColor', 'LColor_color']
src/cursor_slice.h src/CursorSlice.h CursorSlice
src/trans_mgr.h src/TransState.h ['TransState', 'TransFSMData', 'TransInitState', 'TransDeadkeyState', 'TransCombinedState', 'TransFSM', 'TransManager']
src/lyxlayout_ptr_fwd.h src/lyxlayout_ptr_fwd.h NOCLASSES
src/output_docbook.h src/output_docbook.h NOCLASSES
src/paragraph.C src/Paragraph.cpp ['FontSpan', 'Paragraph']
src/FloatList.h src/FloatList.h FloatList
src/bufferview_funcs.h src/bufferview_funcs.h NOCLASSES
src/buffer_funcs.C src/buffer_funcs.cpp NOCLASSES
src/Variables.C src/Variables.cpp Variables
src/messages.h src/Messages.h Messages
src/Color.C src/color.cpp NOCLASSES
src/dociterator.C src/DocIterator.cpp ['DocIterator', 'StableDocIterator']
src/ToolbarBackend.h src/ToolbarBackend.h ['ToolbarItem', 'ToolbarInfo', 'ToolbarBackend']
src/lyx_sty.h src/lyx_sty.h NOCLASSES
src/metricsinfo.C src/MetricsInfo.cpp ['MetricsBase', 'MetricsInfo', 'PainterInfo', 'TextMetricsInfo', 'ViewMetricsInfo', 'Changer', 'FontChanger', 'FontSetChanger', 'StyleChanger', 'ScriptChanger', 'FracChanger', 'ArrayChanger', 'ShapeChanger', 'WidthChanger', 'ColorChanger']
src/language.C src/Language.cpp ['Language', 'Languages']
src/text.C src/text.cpp ['Language', 'Languages']
src/lyx_main.h src/LyX.h LyX
src/lyxlex.C src/LyXLex.cpp ['LyXLex', 'pushpophelper']
src/encoding.C src/Encoding.cpp ['Encoding', 'Encodings', 'const_iterator']
src/debug.C src/debug.cpp lyx_debug_trait
src/Chktex.C src/Chktex.cpp Chktex
src/toc.h src/toc.h NOCLASSES
src/ispell.h src/ISpell.h ISpell
src/mover.h src/Mover.h ['Mover', 'SpecialisedMover', 'Movers']
src/output_latex.C src/output_latex.cpp NOCLASSES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18019 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:46:45 +00:00