Commit Graph

117 Commits

Author SHA1 Message Date
André Pönitz
8d5e44685d next try, part I
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3291 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 18:37:18 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
f9544ad301 mouse selection stuff. better, but not ok...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3040 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-16 13:38:00 +00:00
André Pönitz
015b7a2f58 search & replace for symbols & function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3039 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-16 12:00:27 +00:00
André Pönitz
ebcc9580c9 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3023 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 15:29:45 +00:00
André Pönitz
3e3a56bb6a fix math cursor size in non-standard font sizes (again *sigh*)
make some stuff 'protected' instead of public


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3021 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 15:04:46 +00:00
André Pönitz
ec2e5fa868 remove unnedeed #include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3020 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 14:49:54 +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
1d1260a3aa interpret INSET_ERT as 'backslash pressed' to enable the use of the
toolbar tex button within mathed... not that anybody would use it...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3005 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-12 08:20:30 +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
fcb060f97d make undo more granular in mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2951 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 12:26:42 +00:00
André Pönitz
cf629f4331 hot fix for spurious cursor jumps in math insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2948 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 10:00:43 +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
e96ae7b972 Ignore LFUN_BREAKLINE, LFUN_BREAKPARAGRAPH
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2938 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 17:59:35 +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
79506b1643 interpret word-delete-forward/backward as delete/backspace to hotfix
associated crash


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2926 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 13:56:10 +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
40b2b89d4d - remove MathStyles cache from those insets that don't need it
- fix math font sizes in headings etc
- remove unused static member int MathInset::workwidth


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2909 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-22 15:37:49 +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
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
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
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
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
8f2f524d58 remove unneeded global var greek_kb_flag
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2853 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 13:44:58 +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
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
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