Commit Graph

309 Commits

Author SHA1 Message Date
Angus Leeming
86e2d69f18 Add locaDispatch methods to various inset classes. refactor the LFUN_XYZ_APPLY
code but do not yet attempt to collapse them into LFUN_DIALOG_APPLY.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6289 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 19:28:38 +00:00
Angus Leeming
a5d37d9a44 Strip out the caching of the BufferView by PreviewedInset. Use the cache
of the parent inset instead.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6279 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 13:10:16 +00:00
Angus Leeming
a67816b728 Alfredo's patch to get rid of insets in the graphics code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6277 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 11:41:23 +00:00
Angus Leeming
7058c66b10 Factor LFUN_REF_APPLY code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6276 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 11:37:53 +00:00
Angus Leeming
e53e0e8758 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6273 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 21:25:41 +00:00
Angus Leeming
dc3d76a8a7 asRefInset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6265 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 18:21:48 +00:00
Angus Leeming
3bd1db4654 Enable the dialog to parse the string passed to it by RefInset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6258 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 15:38:45 +00:00
Angus Leeming
cda53633ff Hold on to your hats.
Qt users should autogen.sh
Gnome users --- you're on your own ;-)
Happy recompiling.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6253 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 14:51:38 +00:00
Dekel Tsur
79c6a1b810 Do not remove braces for {<expr>}^
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6157 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 16:20:44 +00:00
André Pönitz
29ccdc34aa Bo Peng's patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6139 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 17:05:49 +00:00
Angus Leeming
dd16b2eff7 (Michael Schmitt): the proper fix for the off-by-one cropping of graphics
images. Tested and verified to work beautifully.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5951 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-13 23:38:01 +00:00
Angus Leeming
5e45378782 (Michael Schmitt with Andr��'s blessing ;-) Make CTRL-Pos1/End behaviour a
little bit more intuitive.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5946 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-13 21:51:13 +00:00
André Pönitz
579857ebc5 Separate 'cursor inside' and 'cursor behind' cases for statusline display.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5909 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-07 11:24:43 +00:00
André Pönitz
19f0a9f142 Fix for 594
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5908 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-07 09:42:10 +00:00
John Levon
8f217402f9 don't assume symbol font is available, ok'd by Andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5866 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-18 22:15:59 +00:00
Dekel Tsur
40c5065b5c Fix reading of math macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5853 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-18 10:57:45 +00:00
Lars Gullik Bjønnes
13349032cb ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5758 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-01 22:59:25 +00:00
Lars Gullik Bjønnes
53274e31ec the string -> char patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5725 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 10:30:28 +00:00
Lars Gullik Bjønnes
b016d9d773 use boost::format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5694 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-21 18:33:09 +00:00
Dekel Tsur
0ea628140a Do not make the buffer dirty when moving the cursor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5583 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-05 09:55:55 +00:00
Lars Gullik Bjønnes
6a1167adab STRCONV
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5573 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-04 02:12:42 +00:00
Lars Gullik Bjønnes
dd9b8de435 small changes
prepare for the STRINGCONV patch


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5572 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-04 00:15:56 +00:00
Dekel Tsur
ac7c86da74 Maxima
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5535 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-28 17:15:19 +00:00
Dekel Tsur
bcd410f919 Change handling of LFUN_MATH_LIMITS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5529 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-28 10:47:24 +00:00
Dekel Tsur
05b8faa706 Few improvements.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5527 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-28 10:39:12 +00:00
André Pönitz
5bef65162c revert this mornings change and postpone it to 1.4. A can of worms...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5496 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-24 12:17:58 +00:00
André Pönitz
96e8676748 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5491 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-24 10:16:41 +00:00
Dekel Tsur
b04538960e Handle \not using a macro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5458 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-21 13:38:02 +00:00
Angus Leeming
8648388992 Revert yesterday's change. It's going to be too complicated to deal
with nasty surprises.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5438 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-18 09:43:15 +00:00
Angus Leeming
160b147186 Nicer previews.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5434 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-17 15:56:42 +00:00
Dekel Tsur
dde4440425 Better alignment of \longrightarrow like macros.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5432 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-17 13:15:25 +00:00
André Pönitz
ec92f4d6e8 remove code to fix crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5402 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-15 06:23:22 +00:00
Dekel Tsur
6bc60cc596 iffont
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5398 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-14 20:19:32 +00:00
André Pönitz
8bd80f2b4e support for AMS flalign environment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5388 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-14 12:56:21 +00:00
André Pönitz
d4202bc8f1 support pasting using button 3 in formulas
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5387 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-14 12:29:48 +00:00
Jean-Marc Lasgouttes
f789d1a4be more trivial tweaks to mathed bindings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5380 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-11 09:52:50 +00:00
Lars Gullik Bjønnes
33f06bb79b forgot these
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5337 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-24 18:22:50 +00:00
John Levon
f4466f72e8 compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5272 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-11 18:36:00 +00:00
Angus Leeming
c4be10e3ce Remove lyxerr call from FormInclude.
Fix the lyxserver with Try64 unix.
Remove mathed/preview.[Ch] as they're no longer used.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5268 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-11 16:48:07 +00:00
André Pönitz
0355e7d391 partial framebox support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5169 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 09:57:57 +00:00
Lars Gullik Bjønnes
a4d47c3448 compile fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5110 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 11:27:37 +00:00
Lars Gullik Bjønnes
4110687297 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4975 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 18:31:53 +00:00
Angus Leeming
c10dfd15cd * LyXView: the accessor methods now return a reference to the member
variables, not a pointer.
* WordLangTuple: you can forward-declare a return type you know ;-)
* Qt: get it to compile again, having broken it yesterday.
* Everything else? See above.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4957 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-13 14:40:38 +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
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
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
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
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