Commit Graph

86 Commits

Author SHA1 Message Date
Jürgen Vigna
3c32875ece Applied Edwins patch, fixes to free memory read in insettext, partial fix
for the width of collapsable insets (more to do).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2444 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 15:07:36 +00:00
Lars Gullik Bjønnes
8075064372 adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2429 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 19:13:25 +00:00
Lars Gullik Bjønnes
7c984f40f2 some debug stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2421 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-05 22:12:27 +00:00
Jürgen Vigna
cc3955aa12 Fixes to various bug-reports.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2402 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 15:42:53 +00:00
Jürgen Vigna
a622bb6efa Added inline functionallity to InsetERT. Fixed cache.clear() problem in
InsetText. Small fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2393 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-31 09:53:40 +00:00
Lars Gullik Bjønnes
e952d33e0b insetfloat work + stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2388 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-30 11:56:00 +00:00
Asger Ottar Alstrup
da76673568 Reduced header file includes somewhat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2385 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 15:34:18 +00:00
Jürgen Vigna
d32d0cbb95 This should clean up the language stuff a bit and a small new check for
inserting characters in insets (forced font change) which does not work
as the method seems not to be called.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2366 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 12:03:36 +00:00
Lars Gullik Bjønnes
c544988f28 handle missing parameters more gracefully
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2349 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-25 22:05:53 +00:00
Lars Gullik Bjønnes
3ce727041d simplificatons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2329 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 22:08:49 +00:00
Jürgen Vigna
fd054e60b1 Added copy constructor to inset.h and used it in most insets which permit
it. Small fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2323 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 15:07:09 +00:00
Jean-Marc Lasgouttes
cb8bb668e7 playing around with insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2315 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 10:13:19 +00:00
Lars Gullik Bjønnes
94c00c08a8 simplify rectText and buttonText add separate metric methods for these
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2314 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 09:12:20 +00:00
Jürgen Vigna
37274eb840 Removed widthCollapsed variable, and LyXFont param from x_collapsed functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2306 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 13:44:23 +00:00
Jürgen Vigna
3ea708f4b6 Added support for changing label on collapsed InsetERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2305 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 12:47:25 +00:00
Jean-Marc Lasgouttes
55bf6460f3 fix insertion of raw double quote, reading of Info inset, initial width of collapsed insets, insertion of index; better support for insetAllowed, for french quotes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2300 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 09:11:14 +00:00
Jürgen Vigna
7c0dad35b3 Implemented Search/Replace functionality for Insets. Cleaned up a bit.
Small fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2296 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 14:18:48 +00:00
Jean-Marc Lasgouttes
b15e539c68 partial inset toggling ; insetAllowed stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2277 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-19 08:52:59 +00:00
Jürgen Vigna
67de3b29bc Added const_casts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2233 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 10:26:31 +00:00
Jürgen Vigna
487f6eb3b4 Added various inset functions for Jean-Marc (see Changelog). Small fix in
cua bind-file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2228 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 14:35:38 +00:00
Jürgen Vigna
8dc8a36370 This fixes a real bug in InsetText where it was possible to delete the
cached LyXText while we where working inside it (accessing of freed
memory!), small changes in the insetInsertAllowed functions to have
a better check where is what allowed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2225 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 12:26:06 +00:00
Jean-Marc Lasgouttes
b33a63e177 implement open-stuff + small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2219 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-11 12:10:46 +00:00
Lars Gullik Bjønnes
f6c9132899 move getParFromID to Buffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2207 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 09:16:00 +00:00
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