Commit Graph

124 Commits

Author SHA1 Message Date
André Pönitz
244d75e942 move width_/ascent_/descent_ cache into seperate ABC.
sizeof(MathInset) == 24 on IA32


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2414 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 17:55:10 +00:00
André Pönitz
18a610d4d6 cloase a leak; remove a few casts; cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2410 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 09:54:48 +00:00
André Pönitz
297697dd70 fix mis-alignment of eqnarray columns
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2404 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-02 09:59:09 +00:00
André Pönitz
84b01259ef fix (potential?) memory leaks; cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2403 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 16:48:06 +00:00
André Pönitz
9ccefe810b mathed108.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2352 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 06:46:50 +00:00
André Pönitz
cd8d582c67 M-m <space> as substitute for the old C-<space> <space> 'enlarge space'
feature


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2339 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-25 14:15:05 +00:00
André Pönitz
d2e5c09218 paste to any place in the inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2328 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 17:26:44 +00:00
André Pönitz
fea1e7dff4 fix super/subscript size calculation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2327 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 17:18:54 +00:00
André Pönitz
c1364850c0 less crude MathXArray::x2pos for preciser cursor positioning using the mouse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2325 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 16:39:55 +00:00
André Pönitz
c1bd906202 ^ now copies selection into new scriptinset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2324 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 16:10:17 +00:00
André Pönitz
c06a45c6e4 fix memory leak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2313 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 05:53:32 +00:00
André Pönitz
86ea4e48e7 fix 'invalid cursor position after typing \sum'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2310 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 14:30:22 +00:00
André Pönitz
b321afd875 keep empty super/subscript a bit longer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2309 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 14:21:34 +00:00
André Pönitz
efc5820ea3 fix pullArg when pressing <Delete> at the end of an cell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2308 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 14:15:14 +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
André Pönitz
96a1cc78b2 support for \land and \vee, cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2292 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 10:57:22 +00:00
André Pönitz
2569cd6fde Fix two small bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2263 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-17 09:46:07 +00:00
André Pönitz
5c40a062b2 rename math_(root|grid).[Ch] to math_(root|grid)inset.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2259 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-17 07:38:41 +00:00
Lars Gullik Bjønnes
b10dd6dc0b reverse test move operators out of struct
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2257 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 18:58:13 +00:00
André Pönitz
9b87031073 forgot the ChangeLog again...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2256 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 15:56:05 +00:00
Angus Leeming
cec0dd19d0 Edwin's "about" patch + consistent use of Lsstream.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2239 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 14:03:48 +00:00
Jean-Marc Lasgouttes
0de9e656a4 tweaklets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2230 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 08:49:45 +00:00
André Pönitz
0024f42724 split super/subscript handling in new base class MathUpDownInset and
MathScriptInset/MathBigOpInset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2220 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 07:18:29 +00:00
André Pönitz
88b5d739b5 MathAccentInset rewritten
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2215 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-10 13:17:43 +00:00
André Pönitz
faa697a2a9 cursor movement in multiline math; remove dead code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2212 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 16:59:57 +00:00
Dekel Tsur
e321726f35 Use only the first label when mutating eqnarray to display formula.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2211 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 16:42:22 +00:00
Jürgen Vigna
9d1ec63f05 Fixed crash when inserting mathed inset inside InsetERT + new devel banner.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2210 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 14:19:41 +00:00
Jean-Marc Lasgouttes
2a275071a0 small tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2209 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 10:32:44 +00:00
André Pönitz
b24b504cd2 Small bugfixes and cosmetic changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2208 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 10:19:50 +00:00
Dekel Tsur
239d1b23e1 Fix math insert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2199 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-07 09:19:51 +00:00
André Pönitz
adf2ae0835 operator<<(ostream &, xarray const &)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2183 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-04 17:17:32 +00:00
André Pönitz
18ed33949f Small parser bug fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2182 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-04 17:15:08 +00:00
André Pönitz
e546fb9b37 mathed89.diff - fix "random" crashes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2174 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 15:04:59 +00:00
André Pönitz
3d00527d48 mathed87.diff (Bug fixes, new feature "change font on selection")
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2169 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 07:56:55 +00:00
Jean-Marc Lasgouttes
ab254289c8 lyxstring compile fixes ; small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2159 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-29 11:54:39 +00:00
Jean-Marc Lasgouttes
cdc02d297e cxx compile fixes ; several patches from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2151 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-28 13:02:03 +00:00
Jean-Marc Lasgouttes
9f42114d4d some fixes for compaq cxx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2147 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 15:57:57 +00:00
Lars Gullik Bjønnes
b1c4f8070f gcc 3.0 fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2146 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 15:33:55 +00:00
Lars Gullik Bjønnes
76ef051b1c LyX Drinkers United: patch 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2144 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 14:10:35 +00:00
Lars Gullik Bjønnes
d1182f17da LyX Drinkers Union: patch 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00
Angus Leeming
31b56dac80 In for a penny, in for a pound. Consistent use of // -*- C++ -*-
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2123 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-14 08:20:41 +00:00
Jean-Marc Lasgouttes
07ea5f51f0 compilation fixes for compaq cxx + small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2079 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-01 10:53:24 +00:00
Lars Gullik Bjønnes
f1d829a185 adjust to be able to complile with gcc 3.0, put selection vars into own struct, remove some C string funcs in favour of lstrings ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-31 02:23:46 +00:00
Jean-Marc Lasgouttes
b0da75ab1e help a bit compilation with sun CC
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1976 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-02 10:47:07 +00:00
Jean-Marc Lasgouttes
7e8b69acf0 compilation fixes when using lyxstring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1975 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-02 08:18:00 +00:00
Lars Gullik Bjønnes
b9d25422e0 mathed67.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1968 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-27 12:35:55 +00:00
Lars Gullik Bjønnes
2b63437db2 small fix for gcc 3.0, use std::transform in lstrings, implement chars-transpose
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1955 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-25 19:33:52 +00:00
Angus Leeming
598981975c Need some std declarations and qualifiers to compile with DEC cxx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1953 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-25 11:14:01 +00:00
Allan Rae
664eb7ff45 another pesky \#warning snuck in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1944 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-20 02:43:42 +00:00
Lars Gullik Bjønnes
53cf203fb9 use LFUN_MESSAGE, inhritprivately from noncpopyable, remove warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1932 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 14:20:21 +00:00