André Pönitz
ec4ab8ce18
revert Buffer LyxText->InsetText commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8489 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-11 17:16:38 +00:00
André Pönitz
1b3f5ee46f
the Buffer::text -> inset change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8488 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-11 16:09:42 +00:00
André Pönitz
4c8d536692
redo undo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8481 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-08 21:14:45 +00:00
Alfredo Braunstein
d0bcd26ec5
fix row breaking before display()ed insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8473 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 17:25:16 +00:00
André Pönitz
fc52df8243
the DocIterator stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8472 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 17:12:09 +00:00
Alfredo Braunstein
c1e5e3de20
some renaming
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8471 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 16:29:30 +00:00
Alfredo Braunstein
dd30647314
move prepareToPrint out of the rowbreaking loop, do not cache its results.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8468 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 12:23:17 +00:00
Alfredo Braunstein
a92a5e20e6
move FontIterator to own files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8467 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 10:46:58 +00:00
Alfredo Braunstein
2f78aab340
FontIterator + rowbreaking fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8466 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 10:10:10 +00:00
Alfredo Braunstein
f3a750ab93
ws fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8464 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-27 13:06:16 +00:00
Alfredo Braunstein
c3ed8dc263
fix a rebreaking bug
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8463 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-27 12:53:58 +00:00
André Pönitz
8943967181
Wednesday's 'de-mathed-ification' + Row::fill removal
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8462 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-27 09:18:03 +00:00
André Pönitz
e6b54c9fb6
* dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
...
* cursor.[Ch]: prepare for localized getStatus()
* lyxtext.h:
* tabular.C:
* text.C:
* text2.C:
* text3.C: streamlines the LyXText cursor movement handlers a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8453 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-20 17:19:53 +00:00
André Pönitz
357a3741c0
* insettabular.[Ch]: remove remains of the 'update' mechanism,
...
simplify cursor moving function,
re-enable horizontal scrolling for large tables
* insetbase.C:
* insetbase.[Ch]: remove explicit 'DispatchResult' return type and
implicitly assume 'DispatchResult(true, true) with exception of
InsetBase::priv_dispatch which does the equivalent of
'retrun DispatchResult(false)'
* inset*.[Ch] (priv_dispatch): adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8435 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-16 11:58:51 +00:00
André Pönitz
7a0b5603e5
more IU as advertised
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8431 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 13:51:12 +00:00
André Pönitz
2288d17247
more IU stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8430 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 11:05:29 +00:00
André Pönitz
4bcfc43c29
IU stuff + shuffling things from BV::dispatch to LyXText::dispatch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8427 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 07:30:59 +00:00
André Pönitz
df974a3904
add LCursor & parameter to cursor moving functions
...
additional small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8424 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-12 16:36:01 +00:00
André Pönitz
2a5bc90633
bug + spped fixes + small stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8421 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-11 14:45:44 +00:00
Alfredo Braunstein
09e11f4d38
fix some coordinates (tabular and math missing)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8410 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 13:18:49 +00:00
André Pönitz
93adf5d595
re-enable bits of selection
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8407 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 11:12:49 +00:00
André Pönitz
22590a98b3
remove math cursor plus
...
* BufferView.C:
* cursor.[Ch]: some additional asserts
* undo.[Ch]: remove LyXText dependency in interface
* lyxfunc.C: adjust
* lyxtext.h (firstPar, lastPar): remove dead functions
* text.C:
* text2.C:
* text3.C:
* paragraph.[Ch]: adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8386 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-03 08:56:28 +00:00
André Pönitz
a73da74db2
* cursor.[Ch]: remove direct access to anchor
...
* text.C: remove findText() hack
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8382 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-02 16:38:13 +00:00
Lars Gullik Bjønnes
3420904448
The func.diff patch. Functors work and some tiny cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8377 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-31 15:30:24 +00:00
André Pönitz
99aacdad5c
more IU
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8376 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-30 11:41:12 +00:00
Lars Gullik Bjønnes
ca176cc434
std:: changes, stupid stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8375 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-28 16:21:29 +00:00
André Pönitz
1eaa3eb913
more IU
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8371 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-26 10:13:15 +00:00
André Pönitz
ccc5d55764
Part of IU.
...
####################################################################
1.4.0cvs is now NOT fit for any serious use
####################################################################
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8363 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-20 14:25:24 +00:00
André Pönitz
691594432d
more shuffling...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8347 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 17:21:39 +00:00
André Pönitz
6238e20d09
move selStart and selEnd from LyXText to BufferView
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8344 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 15:09:01 +00:00
André Pönitz
4eb75f09eb
move the Selection structure from LyXText to BufferView
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8342 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 14:16:11 +00:00
Alfredo Braunstein
bc596c4af7
fix two lfuns
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8341 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 09:33:14 +00:00
André Pönitz
25bafa2772
Anchor globalization
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8340 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 18:08:13 +00:00
André Pönitz
7cfc5e86a4
globalize the cursor
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8339 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 15:25:52 +00:00
André Pönitz
d8f81752eb
replace LyXCursor by CursorSlice
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8338 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 14:13:51 +00:00
André Pönitz
97901b5d51
hide cursor and selection anchor behind accessor function
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8333 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 10:37:38 +00:00
Alfredo Braunstein
80296aac50
add and LyXText::undoSpan to compute the influence of a layout change.
...
Fix Bug 578.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8331 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-09 09:04:33 +00:00
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