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
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
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
af2a6c6512
introduce test for "equality"
...
remove a few unneeded declarations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3036 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-16 09:07:40 +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
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
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
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
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
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
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
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
35d74b0e6f
some visual support for \lefteqn
...
fix some writeNormal() issues
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2895 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-18 13:21:21 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
André Pönitz
faa697a2a9
cursor movement in multiline math; remove dead code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2212 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 16:59:57 +00:00
Lars Gullik Bjønnes
ec5d8718c5
mathed95.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2193 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-06 12:09:32 +00:00
André Pönitz
3d00527d48
mathed87.diff (Bug fixes, new feature "change font on selection")
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2169 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 07:56:55 +00:00
Lars Gullik Bjønnes
76ef051b1c
LyX Drinkers United: patch 2
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2144 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 14:10:35 +00:00
Lars Gullik Bjønnes
d1182f17da
LyX Drinkers Union: patch 1
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00
Lars Gullik Bjønnes
6b95441288
mathed64.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1950 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 16:13:38 +00:00
Lars Gullik Bjønnes
29d6854e98
remove a friend + other stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1530 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-17 18:52:53 +00:00
Lars Gullik Bjønnes
a7e691445d
mathed20.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1516 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-14 19:35:25 +00:00
Lars Gullik Bjønnes
84b7ffa347
more mathed cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1500 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-13 19:10:18 +00:00
Lars Gullik Bjønnes
b906c06db6
first go at mathed file cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1495 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-13 13:28:32 +00:00
Lars Gullik Bjønnes
11e5e09d3b
patch from Andre and more array changes by me
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1483 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-12 08:55:14 +00:00
Jean-Marc Lasgouttes
43772015fd
Various small fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1306 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-09 13:58:48 +00:00
Jean-Marc Lasgouttes
891bff2bfe
A few patches I forgot to commit on friday.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1272 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-11 09:46:09 +00:00
Jürgen Vigna
63f7e47a62
Angus inseterror patch + Dekel mathed fix + added language_country code and
...
support this for pspell.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1033 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-22 15:09:51 +00:00
Lars Gullik Bjønnes
4585597f47
add a setDefaults to GUIRuntime + some const changes in tabular + some c_str to work in spellchecker
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1027 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-18 19:41:52 +00:00
Lars Gullik Bjønnes
45a03f4f67
use the new sstream return non-pods as const, use string instead of char * in a lot of places
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1019 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-14 17:53:12 +00:00
Lars Gullik Bjønnes
9468952780
more changes, read the Changelog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@857 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-04 19:16:35 +00:00
Lars Gullik Bjønnes
76938908d7
use more explicit on constructors use the pimpl idom to reduce size with about 500k
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@641 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-08 17:02:02 +00:00
Lars Gullik Bjønnes
132fe5e132
the freespacing patch from Kayvan, draw the math empty delim with onoffdash, asure that the tables passed to lyxlex is sorted and sort them if not, use std::lower_bound to search in lyxlex tables, use binary search in stead of linear in math_delim::search_deco, we also sort the math_deco_table upon startup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@594 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-09 03:36:48 +00:00
Lars Gullik Bjønnes
a0cf758d5a
remove the old painter, remove support for mono_video, reverse_video, fast selection, work in progress to make insetlaex accent better. editable insetcommand drawn as buttons.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@560 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-17 19:59:08 +00:00
Jürgen Vigna
17818a9141
Changed functioncall to MathedCursor::SelGetArea as we always returned the
...
NULL pointer with the new Painter-stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@559 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-17 15:24:43 +00:00
Lars Gullik Bjønnes
cfdd73ea94
new painter,workarea and lcolor. Read the diff/sources and ChangeLog...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@550 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-10 17:53:36 +00:00
Lars Gullik Bjønnes
d8a6abd63a
white-space changes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@313 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-15 11:06:41 +00:00
Lars Gullik Bjønnes
27de1486ca
Initial revision
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@140 a592a061-630c-0410-9148-cb99ea01b6c8
1999-09-27 18:44:28 +00:00