Commit Graph

347 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
2b8ef58dc0 ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3804 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:42:56 +00:00
André Pönitz
a38728ff38 enable entering \mathbf#1 directly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3797 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 16:13:17 +00:00
André Pönitz
74e3712580 fix Herbert's up/down problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3795 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 09:48:46 +00:00
André Pönitz
b719bc24b4 fix compilation problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3786 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 10:22:23 +00:00
André Pönitz
546021819b fix compilation with g++ 3.0.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3785 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 07:54:14 +00:00
André Pönitz
99cb25781a fix for the first item on Martin's list
some infrastructure for drawing as ascii art


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3761 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 11:45:53 +00:00
André Pönitz
e9875b7610 only accept #n in macros with at least n arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3738 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 11:20:35 +00:00
André Pönitz
c2072fa890 don't draw invisible things...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3737 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 11:17:21 +00:00
André Pönitz
82121d83da traversing math tables should be at least as fast as for ordinary table by
now...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3732 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 16:39:27 +00:00
André Pönitz
d15da27db8 speed up math drawing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3729 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 14:59:08 +00:00
André Pönitz
0be51952b9 don't insert space when given \rho<space> ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3563 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 15:14:02 +00:00
Lars Gullik Bjønnes
7ea7dabed1 to much stuff for my liking...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
André Pönitz
56f1c43ecc don't ignore ',' after '\rho'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3548 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 16:06:22 +00:00
André Pönitz
d7f701b8d6 move around debugging stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3544 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 14:07:09 +00:00
André Pönitz
5e6481b76e support for \substack
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3540 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 14:52:23 +00:00
André Pönitz
27e96b13bf fix bug dicovered by Richard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3513 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 18:19:16 +00:00
André Pönitz
00e2f3f631 small internal stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3497 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 08:19:47 +00:00
André Pönitz
828fe3bc12 remove stupid endless loop
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3488 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 16:30:56 +00:00
André Pönitz
14f1b208db fix for #141
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3475 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 17:09:55 +00:00
André Pönitz
b1d75ead87 Somewhat better behaviour for Umlauts in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3472 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 14:56:49 +00:00
André Pönitz
87eea8ccf1 fix for #219
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3471 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 12:57:16 +00:00
André Pönitz
fcb622b800 fix #218
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3470 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 11:57:26 +00:00
André Pönitz
16988af5a3 Fix for #224 (and #225? what's the difference anyway?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3452 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-30 11:29:54 +00:00
André Pönitz
a86ed9bea2 prepare writing info messages to the minibuffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3390 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 14:24:38 +00:00
André Pönitz
08ae48d886 enable direct input of #1...#9; some whitespace changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3332 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-11 10:26:13 +00:00
André Pönitz
6b388ac30d small patches from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3316 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 15:13:31 +00:00
André Pönitz
faf2f08712 some changes to make some compilers somewhat happier
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3310 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 11:03:34 +00:00
André Pönitz
a8af2d353d next try to fix the 'C-m 11' problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3287 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 13:52:13 +00:00
André Pönitz
00af0cdf35 revert last "bug-fix" for the 'C-m 11' problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3286 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 13:44:21 +00:00
André Pönitz
78c091d70b small bug fix from Martin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3281 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 12:04:10 +00:00
André Pönitz
f4892a2d33 visual support for \displaystyle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3280 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 12:02:54 +00:00
André Pönitz
a3f60ae91e forward search in math insets. ugly. seems to work. don't ask why.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3279 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 09:41:26 +00:00
André Pönitz
95616fc9b3 fix pasting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3275 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-02 13:43:13 +00:00
André Pönitz
d109cee80b preliminary support for \mbox
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3237 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 12:21:33 +00:00
Lars Gullik Bjønnes
f70513fe19 small stuff, perhaps you should have a look at the change in math_parser, Andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3230 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 03:16:46 +00:00
André Pönitz
8b6b06cedc bug fix (crash when creating displayed formula after latest cursor changes)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3222 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 10:25:17 +00:00
André Pönitz
c0fc732905 allow cut&paste of rectangular "regions" of cells
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3218 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 16:13:11 +00:00
André Pönitz
192625aa3a *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3200 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-12 14:39:33 +00:00
André Pönitz
d857fc89c8 Martin's super/subscript patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3199 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-12 14:37:59 +00:00
André Pönitz
6c13215907 more up/down tweaking;
remove unneeded functions


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3198 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-12 14:05:38 +00:00
André Pönitz
18f613448f re-enable automatic deletion of empty super/subscripts;
remove now unneeded pos() argument from idxUp/idxDown functions;


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3197 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-12 13:11:28 +00:00
André Pönitz
e52ac5df2b more cursor up/down tuning...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3194 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 18:51:47 +00:00
André Pönitz
039fa89b9f revert most of the stuff that got reverted yesterday but was not
responsible for the crashes...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3191 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 15:35:18 +00:00
André Pönitz
1d8a1db27f fix nasty bug when inserting labels when cursor was in nested array
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3189 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 15:04:02 +00:00
André Pönitz
49710a766f input support for \mathcal, \mathbb etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3186 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 11:33:43 +00:00
André Pönitz
fe31e337c1 perhaps a fix for the latest crashes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3174 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 10:09:00 +00:00
André Pönitz
582c2887a9 remove more unneeded stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3156 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 18:55:45 +00:00
André Pönitz
e71bea78ca brute force does not need much code...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3154 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 18:00:36 +00:00
André Pönitz
ebe6d25126 deep iterators for math insets;
use brute force for to determine "best" position when doing cursor up/down
(will be sped up a bit again soonish...)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3153 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 17:50:18 +00:00
André Pönitz
aed2b1804c make operator<<(*stream, ...) free functions;
make *stream 'class' instead of 'struct' (not finished);
use LCOlor::mathline only for boxes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3140 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 16:24:50 +00:00
André Pönitz
8ca4fc16a5 small offset "correction"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3124 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 14:46:13 +00:00
André Pönitz
5049e123be better handling of up/down
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3123 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 14:40:38 +00:00
André Pönitz
a969abe2f6 more selection stuff. It might be ok now...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3116 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 16:39:44 +00:00
André Pönitz
c968dac821 retain buffer after pasting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3114 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 16:13:23 +00:00
André Pönitz
9b0945a47f re-enable the mathcursor->normalize() safety belt.
This trades Asserts() against a console warning


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3103 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 13:09:40 +00:00
André Pönitz
4637f33070 accept limit-toggling between the symbol and the script inset, not behind
everything


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3092 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 13:36:23 +00:00
André Pönitz
62818cea01 fix crash discovered by Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3085 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 09:44:32 +00:00
André Pönitz
f62f0b271f next try to fix cursor positioning/selection using the mouse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3060 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-22 10:14:19 +00:00
André Pönitz
932884ff5b small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3049 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 14:48:25 +00:00
André Pönitz
ef9cb74104 selection using the mouse should work now. Note: an x is not a y, nor is
a y an x. Even if x's and y's come in disguise as xo's or yo's. Then, an xo
is not a yo nor is a yo a x0.  Aaaargh...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3047 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 11:15:18 +00:00
André Pönitz
a415942e01 small mouse click stuff. still not ok...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3046 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 09:06:12 +00:00
André Pönitz
491148bbd9 buglets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3044 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 08:27:13 +00:00
André Pönitz
39924c351c simple search-and-replace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3037 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-16 09:55:37 +00:00
André Pönitz
ea35e1c460 make cursor less eager to leave the formula when pressing 'up' or 'down'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3030 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-15 09:51:57 +00:00
André Pönitz
d481340f88 suppress the {} indication an empty base of a scriptinset if at the very
beginning of a cell


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3018 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 14:45:08 +00:00
André Pönitz
1e3e8aaac9 tiny bugfix; remove unnerded code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3017 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 12:51:43 +00:00
André Pönitz
7f7275c914 fix thinko in 'double space suppression'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3016 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 08:24:41 +00:00
André Pönitz
d76cb8f1cf activate row delete/insert for the 'cases' environment, too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3015 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 08:21:03 +00:00
André Pönitz
98d0501e77 make 'space' leave the formula if pressed at the very end
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3014 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 08:03:52 +00:00
André Pönitz
c12d116ce7 support for \begin{cases}...\end{cases} (for interactive creation type M-x
math-insert cases <number_of_case_you_want>)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3011 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-12 16:45:09 +00:00
André Pönitz
cc5b1b9def let '^' and '_' end "MacroMode" immediately
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2996 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 13:51:24 +00:00
André Pönitz
c93e9dcbc5 some support for matrix operations with maple ('M-x math-extern maple evalm')
further cosmetics


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2991 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 08:35:57 +00:00
André Pönitz
15b1e9cdde cosmetics: rename "matrix" into "hull" since it is used only for the
outermost math inset in a formula and not for matrices at all...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2986 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:28:33 +00:00
André Pönitz
1b787e207d cosmetics: rename support.[Ch] into math_support.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2985 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:15:12 +00:00
André Pönitz
0daba49b1d don't #include too much stuff in .h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2984 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:06:56 +00:00
André Pönitz
2f858329df fix 'double =' glitch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2972 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 11:14:59 +00:00
André Pönitz
fcc87d756b Re-introduction of a BraceInset to handle "extra braces"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2943 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-29 15:45:24 +00:00
André Pönitz
549d6b7441 partial fix for 'two spaces in a row in math text'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2942 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-25 14:46:57 +00:00
André Pönitz
849400adb1 next step...
would somebody explain me how inset nesting works in the outside world?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2941 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 19:09:31 +00:00
André Pönitz
557033beb6 small step forward on the lenghty path to \mbox support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2940 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 18:29:55 +00:00
André Pönitz
d1633491db add missing writeNormal() methods to some insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2935 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 16:10:38 +00:00
André Pönitz
cde897f38b remove position cache from insets - these were the last data item stored in
each inset, so we are down to the absolute minimum here...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2929 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 09:16:06 +00:00
André Pönitz
616955adb2 fix crash due to invalid cursor position after deleting more than one cell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2925 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 13:48:52 +00:00
André Pönitz
c67645effa don't move cursor to the left after an C-<Return>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2919 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 09:29:02 +00:00
André Pönitz
c0ef23bc2a - remove some unused code
- put some more stuff in anaon namespaces
- cosmetics


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2915 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 09:03:07 +00:00
André Pönitz
910b8c6a07 remove the hard-coded greek stuff, it is handled in math.bind nowadays
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2912 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 08:14:52 +00:00
André Pönitz
970f0247f7 halfway through fixing size of math in non-standard sizesd paragraohs like
section headings...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2907 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 17:46:13 +00:00
André Pönitz
5507c1ad69 use stream-like syntax for LaTeX output
(instead of inset.write(stream) functions)

