André Pönitz
4d51fc96b4
move things around
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4799 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-26 17:23:44 +00:00
André Pönitz
c6b1b59008
some \parbox improvements
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4796 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-26 13:13:20 +00:00
Angus Leeming
00c0baf022
Regenerate a preview only when leaving a math inset with depth 1.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4763 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-23 14:47:31 +00:00
André Pönitz
7c3cc29952
more work on \parbox support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4657 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 18:22:45 +00:00
André Pönitz
9b2be91bed
replace (ascent, descent, width) triples by a structure 'dimension'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4601 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 11:27:24 +00:00
André Pönitz
d359dd8fca
remove unneeded member
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4600 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 10:20:31 +00:00
André Pönitz
6504da095b
using previews might be a good alternative to hard coding such diagrams...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4595 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 15:51:28 +00:00
André Pönitz
884923f714
New support for \begin{...}...\end{...} style environments
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4563 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 09:46:31 +00:00
André Pönitz
469946043f
make a some members private
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4552 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 14:57:12 +00:00
Angus Leeming
f68a2bfb91
Preview code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4538 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-05 21:24:15 +00:00
André Pönitz
02b6d38f1a
speed up preview a bit...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4499 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-27 18:12:50 +00:00
André Pönitz
3786644124
most of the so far unapplied stuff from porto including proper support for
...
\fbox and a few bugfixes (and quite probable lots of new bugs)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4466 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 15:37:14 +00:00
Lars Gullik Bjønnes
f1c24d1009
*duck*
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4417 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 15:44:30 +00:00
José Matox
c788ba4d67
playing around with visual feedback for the new mathed font insets
...
now a font change gets small (and hopefully not too annoying) markers and no two "logical" positions end up in the same physical position on screen. Comments welcome.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4402 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-14 12:24:28 +00:00
José Matox
cfa1446531
fix the fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4399 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-14 10:48:27 +00:00
André Pönitz
fe87869cb7
fonts as insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4289 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 07:09:54 +00:00
Lars Gullik Bjønnes
2b8ef58dc0
ws cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3804 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:42:56 +00:00
André Pönitz
858355fb69
- reduce sizeof(MathCharInset) by 20 by better font caching
...
(lots of subsequent changes)
- ascii art drawing for \frac and \sqrt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3780 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 16:55:58 +00:00
André Pönitz
2c81992188
show the 'empty base dot' less frequently
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3522 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 15:55:13 +00:00
André Pönitz
dd60fa8ccb
fix parser bug;
...
some stuff for hadling xymatrix (not 'activated' yet)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3514 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 08:19:02 +00:00
André Pönitz
0c60793515
partial fix for #141
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3474 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 17:01:30 +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
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
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
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
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
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
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
Angus Leeming
68a3a474b7
Compilation fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2939 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 18:10:21 +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
4ca7022e52
- updated BUGS
...
- improved cursor movement in grids when pressing home/end
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2911 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 07:33:03 +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
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
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
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
02ec9422d0
use 'size_type' at least for container-like stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2761 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-14 14:05:57 +00:00
André Pönitz
c800129f2b
partial fix for the macro problem
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2727 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 15:46:51 +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
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
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
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
244d75e942
move width_/ascent_/descent_ cache into seperate ABC.
...
sizeof(MathInset) == 24 on IA32
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2414 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 17:55:10 +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