Alfredo Braunstein
bb5291a013
remove a warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8312 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 10:04:03 +00:00
André Pönitz
6c2ebc8c1a
prevent crash in cursorX when row cache is empty
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8311 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 08:36:30 +00:00
Alfredo Braunstein
5513c27876
redocursor removal
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8263 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-18 04:43:08 +00:00
André Pönitz
a97ed20502
merge CursorItem and MathPos
...
remove cached x and y values from Cursor
some tabular fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8251 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-15 11:36:19 +00:00
Alfredo Braunstein
7da68795a5
selection patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8243 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-12 15:19:35 +00:00
André Pönitz
153ac7500c
* inset.h:
...
* insetert.[Ch]:
* insettabular.[Ch]:
* insettext.[Ch]: remove unused insetInset()
* insetert.C: disable some LFUNs
* insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8221 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 09:45:32 +00:00
André Pönitz
8fa8cfb4a3
remove Inset::getParagraphs()
...
cache 'outermost' inset font
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8192 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-03 18:17:20 +00:00
André Pönitz
550785b004
patch sent to the list yesteday
...
* buffer.[Ch]:
* lyxtext.h:
* paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
InsetText::read() as LyXText::read()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8190 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-03 15:27:16 +00:00
André Pönitz
5ea277209f
merge common code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8183 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-02 12:39:14 +00:00
André Pönitz
35f1ab544b
move 'Inline' state from InsetERT to InsetCollapsable
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8177 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-02 07:15:42 +00:00
André Pönitz
4b2c271e23
* buffer.[Ch]:
...
* lyxtext.h: move ParagraphList member to LyXText
rename LyXText::ownerParagraphs to LyXText::paragraph
* CutAndPaste.C:
* bufferview_funcs.C:
* iterators.[Ch]:
* lyx_cb.C:
* paragraph.C:
* rowpainter.C:
* tabular.C:
* text.C:
* text2.C:
* text3.C: adjust
* lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
* undo.C: fix cursor positioning
* insetbase.h: whitespace
* inset.[Ch]: remove latexTextWidth
make setBackgroundColor virtual
* insettext.[Ch]: move ParagraphList member to LyXText
* insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
* insetcharstyle.C:
* insetenv.C:
* insetert.[Ch]:
* insetfloat.[Ch]:
* insetminipage.[Ch]:
* insettabular.C:
* insetwrap.[Ch]: adjust paragraphs and background color handling,
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8166 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 13:35:49 +00:00
André Pönitz
7de76711b1
move space above/below from Paragraph into a separate vspace inset.
...
Gui interaction mailer stuff by Angus...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8149 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 15:53:34 +00:00
André Pönitz
e5c07a21d5
10 points of RIGHT_MARGIN
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8145 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 09:03:13 +00:00
André Pönitz
84b462dd37
ismall stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8144 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 08:55:12 +00:00
Alfredo Braunstein
0ca871014a
setFont rework + some code simplification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8140 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-27 09:22:41 +00:00
André Pönitz
ce686f1803
the 'lots of small stuff' patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8135 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 11:17:27 +00:00
Lars Gullik Bjønnes
7dd8cd705b
A couple of changing resulting from gcc 3.4 debug mode testing.
...
Dont copy singular iterators.
Dont compare iterators from different containers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8121 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-22 14:44:59 +00:00
André Pönitz
3159d1a52e
no need for three calls to update() in a row...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8080 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-13 13:43:44 +00:00
Alfredo Braunstein
79ae54d4c0
fitCursor work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8079 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-13 08:50:26 +00:00
André Pönitz
49cbe77634
* text.C: remove big comment on invalid Paragraph pointers as it is
...
not valid anymore
* text_funcs.[Ch]: merge with ...
* text.C: ... this
* lyxtext.h:
* text2.C:
* text3.C: adjust
* Makefile.am: remove text_funcs.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8075 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-11 10:08:35 +00:00
André Pönitz
b0cffd9fc0
The deed is done.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8064 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 09:06:48 +00:00
Alfredo Braunstein
4ad989550c
remove dead spellcheck code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8032 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 11:36:28 +00:00
Alfredo Braunstein
5adaa51785
deactivate the cursor cache
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8025 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 07:33:50 +00:00
André Pönitz
2292145ba3
some more 'global cursor' stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7999 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 12:18:08 +00:00
Lars Gullik Bjønnes
b0eb70e869
dispatchresult -> DispatchResult
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7998 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 10:47:21 +00:00
Alfredo Braunstein
29cc4f048b
put a hack in rowBreakPoint inside #if 0
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7996 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-28 14:04:56 +00:00
André Pönitz
4588bb075a
lots of small stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7995 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-28 11:18:40 +00:00
Alfredo Braunstein
12a2f2705f
fix the zombie chars
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7992 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 20:23:26 +00:00
André Pönitz
69fae0531d
* lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
...
* factory.C: handle new InsetPagebreak, InsetLine
* ParagraphParameters.h: remove [line|pagebreak]_[above|below]
and move handling into new InsetPagebreak, InsetLine
* BufferView_pimpl.C:
* LyXAction.C:
* ParagraphParameters.C:
* ParameterStruct.h:
* lyxfunc.C:
* lyxtext.h:
* paragraph.C:
* paragraph.h:
* paragraph_funcs.C:
* paragraph_pimpl.C:
* rowpainter.C:
* text.C:
* text2.C:
* text3.C: adjust
etc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7985 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 12:41:26 +00:00
Alfredo Braunstein
5be51b4fb7
remove lastPos and use endpos instead
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7984 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 11:44:10 +00:00
Alfredo Braunstein
1d9eeae1ea
two rowbreaking fixes + a bit of rowBreakPoint simplification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7983 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 10:27:50 +00:00
Alfredo Braunstein
d8428d8976
make endpos behave
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7977 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 15:04:17 +00:00
André Pönitz
3e8ce5ac6c
refrain from computing width in setHeightOfRow as this happens already
...
in rowBreakPoint before.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7976 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 09:45:07 +00:00
André Pönitz
934aeb7383
Alfredos list<> -> vector<> for RowList
...
Show RightAddress again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7975 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 08:33:52 +00:00
André Pönitz
70f983b97f
set fill in fill(...) istead of returning it.
...
use isLastRow()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7974 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 07:59:04 +00:00
André Pönitz
cf40d206dc
Alfredo's cursroRow() fix;
...
directly set endpos in breakRowPos instead of returning it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7970 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 15:38:48 +00:00
André Pönitz
629f29ce80
* RowList_fwd.h: change list<> to vector<> to gain speed
...
after suggestion from Alfredo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7967 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 15:06:52 +00:00
Alfredo Braunstein
a370d413af
take the bidi stuff out of lyxtext.h to its own file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7966 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 13:28:49 +00:00
André Pönitz
0011b84a16
move width computation to helper function
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7961 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 09:06:18 +00:00
André Pönitz
fd48fefe0e
* lyxtext.h:
...
* text.C (isLastRow, isFirstRow): new functions
* paragraph.h: new width cache member
* rowpainter.C: replace RowList::iterator with Row & where possible
* lyxfunc.C: replace several view()->text with a single call
* toc.C: fix 'unused' warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7960 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 08:15:57 +00:00
André Pönitz
aec5a388c8
rename row.end into row.endpos
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7956 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 16:30:57 +00:00
André Pönitz
ce3710cdb5
use Row & instead of RowList::iterator in prepareToPrint()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7950 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 09:56:22 +00:00
André Pönitz
5bff888ecc
just the next_rit check fixed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7948 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 08:31:49 +00:00
Martin Vermeer
c7c37bee5e
This should fix the "oops" in the "is a bit silly" bug fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7947 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 06:02:55 +00:00
André Pönitz
cc108cd96a
remove debug message
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7945 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 17:21:23 +00:00
André Pönitz
0fbee62e35
fix row breaking
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7944 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 17:16:01 +00:00
André Pönitz
5c3d9a2546
small stuff, whitespace & consistent naming
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7942 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 16:15:14 +00:00
Martin Vermeer
de039bb341
Final touch 'inset display()'; fix 'is a bit silly' bug
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7941 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 13:04:14 +00:00
Martin Vermeer
50bbb55cb0
Re-introduce display() for insets, fixing various bugs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7940 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-20 18:56:48 +00:00
Jean-Marc Lasgouttes
173be73b27
fix bug 1415; fix annoying typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7938 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-20 13:55:51 +00:00