Commit Graph

993 Commits

Author SHA1 Message Date
André Pönitz
b181cd29a9 re-try to suppress "extra" {} on reading...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4860 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 10:27:40 +00:00
André Pönitz
200b4fd4ef cosmetics: make the hand-drawn root more similr to what LaTeX does
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4859 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 08:44:08 +00:00
André Pönitz
ff19a20470 fix parser bug reportred by Rob.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4858 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 07:14:26 +00:00
André Pönitz
9b4bf4c29d fix 'vanishing \sin' bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4857 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 07:09:11 +00:00
André Pönitz
f72aef6cb3 fix parser bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4856 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 06:39:33 +00:00
Angus Leeming
cc132995fa Cache the BufferView as a weak_ptr; get rid of those horrible current_views.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4846 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 16:30:58 +00:00
André Pönitz
00413a7841 merge MathArray and MathXArray classes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4843 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 14:29:42 +00:00
André Pönitz
45d1084a64 remove a few unneeded 'include'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4842 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 14:04:16 +00:00
André Pönitz
2830796638 uses references instead of returning vectors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4840 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 13:35:05 +00:00
Angus Leeming
984cbba504 * Mathed now caches the BufferView as a weak_ptr.
* PreviewedInset caches the LaTeX snippet.
* Further clean-up of mathed's preview code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4838 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 12:38:20 +00:00
André Pönitz
d47e8c38e3 fix recently introduced macro reading bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4835 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 07:50:01 +00:00
Angus Leeming
d91ffd8d78 Previews for \input insets.
Refactor code common to InsetInclude and InsetFormula into a new
PreviewedInset class.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4830 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 17:28:59 +00:00
Angus Leeming
bec8a7b65c Compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4829 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 16:12:02 +00:00
André Pönitz
a92d23883e save inset lock state in the .lyx file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4828 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 15:53:46 +00:00
André Pönitz
0fdd672d64 no special treatment for scriptinsets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4826 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 11:48:53 +00:00
André Pönitz
48929cbcc8 quick&dirty compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4822 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 07:22:01 +00:00
André Pönitz
990069f546 a step towards world domination^H^H^H
aehm... move things from the parbox inset to an abstract base class
'MathTextInset' and have a shot on implementing an ERT inset on top of
that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4819 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-31 17:26:14 +00:00
André Pönitz
7534cb5d5e re-adjust math-extern heuristics to new super/subscript inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4810 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 17:51:19 +00:00
André Pönitz
6c57f7353f support for AMS's \boxed{} command
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4807 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 16:04:41 +00:00
André Pönitz
a794a45949 the up/down stuff reworked
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4806 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 13:56:02 +00:00
Lars Gullik Bjønnes
043298544c Rename strip to rtrim
Rename frontStrip to ltrim
Add new trim function.

modify source for this change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4801 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 22:50:13 +00:00
Lars Gullik Bjønnes
e39935204d remove some unneeded version of functions from lstrings,
some gcc 3.2. minor compile fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4800 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 18:13:51 +00:00
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
11398a3316 move things around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4798 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-26 14:11:19 +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
André Pönitz
a22bf49a4e fix nasty crash when selection anchor pointed to a deleted cell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4791 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-26 07:39:13 +00:00
André Pönitz
3da45ec13a remove debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4785 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 13:39:11 +00:00
André Pönitz
5972f27401 try to fix cursor jumping
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4784 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 13:34:13 +00:00
André Pönitz
01f9ad1e3b try to fix error shown by valgrind
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4780 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 07:55:56 +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
Angus Leeming
b3fa703ea7 Aesthetic improvement of equation positioning when previewing in display mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4758 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-23 09:23:11 +00:00
Jean-Marc Lasgouttes
4bf9542812 fix display of rotated math decorations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4754 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-22 22:00:49 +00:00
André Pönitz
10fd14e55b enable insertion of spaces in all \textxxx modes.
some cleanup.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4702 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 11:02:33 +00:00
André Pönitz
31d1ab96b6 leave formula when pressing end at the end of a formula (and similarly
'home' at the beginning)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4700 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 10:07:20 +00:00
André Pönitz
c69579b679 donn't mutate align to alignat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4691 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 17:25:17 +00:00
Angus Leeming
f643df79a8 * Make the graphics files conform strictly to the Pimpl idiom by moving
the boost::signals into the relevant Impl classes and creating new,
publicly-accessible connect() methods.
* Const-ify all publicly-accessible methods, reflecting the fact that each
class contains only a const pimpl_ member variable.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4687 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 16:56:42 +00:00
André Pönitz
1a696271da honor \displaystyle etc on screen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4684 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 15:57:03 +00:00
Angus Leeming
4b0c1d1065 Compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4679 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 12:07:57 +00:00
André Pönitz
0bd8435f7e next shot at xxalignat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4677 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 11:21:22 +00:00
André Pönitz
2858081d89 Herbert's compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4674 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 11:05:16 +00:00
André Pönitz
baf8d2da9f fixes for \xxalignat and old style font changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4673 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 10:25:33 +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
Angus Leeming
830ef843a6 remove the extra pixels required to accommodate the mathed active frame
when in Preview mode.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4653 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 18:04:57 +00:00
Angus Leeming
16b928088f Smart loading of image files for previews and for the graphics inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4638 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-15 11:08:46 +00:00
John Levon
2fd0569093 use Lsstream.h not sstream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4635 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-14 17:25:25 +00:00
André Pönitz
2cb500754a unneeded function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4621 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 14:49:58 +00:00
André Pönitz
22b1e8d33a macro handling cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4620 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 14:24:47 +00:00
André Pönitz
80357480fe make \lim work for math-extern
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4619 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 11:21:21 +00:00
André Pönitz
e7d7e75c0a revert accidential change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4617 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 11:09:01 +00:00
André Pönitz
6adb9c9122 remove unneeded inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4616 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 10:28:15 +00:00