Martin Vermeer
e6c2e24dc8
Undo previous
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13619 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 11:04:20 +00:00
Martin Vermeer
df09c79544
Fix bug 2485 and crash on middle-mouse paste into math.
...
Also move reponse to middle mouse from Release to Press
* math_nestinset.C
(MathNestInset::lfunMousePress): Add and convert to editXY
(MathNestInset::lfunMouseRelease): Remove
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13617 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 10:47:59 +00:00
Martin Vermeer
e977a3e509
Fix bug 2485 and crash on middle mouse paste on math
...
* math_nestinset.C
(MathNestInset::lfunMousePress): handle middle mouse here, use
editXY, not setScreenPos
(MathNestInset::lfunMouseRelease): don't handle here
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13612 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 07:06:57 +00:00
Lars Gullik Bjønnes
8c93f63b48
* filetools.[Ch]: Make functions that start with a capital
...
letter start with a lower letter.
* All other .C and .h in the cs: adjust for above change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13603 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 22:31:11 +00:00
Martin Vermeer
9e6c3bd7c2
The nicefrac patch
...
* LaTeXFeatures.C
(simplefeatures[]: add nicefrac
* mathed/math_factory.C
(createMathInset): change frac semantics
* mathed/math_fracinset.[Ch]
(MathFracInset::metrics):
(MathFracInset::draw):
(MathFracInset::drawT):
(MathFracInset::write):
(MathFracInset::mathmlize): add nicefrac stuff
* mathed/math_dfracinset.C:
* mathed/math_tfracinset.C: adapt semantics
* frontends/qt2/ui/QMathDialogBase.ui
* frontends/qt2/QMathDialog.[Ch]
(QMathDialog::symbol_clicked): provide GUI
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13566 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 09:46:01 +00:00
Lars Gullik Bjønnes
3b9338a3a8
Whitespace cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13565 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 23:56:29 +00:00
Martin Vermeer
cc91bd643f
* math_gridinset.C (MathGridInset::doDispatch): reset cur.pos() when
...
deleting current col or row
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13450 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-22 08:46:54 +00:00
Martin Vermeer
206e3745a2
Further revision of the raise/lower selection to super/subscript
...
patch, avoiding class data member for nestinset
* cursor.h: remove paste() (was forgotten)
* mathed/math_nestinset.C
(MathNestInset::doDispatch):
(MathNestInset::lfunMouseRelease):
(MathNestInset::interpret): incorporate saved selection into
script() call parameters
(MathNestInset::script): saved selection is extra parameter
* mathed/math_nestinset.h: extra parameter; remove safe_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13431 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 14:42:04 +00:00
Martin Vermeer
0a57bcafeb
* math_nestinset.C
...
(MathNestInset::doDispatch): fix bug 2345: C-M on text in math gives
an empty mbox
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13425 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 08:42:43 +00:00
Martin Vermeer
2c30e9b17a
Get raising/lowering into super/subscripts of selection working (1.3
...
regression)
* cursor.C: get rid of paste()
* mathed/math_nestinset.C
(MathNestInset::doDispatch):
(MathNestInset::lfunMouseRelease): define safe_ (selection) in
several places
(MathNestInset::script): use data member safe_ to insert selection
* mathed/math_nestinset.h: data member safe_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13424 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 06:53:29 +00:00
Martin Vermeer
3d0c878966
Changes to the within-inset row rendering caching code.
...
* insets/insetenv.h:
* insets/insetcollapsable.h: remove method
* insets/insettabular.h:
* insets/insetbase.h: rename, add methods
* insets/insettext.[Ch]: rename method; add Tall()
* paragraph_pimpl.C
(Paragraph::Pimpl::simpleTeXSpecialC): rename call
* mathed/math_hullinset.h: rename method
* rowpainter.C
(RowPainter::paintInset):
(paintPar): remove isTrueTextInset, move to insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13415 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-17 19:45:28 +00:00
Georg Baum
fad5cd6700
fix bug 2234
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13399 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:05:47 +00:00
Martin Vermeer
b751c74fe1
Fix to bug 2325: Mouse click to right of last nestinset in a cell will
...
position cursor to its left
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13370 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-14 14:47:24 +00:00
Martin Vermeer
2ebd47ea30
Fix to bug 2362: Deleting superscript also deletes subscript.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13342 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-11 16:34:52 +00:00
Martin Vermeer
786c079b89
fix (properly) insertion of fonts/decorations around selection
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13280 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-28 19:16:38 +00:00
Jean-Marc Lasgouttes
498a451a76
bug 1918: Positioning cursor in mathinset with the mouse does not work correctly (and can crash)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13275 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-24 14:41:48 +00:00
Georg Baum
2535ea14bd
readd xymatrix inset (bug 2238)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13265 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-22 12:26:06 +00:00
Jean-Marc Lasgouttes
7bb1fa55ac
bug 2060: Clicking on a macro in a math inset crashes LyX
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13235 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-14 10:41:34 +00:00
Lars Gullik Bjønnes
4a7ab830bc
Delete all .cvsignore files from trunk
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-10 22:09:45 +00:00
Lars Gullik Bjønnes
a30c5b2502
get rid of a compiler warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10793 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 22:15:47 +00:00
Jean-Marc Lasgouttes
0b281dcea7
fix bug 1934
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10781 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-27 22:24:37 +00:00
Jean-Marc Lasgouttes
f687620a13
fix reading of math macros when they occur before any formula
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10770 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-24 11:04:30 +00:00
Jean-Marc Lasgouttes
1b411d8e9c
fix bug 2034
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10726 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-11 17:08:50 +00:00
Martin Vermeer
492f394571
Fix default label setting (eq:)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10719 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-10 12:49:34 +00:00
Lars Gullik Bjønnes
cfcb59904b
fix some syntax errors
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10695 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-01 20:28:05 +00:00
Jürgen Spitzmüller
ee8b2830f1
Move initMath() from startup to math_hullinset. LyX should now start significantly faster for people with lots of fonts.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10661 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-15 16:59:59 +00:00
Jürgen Spitzmüller
6a36d26356
fix bug 2139 (creation of two consecutives, but different script insets)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10641 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-02 06:34:19 +00:00
Jean-Marc Lasgouttes
3246cc9a4a
bug 2109: trigger dEPM when moving cursor with mouse
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10637 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-01 10:28:50 +00:00
Martin Vermeer
1b8589e214
Fix bug 2117: matrix inside delimiters or sub/superscript
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10624 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-28 10:23:19 +00:00
Jürgen Spitzmüller
d9e6e32961
fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10622 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-25 14:40:34 +00:00
Georg Baum
2fdc606248
fix bug 2126 (references in math)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10616 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-22 13:52:25 +00:00
Georg Baum
5be7e73fde
don't dereference invalid iterators
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10596 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-08 15:12:05 +00:00
Angus Leeming
d9f29afe1c
Trivial fixes to some warnings thrown up by MSVS.Net 2003.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10585 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-02 20:11:36 +00:00
Martin Vermeer
b82859b382
Fix bug 2074: kern width wrong
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10583 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-02 12:57:47 +00:00
Georg Baum
4341a88656
fix bug 2067
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10553 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-14 10:50:23 +00:00
Georg Baum
d7055d0a8e
implement missing bits of math cut and paste and fix bug 2059
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10548 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-12 18:44:53 +00:00
Georg Baum
a2b40d9038
fix invalid cursor after math undo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10547 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-12 18:40:22 +00:00
Georg Baum
7c67a37f53
fix bug 2060
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10525 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-05 21:19:32 +00:00
Jean-Marc Lasgouttes
609e7ae488
fix bug 2057: Delete key acting unexpectedly in MathEd
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10515 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-03 12:22:19 +00:00
Georg Baum
aebef8f685
fix bug 2050
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10514 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-03 12:16:34 +00:00
Jürgen Spitzmüller
66d2b93f7c
fix bug 2058 (crash when undoing math matrix delete)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10510 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-03 09:50:28 +00:00
Jürgen Spitzmüller
cc4af55608
leave inset to the right when hitting ESC (bug 2034)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10488 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-27 08:42:28 +00:00
Jürgen Spitzmüller
97ca98f0b7
make LFUN_CUT in mathed undoable (bug 2041)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10485 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-26 11:14:59 +00:00
Jürgen Spitzmüller
65224675ce
add nested math insets to the coord cache (fixes the major part of bug 1918).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10484 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-26 10:34:24 +00:00
Jean-Marc Lasgouttes
81efcd9cf6
fix compiler warnings (bug 1927)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10465 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-20 08:31:37 +00:00
Jürgen Spitzmüller
dea6e50734
fix bug 1960 and bug 1981 properly, using cur.normalize()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10457 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-19 09:57:04 +00:00
Martin Vermeer
16e093636f
Fix bug 1981
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10399 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-19 12:57:47 +00:00
Georg Baum
8a81176114
fix bug 1942
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10357 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-26 14:28:45 +00:00
André Pönitz
f70191cc10
some (yet unfinished) up/down work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10333 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 17:12:28 +00:00
André Pönitz
af5acb6dc7
~4% speedup by inlining a few one-line accessors
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10320 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 11:00:15 +00:00