Commit Graph

416 Commits

Author SHA1 Message Date
André Pönitz
f149653927 fix display "'" vs "\ni"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2534 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 15:47:02 +00:00
André Pönitz
71d514f39e write sequences of chars with same code as unit
(i.e. no more \mathrm{a}\mathrm{b})


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2533 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 13:18:10 +00:00
André Pönitz
3c93fa9279 move comparison out of class Token; bugfix;
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2532 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 11:37:48 +00:00
André Pönitz
60e132e76e fixes from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2531 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 11:08:55 +00:00
André Pönitz
8ccadb0c78 Token::operator!=()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2530 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 10:51:50 +00:00
André Pönitz
88b346dd3a unsigned char <-> char
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2529 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 10:21:37 +00:00
André Pönitz
77dca4f3bc new parser
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2528 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 09:48:24 +00:00
André Pönitz
b76821ddff new special-purpose inset for \not
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2527 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-16 12:34:48 +00:00
André Pönitz
2cbf623b37 leave math not only to the left (Thanks, Juergen!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2526 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-16 11:57:45 +00:00
André Pönitz
53ca273eec remove unnneeded #include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2525 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-16 11:12:20 +00:00
André Pönitz
ef2afda076 safeguard against syntax errors when reading macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2524 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-16 11:11:35 +00:00
André Pönitz
f3d170c15a more cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2515 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-15 07:02:16 +00:00
André Pönitz
9f0fe8a2f6 make on-screen appearance of nested delimiters closer to what LaTeX does
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2514 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-15 06:53:25 +00:00
André Pönitz
f51395af68 deco drawing bug fix
move more stuff to math_factory
cosmetics


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2513 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-15 05:50:39 +00:00
André Pönitz
495b94db75 remove the imacro_ hack from MathCursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2512 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-14 11:19:19 +00:00
André Pönitz
4310ee2793 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2511 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-14 09:35:44 +00:00
André Pönitz
8766c98cfe re-enabling the "selected text gets converted to math"-feature
small bix fix
cosmetics


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2510 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-14 07:46:11 +00:00
André Pönitz
48503551b1 more honey for Angus's dinosaur
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2505 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 15:58:26 +00:00
André Pönitz
d586e9e856 support for TeX's \choose
fix for return void


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2504 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 15:26:41 +00:00
André Pönitz
1e9b743bce read/input support for TeX's '\over'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2503 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 14:46:06 +00:00
André Pönitz
d9c3e3e8a9 forgotten files again...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2502 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 14:19:16 +00:00
André Pönitz
ba5f02ca07 small step to a unified parser for file & interactive input
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2501 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 14:02:37 +00:00
André Pönitz
b727c2947f *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2491 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 16:28:10 +00:00
André Pönitz
2923623e9c prepare syntax change for 'math-insert' (root -> \root etc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2490 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 15:49:15 +00:00
André Pönitz
74124b4bf8 make {} a proper inset; simplifications to the parser;
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2489 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 15:32:26 +00:00
André Pönitz
e729656153 prepare proper handling of {...} blocks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2488 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 14:08:00 +00:00
André Pönitz
d5eb253d6a fix for recent 'column shift' bug
perhaps fix for g++3.0 compile problem


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2486 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 13:50:42 +00:00
André Pönitz
e7cfe10d37 small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2485 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 13:26:33 +00:00
André Pönitz
2da8fcabdc small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2484 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 13:17:39 +00:00
André Pönitz
6c12ac0526 fix bug due to recent typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2483 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 12:42:04 +00:00
André Pönitz
338fb721b8 some visual feedback for extra vertical space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2481 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 12:12:03 +00:00
André Pönitz
babee598f4 store optional eol arg and write it back if necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2480 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 11:51:06 +00:00
André Pönitz
8de80cc1e7 move error message to a better place...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2478 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 11:04:23 +00:00
André Pönitz
431543cc20 improve end-of-line handling in the presence of optional args to \\
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2477 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 10:39:56 +00:00
André Pönitz
31028168b2 small bugfix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2474 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 09:35:19 +00:00
André Pönitz
23638ef606 wrap mathed parser in a class, the main parsing functions should be
re-entrant now


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2473 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 09:30:02 +00:00
André Pönitz
8898791bc6 small parser stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2472 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 07:52:04 +00:00
André Pönitz
c06f5351cf rework of MathDelimInset almost finished... did that break anything?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2471 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 16:02:43 +00:00
André Pönitz
0453939fbe remove unneeded code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2470 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 15:56:38 +00:00
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