Commit Graph

377 Commits

Author SHA1 Message Date
André Pönitz
14499f5ac1 more glue code to re-enable the old MathDelimInset interface (constructor
with two int parameters)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2468 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 15:32:34 +00:00
André Pönitz
fe1a6bc1bd glue code to old xforms interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2467 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 15:23:20 +00:00
André Pönitz
d6f2a2313a fix broken ^ stuff; break delimiters...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2466 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 15:19:31 +00:00
André Pönitz
4c7849e8d9 move more stuff to math_hash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2462 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 10:48:50 +00:00
André Pönitz
d4582c5bc1 move some more parser information to math_hash to make it accessible by the
cursor


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2461 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 10:34:43 +00:00
André Pönitz
c9c3b9b447 move things around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2460 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 09:19:18 +00:00
André Pönitz
20effa2eb1 iterators for MathArray; cosmetics;
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2459 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 08:53:16 +00:00
André Pönitz
cbf29c8fdc new hierarchy for frac-like things
'native' \stackrel support
remove MathInset::name_ member (sizeof(MathInset) == 20 on IA32 now);


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2457 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 17:26:30 +00:00
André Pönitz
252b1e560c bring back some more red color...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2456 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 16:25:30 +00:00
André Pönitz
febb242ce2 cursor up/down; fix missing brace in write()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2455 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 15:35:49 +00:00
André Pönitz
e454df24f5 somewhat better corser up/down handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2452 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 11:03:53 +00:00
André Pönitz
1cc8461767 change 'cursor down in \frac denominator' behaviour.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2451 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 09:47:44 +00:00
André Pönitz
08c784de22 proper cursor up/down for centered and right aligned grid columns
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2450 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 09:31:36 +00:00
André Pönitz
af4c2598a1 remove unneeded code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2448 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 07:55:47 +00:00
André Pönitz
26f422e6dc cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2447 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 07:46:16 +00:00
André Pönitz
77d227e06f cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2446 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 07:12:09 +00:00
André Pönitz
30705f0927 fix deletion of subscript if superscript is present and vice versa
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2443 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 15:04:57 +00:00
André Pönitz
3d354d14c4 fix 'off by one' cursor position when handling simultaneous super- and
subscripts


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2442 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 13:50:56 +00:00
André Pönitz
b7f17d6ba7 Fix broken left movement (and some other things using prevInset())
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2441 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 13:34:38 +00:00
André Pönitz
12c4c8233d better selection handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2440 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 13:23:16 +00:00
André Pönitz
089f4fca7d Fix a leak; cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2439 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 12:02:21 +00:00
André Pönitz
d7525e9740 move ownership of the templates from the formulamacro
inset to the mcaro table


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2437 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 08:40:14 +00:00
André Pönitz
2bc240251e bring red color back
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2434 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 05:37:18 +00:00
André Pönitz
9d5c326eaf Undo hotfixes for missing files. Sorry guys.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2433 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 04:53:01 +00:00
André Pönitz
9a60233661 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2432 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 04:49:50 +00:00
André Pönitz
6d1da18779 Lost files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2431 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 04:47:00 +00:00
Lars Gullik Bjønnes
70b62a472b make mathed compile (but not link), adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2430 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 19:14:17 +00:00
André Pönitz
8beaec704e remove unneeded convertFont()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2427 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 17:27:42 +00:00
André Pönitz
8b7b3a5895 - fix nasty bug due to missing InsetFormula copy c'tor
- make all cache variables mutable, remove const_casts


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2426 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 17:20:26 +00:00
André Pönitz
24ef8d0aab getting started with documentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2424 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 13:21:07 +00:00
André Pönitz
c325dd2bd5 Oooooops
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2423 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 06:23:09 +00:00
Lars Gullik Bjønnes
54e7ddb5d9 get rid of NO_LATEX, split some methods, small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2417 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 18:28:11 +00:00
André Pönitz
abf2235642 remove debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2416 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 18:01:09 +00:00
André Pönitz
2369041276 forget to add the file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2415 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 17:56:11 +00:00
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
51e0c8bd1f everything is an inset. sizeof(MathInset) == 36 on IA32
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2413 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 17:10:22 +00:00
Jean-Marc Lasgouttes
757e2c55d8 insetquote fix; getStatus tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2411 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 10:32:20 +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
2dd1a460ee My todo list goes public...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2408 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 07:33:59 +00:00
Lars Gullik Bjønnes
8254b16fd1 more latex conversion cases fixed, patch from Andre, more more funcs to lowercase, some debug output to look at...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2406 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-02 18:46:53 +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
Jean-Marc Lasgouttes
a36dbaf607 Andre's mathinset shrink patch ; default .lyx extension when loading files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2399 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 13:28:45 +00:00
André Pönitz
e0aa02ee9f fix memory leak; cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2396 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 09:18:21 +00:00
Asger Ottar Alstrup
b8cad4ca9d More header file include dependency work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2386 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 17:39:01 +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
André Pönitz
7fea2dad0f somewhat better support for \| when reading
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2372 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 14:50:33 +00:00
André Pönitz
ff74dbd043 'native' support for \ge and \le; cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2371 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 13:59:33 +00:00
André Pönitz
4f2bb26476 remove debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2368 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 13:01:01 +00:00
André Pönitz
2e4ad73024 work around static initialization problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2367 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 12:32:29 +00:00