Commit Graph

685 Commits

Author SHA1 Message Date
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
84af236eda remove double initilization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3242 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 15:29:23 +00:00
Dekel Tsur
b0dbd5e436 Adjust kerning of math symbols that are defined as macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3241 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 15:19:32 +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
Jürgen Vigna
bc20177045 Fixed poping up of Layout-Dialogs on Mouse-Button-3 press.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3225 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 13:33:22 +00:00
André Pönitz
9ee57f7245 remove public access to cached position
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3223 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 11:23:21 +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
Dekel Tsur
acdc633447 Consider lyxrc.zoom for computing the width of MathKernInset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3216 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 15:02:36 +00:00
André Pönitz
5c0b5fb2cc clear selection on 'escape' if present
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3210 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-14 17:15:56 +00:00
Dekel Tsur
1e7b5e1d99 Fix handling of \mathfrak font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3207 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-13 22:06:13 +00:00
André Pönitz
06fbab0b77 fix "cursor moving out of visible area" in large formulas
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3203 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-13 14:12:09 +00:00
André Pönitz
6a53128822 enter gridded insets a bit higher
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3202 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-13 13:40:08 +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
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