Commit Graph

897 Commits

Author SHA1 Message Date
André Pönitz
4366ef931c - revive 1.1.6 eqnarray behaviour when pressing <Del> in the last position of a
cell.
- allow additional argument to math-macros for drawing purposes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3823 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 12:11:25 +00:00
Lars Gullik Bjønnes
c8089f8bf9 makefile cleanup, and avoid some warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3821 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 11:15:27 +00:00
André Pönitz
cbc3add7f2 Wonder why Angus' compiler did not complain about this...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3815 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 15:50:50 +00:00
André Pönitz
137aaf9cb2 fix two items from Konni's list of cursor up/down "issues"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3810 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 09:31:26 +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
Lars Gullik Bjønnes
7514c31edf drop the ld -r stuff, we gained nothing with it, other build optimizations gave us what we wanted; some ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3798 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 16:49:07 +00:00
André Pönitz
a38728ff38 enable entering \mathbf#1 directly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3797 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 16:13:17 +00:00
André Pönitz
74e3712580 fix Herbert's up/down problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3795 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 09:48:46 +00:00
André Pönitz
277e305082 Make Angus' compiler happy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3794 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 06:57:13 +00:00
Lars Gullik Bjønnes
35e1157317 Fix for bug: #260 special rules if partially linking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3792 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 19:06:32 +00:00
Angus Leeming
5a030c8153 Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3788 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 12:14:41 +00:00
André Pönitz
b719bc24b4 fix compilation problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3786 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 10:22:23 +00:00
André Pönitz
546021819b fix compilation with g++ 3.0.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3785 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 07:54:14 +00:00
André Pönitz
724cbeaa42 using std::endl; and forbidden small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3784 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 07:30:32 +00:00
André Pönitz
a575055c84 suppress debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3781 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 17:30:41 +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
Angus Leeming
741f527784 Some trivial fixes of warning messages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3768 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 16:32:52 +00:00
André Pönitz
4f64ce3c22 too many '\n' lead to too many empty lines...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3762 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 13:05:52 +00:00
André Pönitz
99cb25781a fix for the first item on Martin's list
some infrastructure for drawing as ascii art


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3761 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 11:45:53 +00:00
Lars Gullik Bjønnes
69013332e2 unification of all Makefiles.am
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3748 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 18:24:44 +00:00
André Pönitz
8794b7da67 disable some of the speedup thingies until I found aproper solution for the
macro redraeing problem


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3746 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 17:31:18 +00:00
André Pönitz
9b3a4dc5fd remove unneeded LFUN_MATH_MACROARG
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3745 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 13:36:36 +00:00
André Pönitz
eea39a8e42 don't draw spaces...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3739 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 11:22:01 +00:00
André Pönitz
e9875b7610 only accept #n in macros with at least n arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3738 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 11:20:35 +00:00
André Pönitz
c2072fa890 don't draw invisible things...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3737 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 11:17:21 +00:00
André Pönitz
82121d83da traversing math tables should be at least as fast as for ordinary table by
now...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3732 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 16:39:27 +00:00
André Pönitz
3c416fd6bf a changelog entry for a change...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3731 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 16:12:32 +00:00
André Pönitz
b5c6adc5fb more streamlining
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3730 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 16:11:51 +00:00
André Pönitz
d15da27db8 speed up math drawing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3729 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 14:59:08 +00:00
André Pönitz
e13a6abffb remove hack, gain speed...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3727 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 13:28:57 +00:00
André Pönitz
19e6fc3513 re-enable mathrm toggling with C-m (was disabled by accident)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3698 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 17:55:39 +00:00
André Pönitz
4a5353cbbf allow deletion of a row of empty cells in an eqnarray even if we are in the
last row (was some off-by-one error)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3697 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 17:48:28 +00:00
André Pönitz
eb39922612 Fix parser glitch as reported by J.L.M.Assirati
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3696 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 17:34:51 +00:00
Angus Leeming
e2dc77eb6f Tweaking of the math panel dialogs from Martin...
and yes, this counts as bug fixing IMO.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3695 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 17:24:55 +00:00
Lars Gullik Bjønnes
e6fe0de052 cleaner ld -r
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3580 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 22:57:44 +00:00
Angus Leeming
d0a3af12d9 Synching my tree with cvs.
I'm committing all the little, but uncontroversial, changes that have
built up in my tree. This will result in an almost total recompilation for
you all but will mean that things are less painfull when the other changes
go in!

* Rename files syscall.[Ch] as systemcall.[Ch].

* Rename class Systemcalls as class Systemcall as one instance of the class
  represents a single child process. Remove the default constructor too.

* Add a running() method to class Timeout. Results in recompilation of almost
  the entire tree because pretty well everything depends on LyXView.h which
  #includes "frontends/Timeout.h", so...

* Make the Timeout instances in classes LyXView and minibuffer pointers,
  allowing us to forward declare class Timeout.

