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
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
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
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
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
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
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
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
811980f739
rename MathBigopInset into MathSymbolInset. That's what it is nowadays...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2365 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 10:08:04 +00:00
André Pönitz
ece9f3739c
nest step...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2362 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 16:14:23 +00:00
André Pönitz
356d7aed23
small steps towards a unified symbol handling
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2361 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 15:28:45 +00:00
André Pönitz
1db325d20c
simplify BigopInset handling
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2360 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 14:37:09 +00:00
André Pönitz
d812b509d0
small cleanups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2359 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 13:52:47 +00:00
André Pönitz
16fe92dbc0
iookup unification - another 100 lines bite the dust
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2357 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 10:21:18 +00:00
André Pönitz
50ea0354bd
lowercase method names
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2354 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 09:01:36 +00:00
André Pönitz
fda98080cc
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2353 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 06:56:43 +00:00
André Pönitz
9ccefe810b
mathed108.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2352 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 06:46:50 +00:00
André Pönitz
cd8d582c67
M-m <space> as substitute for the old C-<space> <space> 'enlarge space'
...
feature
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2339 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-25 14:15:05 +00:00
André Pönitz
e152ea21dc
tiny cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2336 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-25 09:32:38 +00:00
André Pönitz
d2e5c09218
paste to any place in the inset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2328 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 17:26:44 +00:00
André Pönitz
c1bd906202
^ now copies selection into new scriptinset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2324 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 16:10:17 +00:00
André Pönitz
3afd871c2d
small bugfixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2312 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 16:08:41 +00:00
André Pönitz
86ea4e48e7
fix 'invalid cursor position after typing \sum'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2310 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 14:30:22 +00:00
André Pönitz
b321afd875
keep empty super/subscript a bit longer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2309 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 14:21:34 +00:00
André Pönitz
efc5820ea3
fix pullArg when pressing <Delete> at the end of an cell
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2308 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 14:15:14 +00:00
André Pönitz
3024e24e80
Fix "pullArg" behaviour when pressing <Backspace> at the beginning of an inset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2307 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 13:52:48 +00:00
André Pönitz
abaa02466a
move things around, fix bug in ~MathArray.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2297 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 14:54:13 +00:00
André Pönitz
5c40a062b2
rename math_(root|grid).[Ch] to math_(root|grid)inset.[Ch]
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2259 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-17 07:38:41 +00:00
Lars Gullik Bjønnes
b10dd6dc0b
reverse test move operators out of struct
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2257 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 18:58:13 +00:00
André Pönitz
a97c6eba47
multicell selection
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2255 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 15:53:25 +00:00
André Pönitz
87f0ddf453
prepare infrastructure for multicell selection
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2242 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 16:06:10 +00:00
André Pönitz
61529b136e
prepare re-enabling LaTeX feature validation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2240 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 14:54:56 +00:00
Angus Leeming
cec0dd19d0
Edwin's "about" patch + consistent use of Lsstream.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2239 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 14:03:48 +00:00
André Pönitz
747cd76667
Fix Angus' drawing bug + cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2234 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 11:32:22 +00:00
André Pönitz
4a40b711f2
mathed102.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2229 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 07:55:55 +00:00
André Pönitz
0024f42724
split super/subscript handling in new base class MathUpDownInset and
...
MathScriptInset/MathBigOpInset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2220 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 07:18:29 +00:00
André Pönitz
88b5d739b5
MathAccentInset rewritten
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2215 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-10 13:17:43 +00:00