Commit Graph

78 Commits

Author SHA1 Message Date
André Pönitz
fa494db882 simplified search in mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8325 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 18:28:50 +00:00
Lars Gullik Bjønnes
c1319d2c67 Change DispatchResult semantics a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8021 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 19:52:47 +00:00
Lars Gullik Bjønnes
cc719fe0ce more dispatchresult changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8013 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-01 15:45:19 +00:00
Lars Gullik Bjønnes
a7060da197 make dispatch_result_t ctor of DispatchResult explicit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8004 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 19:19:27 +00:00
Lars Gullik Bjønnes
b0eb70e869 dispatchresult -> DispatchResult
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7998 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 10:47:21 +00:00
André Pönitz
8265bed267 dispatch -> priv_dispatch where necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7962 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 10:53:41 +00:00
Lars Gullik Bjønnes
87ca6fbbeb the dispatch patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7931 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 18:01:15 +00:00
Angus Leeming
15dc5fa5d6 lyxfont.h no longer #includes LColor.h.
Change the LyXFont setXYZ member functions to return void, not LyXFont &.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7765 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 09:01:15 +00:00
André Pönitz
430ba66080 cursor cosmetics for \underset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7596 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 16:14:26 +00:00
Angus Leeming
1f9e9cf517 Standardise the header blurb in mathed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7574 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-19 13:00:56 +00:00
André Pönitz
38fce2feac Prepare mathed for unified two-stage drawing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7059 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-28 13:22:36 +00:00
André Pönitz
a8e8e755fc rename the members of Dimension
* dimension.[Ch]: a -> asc, d -> des, w -> wid


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7053 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-27 13:55:03 +00:00
André Pönitz
8bfa794d28 Ling Li's makebox support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6943 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-07 07:46:04 +00:00
André Pönitz
1829cdef6a promote MathMetricsInfo to MetricsInfo, change mathed accordingly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6555 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-21 14:20:48 +00:00
André Pönitz
a58158344d iu2: move localDispatch() to InsetBase
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6194 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-18 11:47:16 +00:00
Lars Gullik Bjønnes
99d1627a47 dont use pragma impementation and interface anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +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
André Pönitz
c22c2482f3 whitespace, unused code, unused convenience function for debugging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5589 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-06 11:13:56 +00:00
André Pönitz
f46dfd626e "Better" font handling. I've not found a cause for John's crash, but I'd
put in a safety belt which should produce error messages instead. So please
report any message saying "this schould not really happen".


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5538 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-29 08:23:32 +00:00
André Pönitz
3c3a628e81 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5401 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-15 06:21:59 +00:00
André Pönitz
107ecefbad move some stuff from BufferView_pimpl.C to text3.C and lose a few lines...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5072 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-22 13:02:14 +00:00
André Pönitz
528a1a42d4 try to suppress unneeded spaces when writing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5069 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-22 10:04:11 +00:00
André Pönitz
1d2ac0e558 correct typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5065 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-22 07:06:02 +00:00
André Pönitz
11ffa04773 use the new mouse LFUNs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5021 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-19 10:11:13 +00:00
André Pönitz
ee259f68d5 small bugfix for pasting into non-gridded inset (I broke that yesterday)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4988 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-15 10:02:53 +00:00
André Pönitz
01080c9eda more cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4919 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 10:22:35 +00:00
André Pönitz
73b1ac43f4 a bit more const correctness
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4905 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-08 16:08:11 +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
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
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
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
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
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
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