* Add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to commandtags.h in anticipation
  of something wonderful!

* Add a signal showForks to Dialogs.h, again anticipating some real code.

* wrap the structs firster, seconder in frontends/controllers/helper_funcs.h
  in a namespace to prevent a clash with similarly named structs in
  support/lyxalgo.h

As you see, lots of irritating bits and pieces which don't make much sense in
themselves but do in light of the other changes I've got here.

I'll post the big changes to the list for proper perusal.

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3566 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 19:13:48 +00:00
André Pönitz
0be51952b9 don't insert space when given \rho<space> ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3563 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 15:14:02 +00:00
Lars Gullik Bjønnes
edf3fcf8f9 remove the syscall constructor, adjust other code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3555 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 18:34:30 +00:00
Lars Gullik Bjønnes
7ea7dabed1 to much stuff for my liking...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
Angus Leeming
59e18b17ae We don't currently use fork anywhere (or if we do it's by mistake!), so
this patch strips down syscall.[Ch] so it now contains only the system
call interface. This interface is very, very simple! At the same time
I've taken the opportunity to remove syscontr.[Ch] and syssingleton.C,
again because they aren't used.

The rest of the changes are due to the change of name in the
Systemcall::Starttype enum. System is now Wait, and SystemDontWait is DontWait

Paves the way for resurrecting a proper forked calls controller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3553 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 12:39:47 +00:00
André Pönitz
8d1c58af82 whichFont down to 5.3%
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3551 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 17:34:07 +00:00
André Pönitz
49da061b11 whichFont down to 9%...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3550 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 17:14:36 +00:00
André Pönitz
34d28f9daa don't copy if a reference is fine
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3549 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 17:08:45 +00:00
André Pönitz
56f1c43ecc don't ignore ',' after '\rho'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3548 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 16:06:22 +00:00
André Pönitz
57eee4cdd6 some support for \xleftarrow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3547 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 15:01:01 +00:00
André Pönitz
df36a96f80 support for 'gathered', 'aligned', 'matrix', \overleftrightarrow,
\underleftrightarrow


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3546 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 14:50:40 +00:00
André Pönitz
0ad5f550fe fix parser bug for \begin{align}...\end{align}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3545 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 14:18:44 +00:00
André Pönitz
d7f701b8d6 move around debugging stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3544 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 14:07:09 +00:00
André Pönitz
a5322b93c6 pure cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3543 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 18:21:28 +00:00
André Pönitz
5e6481b76e support for \substack
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3540 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 14:52:23 +00:00
André Pönitz
e6947f6187 full support for vmatrix and Vmatrix,
added missing parts for pmatrix and bmatrix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3539 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 14:19:52 +00:00
André Pönitz
029ad07b8a fix export glitch for pmratix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3537 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 13:36:39 +00:00
André Pönitz
746d3f3db6 another case of superfluous braces on read-back
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3536 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 13:25:26 +00:00
André Pönitz
e5fed66b3b inactive new stuff to re-sync my tree before going on holyday
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3535 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 12:38:02 +00:00
André Pönitz
e70e507d01 support for AMS's \pmatrix and \bmatrix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3530 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 13:15:15 +00:00
André Pönitz
d672af78a8 forgot to remove some debug output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3526 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-12 09:46:10 +00:00
André Pönitz
6748408e65 fix parser bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3525 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-12 09:11:50 +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
27e96b13bf fix bug dicovered by Richard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3513 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 18:19:16 +00:00
André Pönitz
5cecfe8c7f popup math panel on right mouse click
support for \dddot


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3508 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 09:42:59 +00:00
André Pönitz
a60dcf0b84 Otto's \underrightarrow/\underleftarrow patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3505 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 08:08:11 +00:00
André Pönitz
ffabba6156 Finxing Umlauts, Part I
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3503 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 08:03:38 +00:00
André Pönitz
e5e39c1884 bugfix: in some cases the parser created unecessary extra braces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3499 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 09:47:21 +00:00
André Pönitz
a64a948cea bugfix (too many \\ when writing gridded structures)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3498 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 08:25:55 +00:00
André Pönitz
00e2f3f631 small internal stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3497 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 08:19:47 +00:00
André Pönitz
828fe3bc12 remove stupid endless loop
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3488 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 16:30:56 +00:00
André Pönitz
ef77daf1bc forgotten files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3485 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 13:27:34 +00:00
André Pönitz
961105ec0e support for \xrightarrow and \xleftarrow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3483 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 09:51:40 +00:00
André Pönitz
b5fd9ac98d basic support for \xymatrix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3482 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 18:44:51 +00:00
André Pönitz
14f1b208db fix for #141
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3475 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 17:09:55 +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
e7689a2ed7 draw decorations closer to the place where LaTeX puts them
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3473 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 15:53:34 +00:00
André Pönitz
b1d75ead87 Somewhat better behaviour for Umlauts in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3472 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 14:56:49 +00:00
André Pönitz
87eea8ccf1 fix for #219
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3471 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 12:57:16 +00:00
André Pönitz
fcb622b800 fix #218
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3470 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 11:57:26 +00:00
André Pönitz
66d171ea78 proper support for \underset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3469 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 10:33:06 +00:00
André Pönitz
c3e5ddf89a Fix fuer #209
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3468 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 10:21:29 +00:00
André Pönitz
16988af5a3 Fix for #224 (and #225? what's the difference anyway?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3452 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-30 11:29:54 +00:00
Angus Leeming
e07b31a47d Martin's changes to the space and style dialogs of the math panel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3449 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-29 12:31:24 +00:00
Dekel Tsur
0358360e51 Add macros for \models and \Join.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3440 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-26 18:33:45 +00:00
Jean-Marc Lasgouttes
f0a372d294 fix bug 175 (minipage in minipage); fix some warnings; apply external.diff from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3420 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 17:05:24 +00:00
André Pönitz
c7c443e5e2 Martin's validate() patch (\pm\varepsilon\smile)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3417 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-18 14:27:54 +00:00
André Pönitz
c446acbd86 infrastructure for requiring "amssymb".
Could anybody please fill in the apropriate tests?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3402 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 08:07:06 +00:00
André Pönitz
a86ed9bea2 prepare writing info messages to the minibuffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3390 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 14:24:38 +00:00
Angus Leeming
16083c82e1 Martin's math panel patches.
John's thesaurus patch.
A patch of my own to clean-up the spellchecker code a little (functionality
not changed).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3383 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-15 15:31:19 +00:00
Angus Leeming
de3b5aab16 Resolve virtual function name clashes:
* Rename InsetMinipage's width and height functions as pageWidth and
pageHeight, respectivelyi as they are functionally distinct from
the InsetCollapsable's methods of the same name.
* Change the "bool const &" parameters of UpdateableInset::searchForward and
searchBackward to "bool". Ditto with other classes, so all are now consistent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3375 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 16:10:29 +00:00
Angus Leeming
754d59b4a1 Create a new support function lyx::count to use in place of std::count.
Remove countChar as lyx::count superceeds it.
Use the new function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 13:04:06 +00:00
Jean-Marc Lasgouttes
8b8741cd5d fixes/cleanup to dispatch/getStatus stuff; fixes the bug where unwanted function names appear in minibuffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3346 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 20:00:47 +00:00
Angus Leeming
44806c63f9 Fixes for a broken std::count.
A couple of white-space type changes in mathed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3341 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-11 17:57:02 +00:00
André Pönitz
90f8bbec90 Angus: 'WriteStream::addlines' is now the only way to change 'lines_'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3335 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-11 15:23:10 +00:00
André Pönitz
9a7ba0c534 Add missing initialization (I dont think that was the problem, Angus)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3334 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-11 13:38:41 +00:00
André Pönitz
08ae48d886 enable direct input of #1...#9; some whitespace changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3332 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-11 10:26:13 +00:00
Angus Leeming
df3128954a Martin's latest math dialog patch using LFUNs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3331 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 16:47:03 +00:00
André Pönitz
32253ab4d1 make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
No editing possible, though...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3328 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 14:02:37 +00:00
Dekel Tsur
f60e175f1e Support for \begin{math}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3326 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 13:07:53 +00:00
Jean-Marc Lasgouttes
a02a2714dc updates to latexfeatures stuff; allow empty \document_path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3324 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 10:05:45 +00:00
André Pönitz
76d05a79f2 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3323 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-09 15:21:56 +00:00
Angus Leeming
d57d71fc5c Martin's math dialog patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3322 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-09 14:40:34 +00:00
André Pönitz
6b388ac30d small patches from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3316 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 15:13:31 +00:00
André Pönitz
75408c2bcc more small patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3313 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 13:31:14 +00:00
André Pönitz
2c2ce9424f more 'informational' messages removed?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3312 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 11:39:24 +00:00
André Pönitz
faf2f08712 some changes to make some compilers somewhat happier
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3310 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 11:03:34 +00:00
André Pönitz
5d6b5eb116 Angus' patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3304 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 15:09:12 +00:00
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
a8af2d353d next try to fix the 'C-m 11' problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3287 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 13:52:13 +00:00
André Pönitz
00af0cdf35 revert last "bug-fix" for the 'C-m 11' problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3286 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 13:44:21 +00:00
André Pönitz
8e5481d65f scriptstyle, scriptscriptstyle, textstyle...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3285 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 13:31:37 +00:00
André Pönitz
29c112f031 cosmetics: move numerator and denominator in fravctions closer together
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3283 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 13:02:43 +00:00
André Pönitz
8516a610ed implement getLastCode()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3282 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 12:50:00 +00:00
André Pönitz
78c091d70b small bug fix from Martin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3281 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 12:04:10 +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
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