Commit Graph

668 Commits

Author SHA1 Message Date
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
f976fb637d remove unneeded #include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3193 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 17:47:27 +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
52b5d27556 allow \frak as synomnym to \mathfrak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3190 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 15:10:16 +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
Lars Gullik Bjønnes
b1f98665f5 forgot entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3185 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 10:48:33 +00:00
André Pönitz
34ed3608a0 support for fraktur font in mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3184 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 10:14:51 +00:00
André Pönitz
c9541eeeab Essentially Lars' "thread safe" patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3183 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 07:38:02 +00:00
Lars Gullik Bjønnes
7aebbe6e10 include shuffling and a mathed compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3182 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 20:06:59 +00:00
André Pönitz
007c4ef937 do as We say...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3180 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 14:35:54 +00:00
André Pönitz
9c2f56364e Part of Angus' patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3179 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 14:03:39 +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
Lars Gullik Bjønnes
33a28bdc9c Add string << operators for the other streams as well, and removes
c_str() all places where it is not needed anymore.
(I also add config.h to several files that was missing it)
+ added s string constructor to math_symbolinset

I also change some "while(" to "while ("

mmm ... yes ... I add a "zero()" function to LyXLength... an "empty()"
function did not seem appropriate. changed a couple of places that
checked on length.value() != 0.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3149 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:04:20 +00:00
André Pönitz
ef9efa6c0d do as Lars says
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3142 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 17:52:48 +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
Lars Gullik Bjønnes
b720d576c0 test add a string operator and comment out a couple of unused args
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3134 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 17:03:46 +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
8c3c804a4d fix drawing glitch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3118 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 09:16:16 +00:00
André Pönitz
d659612225 reduction of header dependencies, part II (use new types
lyx::layout_type and lyx::textclass_type all ovcer the place)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3117 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 17:12:21 +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
d15b566887 fix drawing glitch with \int (limits are on the side per default even in
displayed formulas)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3093 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 13:57:49 +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
2c3f160f38 fine-tuning for mouse clicks on script insets;
a few more /// comments


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3077 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 13:35:08 +00:00
Jean-Marc Lasgouttes
c897a93ed7 cleanups from Andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3075 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 11:08:43 +00:00
Jean-Marc Lasgouttes
85e30074c2 new alert code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 10:19:58 +00:00
André Pönitz
e9a6693751 Hack: save mouseclick that gets passed before the call to edit() until we
are able to handle it (i.e. after the call to edit()).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3061 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-22 10:24:01 +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
9fa9cbeab6 fill in the missing documentation comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3059 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-22 09:48:57 +00:00
André Pönitz
96175b2fe6 strange enough: parts not commited during the last 'cvs commit' ..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3054 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 17:16:21 +00:00
André Pönitz
3585748871 changes from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3053 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 16:05:17 +00:00
André Pönitz
c84131951f fix 'math background wrong in selected text' problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3051 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 15:20:03 +00:00
André Pönitz
26685ea29b fix compilation with compaq cxx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3050 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 14:59:39 +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
0b506e0467 updated BUGS list, and a ChangeLog entry for a change..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3048 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 11:26:18 +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
5a3fc63bfe fix writing of integers... duh...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3043 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 07:04:00 +00:00
Dekel Tsur
2400b5b919 Fix retrun value of InsetFormula::latex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3042 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-19 19:06:05 +00:00
Jean-Marc Lasgouttes
fcc833018c latexfeatures path from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3041 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-19 15:34:11 +00:00