Commit Graph

113 Commits

Author SHA1 Message Date
Jürgen Vigna
7521b5d20f The BIG UNDO patch. Recodes undo handling for better use inside InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2195 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-06 15:57:54 +00:00
Lars Gullik Bjønnes
85a5ea7bfc change a lot of methods to begin with small char
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2150 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-28 10:25:20 +00:00
Jürgen Vigna
389fa29ba5 Fixed one more "missing feature" for InsetText/Tabular.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2098 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-07 14:51:20 +00:00
Jean-Marc Lasgouttes
795225e72d Qt2 compilation + LColor cleanup from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2092 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-05 17:05:51 +00:00
Jürgen Vigna
4bcf99c809 Various fixes to Tabular, InsetTabular and InsetText. Fixed left border for
multicolumn cells, fixed repaint and recalc issues of insets, fixed scrolling
of large tabulars, ADDED settings of fonts on selections, more minor stuff
I cannot remember right now, more to follow.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2027 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-28 15:11:24 +00:00
Lars Gullik Bjønnes
352479f603 remove LyXParagraph Clone use newly added copy constructor instead, some whitespace changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1988 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-08 10:50:09 +00:00
Jürgen Vigna
ceeb10f1b0 Reinsert the changes Lars reverted!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1969 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-27 14:03:25 +00:00
Lars Gullik Bjønnes
a464b9b97d reversed jug-bug, will apply pieces later
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1958 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-26 17:47:40 +00:00
Lars Gullik Bjønnes
47910a7a67 move more support functions into namespace lyx, small other changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1949 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 15:25:26 +00:00
Jürgen Vigna
c6e14e1536 Fixed setting cursor positions with mouse for TextInsets and CollapsableInsets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1947 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-20 14:54:25 +00:00
Lars Gullik Bjønnes
df199d6d56 c++ casts, remvoe dead code, use LFUN_MESSAGE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1931 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 14:17:11 +00:00
Jürgen Vigna
69204a88fd Fixed some redraw problems in InsetText/Tabular/Collapsable. Fixed problems
regarding automatic scrolling of Tabulars (still something wrong). Broken
MousePointer inside InsetText&co (hopefully easy to fix), but I still commit
so that people can have a look at it. It also should enhance speed of redraw
and minimize redraws (still some optimization possible).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1915 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-13 14:49:58 +00:00
Lars Gullik Bjønnes
33f6d5a1cf add some std::
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1898 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-05 08:03:26 +00:00
Lars Gullik Bjønnes
9f7498dbdf implement getLabelList
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1897 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-04 23:00:42 +00:00
Lars Gullik Bjønnes
74784ee97b reformatting and remove using delc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1886 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-04 20:34:04 +00:00
Jürgen Vigna
63d5070bc3 Reindent files with tab-stops (instead of 4 spaces). It is allowed to change
now the indent in files owned by myself to tabstops if I did miss some!
(but please set your tab-width to 4 ;)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1872 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-02 14:02:58 +00:00
Jürgen Vigna
77639efa94 Changed InsetText * in InsetCollapsable to be a InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1861 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-30 14:28:17 +00:00
Jürgen Vigna
f284f1c8bc Added %x support in vspace.C (LyXLenght) and use it for the minipages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1853 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-29 15:00:20 +00:00
Jürgen Vigna
b14052f6a5 Changed drawing of button in InsetCollapsable and some Mouse/Curosor fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1840 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-28 09:28:48 +00:00
Jürgen Vigna
b8fd45fd39 Some small fixes and the mouse now works for minipages again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1814 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 15:48:19 +00:00
Jürgen Vigna
29b99d383d Fixed cursor position in minipages and small draw-fix in insettext.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1812 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 10:39:16 +00:00
Lars Gullik Bjønnes
93dda00aac minipage placement testing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1807 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-22 19:36:21 +00:00
Jürgen Vigna
c2c571645b Make InsetMinipage work better and rewritten compatibility-buffer-read.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1805 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-22 15:45:15 +00:00
Lars Gullik Bjønnes
a097c6236f updates to minipage inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1756 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-14 14:53:55 +00:00
Jürgen Vigna
e07f7bcc50 This moves all LyXText related LyXFuncs to BufferView::Dispatch so that they
can also be called from inside the InsetText::LocalDispatch. Some small update
and repaint fixes for InsetText.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1610 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-23 16:10:03 +00:00
Jean-Marc Lasgouttes
bac36b3e80 small build fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1602 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-22 15:07:07 +00:00
Jürgen Vigna
ff67bee117 More InsetText/InsetTabular fixes!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1599 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-22 14:09:20 +00:00
Lars Gullik Bjønnes
9a3176581d small cleanup, doxygen, formatting changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1521 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-16 09:25:43 +00:00
Lars Gullik Bjønnes
4b9ed498ea fix the deadkey bug and a patch from Dekel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1280 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-17 06:09:35 +00:00
Jürgen Vigna
a6b2d503fb Some more cursor/redraw problems fixe (hopefully the last ones ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1194 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-03 15:56:33 +00:00
Jürgen Vigna
71f8ac34a9 Inset patch from Angus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1095 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-10 11:50:43 +00:00
Lars Gullik Bjønnes
5f1427b648 more type changes, some consts added
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1061 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-29 18:44:07 +00:00
Lars Gullik Bjønnes
d6665cba42 get rid of dead code, some new functions constify variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1041 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-26 13:54:57 +00:00
Lars Gullik Bjønnes
0b1b6dfa4e more changes...read the Changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@891 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-17 18:27:53 +00:00
Lars Gullik Bjønnes
8ed9dbabde read the Changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@885 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-15 23:51:46 +00:00
Jürgen Vigna
08c732ecfa Fixed inset-redraw problems on resizing lyx-window, and some other small
fixes in inset-text and inset-tabular (layout update).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@884 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-14 14:57:20 +00:00
Jürgen Vigna
817231c13d Fix for the deleteLyXText const problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@877 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-11 15:17:17 +00:00
Jürgen Vigna
89885b5fa1 Anguses patch + some modifications for smart? inset-update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@864 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-07 07:46:37 +00:00
Jürgen Vigna
666140b7f2 Few more update text-inset issues + some fixes, see ChangeLog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@859 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-05 14:57:48 +00:00
Lars Gullik Bjønnes
9468952780 more changes, read the Changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@857 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-04 19:16:35 +00:00
Jürgen Vigna
729f944d88 Some more changes for updating text-insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@856 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-04 15:46:55 +00:00
Jürgen Vigna
eb7220abe6 Lots of changes for update of TextInsets, still some problems!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@854 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-04 11:30:07 +00:00
Lars Gullik Bjønnes
90c533ae7d remove the lyx_focus and work_area_focus stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@848 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-28 16:03:01 +00:00
Jürgen Vigna
511519904d Some more inset-text/tabular update fixes, still some position and update
problem for inset in inset in inset to fix.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@847 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-28 15:12:29 +00:00
Lars Gullik Bjønnes
ee72ce8774 several changes and some new insets, read the Changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@844 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-28 13:35:52 +00:00
Jürgen Vigna
e80ad470cb Fixed update of insets in insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@835 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-26 15:10:49 +00:00
Jürgen Vigna
b744c6ed9f Lot's of updates for new update handling of text-insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@831 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-23 15:02:46 +00:00
Jürgen Vigna
ccfdb2a78a Various fixes in insettext/tabular to make update work selective.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@826 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-21 15:07:57 +00:00
Jürgen Vigna
60a085fb1c Changes to make text-inset work better (f.ex. cursor), and now we have
multi paragraph text insets!!!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@818 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-16 15:13:25 +00:00
Lars Gullik Bjønnes
6661712fbc moore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@811 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-12 14:58:10 +00:00
Lars Gullik Bjønnes
6bba977f42 FILMagain changes (will need some work)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@807 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-12 11:27:15 +00:00
Jürgen Vigna
fa6aa115e7 Various warnings fixed, added preliminary read of old table format and
fixed a bug when removing error-insets with AutoDeleteInsets().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@736 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-17 14:43:09 +00:00
Jürgen Vigna
756af02794 Lots of fixes for text/tabular insets. Now tabular insets work quite good
and you have now automatic row-breaking for cells with width! Also added
the fix from Denkel. See ChangeLog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@732 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-15 14:49:36 +00:00
Lars Gullik Bjønnes
c6150425e5 several small patches and some fixes, read the ChangeLog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@688 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-24 20:58:23 +00:00
Jürgen Vigna
33868acd2c Added a preliminary NOT working insettabular. Lot's of fixes for the text
inset which should work now quite stable (well better as before anyway ;)
There have been especially problems with insets inside insets for which
LyX was not prepared, so if you only tried the ERT-inset all should have
worked great also before.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@681 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-19 14:42:19 +00:00
Jürgen Vigna
e97f3d1b31 Added clean CutAndPaste handling with it's own class. Various updates for
text-insets (look at the ChangeLog Entries)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@643 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-10 14:29:05 +00:00
Lars Gullik Bjønnes
1136642d8a more changes to bufferview, fix cursorpositioning, correct color on insetinfos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@642 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-09 22:48:51 +00:00
Jürgen Vigna
b8dd79b64d Various small fixes, look in ChangeLog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@636 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-31 10:35:53 +00:00
Jürgen Vigna
e693ad9a4a Other small Backspace() fix in text.C and Undo/Redo for insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@633 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-28 16:18:02 +00:00
Jürgen Vigna
e5d7d21ed7 Finally fixed the problems with clicking on insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@625 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-24 13:24:58 +00:00
Jean-Marc Lasgouttes
8dbf9d296e A bit of cxx warniong hunting; update to rpm spec file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@596 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-09 16:13:43 +00:00
Jürgen Vigna
28ed6c5e80 Various fixes look at ChangeLog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@595 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-09 16:04:28 +00:00
Jürgen Vigna
b3e20a15e7 Various updates for insets mostly regarding fixes for text-insets.
Added a new BaseClass InsetCollapsable and changed InsetERT to this
new BaseClass, also added a footnote-inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@591 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-08 13:52:57 +00:00