Commit Graph

191 Commits

Author SHA1 Message Date
Michael Schmitt
b124158c34 drop linuxdoc support (part 3)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14818 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-23 10:57:45 +00:00
Jean-Marc Lasgouttes
020a793ef9 Fix crash when cursor is in an empty script and the user clicks
in the text.

	* src/insets/insetbase.h (notifyCursorLeaves): return a bool
	indicating whether cursor is invalidated.

	* src/mathed/math_nestinset.C (notifyCursorLeaves): 
	* src/mathed/math_hullinset.C (notifyCursorLeaves): adapt to
	prototype change.

	* src/mathed/math_scriptinset.[Ch] (notifyCursorLeaves): return
	true when an inset has been deleted.

	* src/BufferView.C (mouseSetCursor): do not call dEPM when cursor
	is invalidated by notifyCursorLeaves.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14796 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-17 21:32:04 +00:00
Lars Gullik Bjønnes
c46b7d8955 Merge the unicode branch into trunk.
- src/support/unicode.[Ch]: new files with functions for converting
  to and fro ucs4, ucs2 and utf8.
- src/support/docstring.h: specialization of basic_string that
  holds a uint32_t internally.
- Several functions changed to use char_type instead of char or unsigned char.
- Qt3 and Qt4 sends ucs2 on to core
- Gtk sends ucs4 on to core
- Read and write utf-8 .lyx files.
- font_metrics and painter updated to handle ucs4 chars as input.
- Quite a bit of ugly compability code, conversion string->docstring, etc.
- Have fun...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14661 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 22:54:59 +00:00
André Pönitz
da65e2b7fb rename LFUN enum values according to their command (as used in th minibuffer/bind files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13801 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-05 20:23:12 +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
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
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
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
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
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
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
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
André Pönitz
3410c395b5 Andreas' patch to prevent crash on click on previewd inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10309 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 00:45:10 +00:00
André Pönitz
6d8d1f3d62 reenable TAB and S-TAB in math, fixing a regression against 1.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10307 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 00:09:20 +00:00
André Pönitz
3e1919e067 probably fixed bug 1561
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10298 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 23:03:01 +00:00
André Pönitz
7672118199 use the real label dialog in math as well
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10295 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 16:36:21 +00:00
André Pönitz
6b14cbd9c4 cosmetics, incidently fixing bug 1458
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10270 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 10:31:44 +00:00
André Pönitz
282f86fbb1 send UpdatableInset down the way of the Dodo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10228 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 22:10:25 +00:00
Jean-Marc Lasgouttes
eec58249c4 From Stephan: do not allow insert of label for inlined eq
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10210 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 15:19:07 +00:00
André Pönitz
97a158fd8e small cosmetic fix and removing some debug output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10198 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 08:51:34 +00:00
André Pönitz
1a9992c796 partial fix for bug 622, cosmetic rest remains open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10195 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 00:39:44 +00:00
André Pönitz
ec5265b97c Fix bug 1472
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10193 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 23:36:49 +00:00
Georg Baum
02ab1bf675 fix math color inset UI and parsing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10083 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-17 14:35:19 +00:00
Jean-Marc Lasgouttes
a95ef64241 fix warning when assertions are disabled
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10032 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-09 12:17:50 +00:00
Angus Leeming
fb70c52b05 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9877 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-26 11:12:20 +00:00
Martin Vermeer
2eab957971 Fix handling of aligment; rearrange tabular-features menu stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9872 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-25 14:10:10 +00:00
Martin Vermeer
1506064b51 Better conditioning of drawing vertical grid lines
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9744 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-24 16:26:15 +00:00
Martin Vermeer
75a281a7c6 Fix for horizontal/vertical lines allowed in plain equations bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9737 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-22 12:34:48 +00:00
Martin Vermeer
96cdf4a91a Georg Baum's and my math array partition lines related stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9626 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-14 14:25:18 +00:00
Georg Baum
9a45f8922c add status messages to math hull inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9312 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-26 13:56:22 +00:00
Lars Gullik Bjønnes
183239b7de rename priv_dispatch to doDispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9301 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-24 21:58:42 +00:00
Lars Gullik Bjønnes
59413be9a0 clone NVI, other small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9295 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-23 23:04:52 +00:00
Georg Baum
b3d8f7ccc6 fix crash in mathhullinset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9294 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-23 14:43:37 +00:00
Jean-Marc Lasgouttes
27e32b4aa0 fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9253 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-15 15:41:42 +00:00
José Matox
1ecc7b79cd Remove mixed_content from output parameters.
Escape ids to always produce legal output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9157 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-02 11:25:20 +00:00
José Matox
8e27aa2fb7 Sanitize ids for SGML/XML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9142 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-29 23:08:04 +00:00
Georg Baum
c514656ec2 Fix math-mutate (something invalid)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9094 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-17 20:06:35 +00:00
José Matox
9e5405e61c Ease the use of math with db2latex. (Andreas Vox)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9052 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 15:48:36 +00:00
Angus Leeming
e978fa42e3 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9044 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 10:11:42 +00:00
Jean-Marc Lasgouttes
439271626d avoid spaces around math formulas in plain text output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8992 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-21 09:58:23 +00:00
Lars Gullik Bjønnes
0ea0f3399a c_str fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8986 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-16 20:37:34 +00:00
Georg Baum
5aecf3bac5 implement missing formula mutations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8980 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-13 18:14:37 +00:00
André Pönitz
4473009fc3 remove warning message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8913 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 21:21:10 +00:00
André Pönitz
0ea9ce5341 fix bug #1562
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8908 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 19:19:24 +00:00
José Matox
b241721780 add awareness of the sgml/xml distinction for math output in docbook
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8896 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 11:00:34 +00:00
André Pönitz
9efc77e4db fix #928
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8889 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-12 21:29:21 +00:00
André Pönitz
dfbc58b596 Fix #624
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8888 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-12 20:52:43 +00:00
André Pönitz
b40892a2ee Fix #613
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8887 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-12 20:43:24 +00:00