prepare fix for proper font sizes in chapter heading etc...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2899 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 11:25:48 +00:00
André Pönitz
761fab540e support reading TeX's $$...$$ syntax
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2887 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-15 14:19:16 +00:00
André Pönitz
5b0af9a0f0 cursor movement bug fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2879 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-13 10:42:34 +00:00
André Pönitz
df1613ed4a disable leaving the inset during selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2877 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 16:12:32 +00:00
André Pönitz
db033af700 fix x^1<space>_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2876 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 15:38:58 +00:00
André Pönitz
400fcfa1ee leave mathed after math-insert if we have not been in mathed before
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2875 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 14:33:38 +00:00
André Pönitz
28c690f63c cursor up/down behind scripts fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2874 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 14:09:00 +00:00
André Pönitz
748af630f5 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2871 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 13:29:46 +00:00
André Pönitz
3e2e63a4b4 move selected part to script when pressing ^ or _
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2869 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 13:05:21 +00:00
André Pönitz
9295f8236e Use references instead of pointers where possible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2867 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 12:02:49 +00:00
André Pönitz
fbbf8bded3 don't touch your keyboard too often...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2858 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 16:39:42 +00:00
André Pönitz
cf3bc4d06e small fixes to bugs discoverd by Dekel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2857 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 16:35:18 +00:00
André Pönitz
dbf9e27a97 remove inconsistency del/backspace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2855 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 14:30:28 +00:00
André Pönitz
4253792bd6 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2852 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 13:20:51 +00:00
André Pönitz
c5e13278e7 leave red backslash as visual clue in formula when typing macro names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2833 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-02 15:01:57 +00:00
André Pönitz
e9baa06e51 remove public method;
add a static_cast<>


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2827 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 12:23:00 +00:00
Jean-Marc Lasgouttes
e597fc7ae4 fix the size of some variables to avoid compaq cxx warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2826 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 12:10:32 +00:00
André Pönitz
0f5ff99bc1 Even more ugly changes and a new file dependency to shut up Jean-Marc's
compiler *sigh*


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2804 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-26 16:52:34 +00:00
André Pönitz
7435fca771 further code uglification to make Jean-Marc's compiler happy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2803 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-26 15:20:45 +00:00
André Pönitz
558ce4437f use std::swap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2800 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-25 06:47:47 +00:00
André Pönitz
1129104282 changed cursor movement/deletion behaviour in super/subscripts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2796 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 16:25:06 +00:00
André Pönitz
f5f9c46c35 Use dummy Buffer * parameters to make Jean-Marc's compiler happy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2793 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 13:38:52 +00:00
André Pönitz
207bc5e3f4 Angus' patch to comment out debug mode's coloured frames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2792 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 12:48:31 +00:00
André Pönitz
a4dab932ac Return UNDISPATCHED instead of FINISHED in the default branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2757 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 16:14:43 +00:00
André Pönitz
6c32034cce allow editing macro names using backspace while typing...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2745 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 14:39:55 +00:00
André Pönitz
c740d233cc interpret a typed \#1 as math-macro-arg 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2744 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 14:31:18 +00:00
André Pönitz
d9738adfd7 \hat & subscript
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2742 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 13:23:39 +00:00
André Pönitz
c50bd2b573 fix delimiter handling for \, |, and /
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2740 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 12:51:55 +00:00
André Pönitz
b6113c5b8a fix cursor positioning using the mouse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2724 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 12:46:58 +00:00
André Pönitz
e4c58b72be try to do with super- and subscripts what TeX does
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2722 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 10:58:17 +00:00
André Pönitz
7a5950750f Fix _U_psilon
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2698 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-05 16:32:36 +00:00
André Pönitz
92705b7a74 fix the | vs \| business...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2676 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 07:39:29 +00:00
André Pönitz
dcc9fe59dd fix broken greek keyboard input
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2631 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-30 14:40:43 +00:00
André Pönitz
77306b7e24 Make Shift-End and Shift-Pos1 work as expected
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2629 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-30 10:17:28 +00:00
André Pönitz
1ac1b8e07b forgot a case...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2628 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-30 10:10:33 +00:00
André Pönitz
3e7bc31d0c *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2626 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-30 08:55:13 +00:00
André Pönitz
f1e2433313 re-enable { and } in seperate cells;
nuke MathScopeInset;


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2620 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-29 16:23:54 +00:00
André Pönitz
6844068ec2 fix cursor font bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2606 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-28 13:34:04 +00:00
André Pönitz
aea21e8cac re-enable spaces and hyphens in labels;
small stuff;


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2559 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-20 13:45:02 +00:00
André Pönitz
1555e4c27c some support for \atop
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2542 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 17:50:00 +00:00
André Pönitz
4d752d6778 fix 'M-x math-matrix'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2540 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 17:23:12 +00:00
André Pönitz
e82001fc7e solve Michael's riddle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2537 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 16:05:19 +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
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
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
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
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
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
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
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
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