Commit Graph

1496 Commits

Author SHA1 Message Date
André Pönitz
5d8eaff14f Fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6156 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 16:02:24 +00:00
André Pönitz
c9e78a825b make naming a bit saner...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6150 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 14:30:09 +00:00
André Pönitz
4bc0b6a930 bugfix: uninitialized variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6146 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 08:25:10 +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
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
André Pönitz
f4e4fa7eb8 rename type_info to avoid strange name clashes on Apple's gcc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6136 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 08:12:51 +00:00
André Pönitz
0c7e6149ad small up/down tweaking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6084 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-10 15:45:56 +00:00
André Pönitz
74078920a3 fix #860
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6034 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-05 11:44:14 +00:00
André Pönitz
5448faaefb disable "nice ascii art" for performance reasons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6001 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-29 08:31:00 +00:00
André Pönitz
2fb92b0cef fix mathtt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5976 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-21 12:13:29 +00:00
André Pönitz
29b5e43026 smaller steps for undo when deleting stuff in mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5966 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-16 11:34:10 +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
6caa1b7bc5 only scream when asked...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5924 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-08 17:38:47 +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
André Pönitz
2c293c4c69 a single space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5820 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-16 13:40:02 +00:00
André Pönitz
a0fcfe56f6 handle LFUN_(UP|DOWN)_PARAGRAPH
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5806 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-12 09:42:35 +00:00
André Pönitz
f6242f0e5c Give symbols a "neutral" color, so there are black in text and blue in math.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5803 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-11 06:45:19 +00:00
André Pönitz
7b97216ab7 re-enable drawing of mathbb
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5798 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-09 13:04:15 +00:00
André Pönitz
df86edfddc support for \dots, Part II
fix drawing of \odots


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5796 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-09 09:52:43 +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
André Pönitz
c9e33c37e6 fix problem with uninitialized value as reported by Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5711 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-25 10:18:06 +00:00
André Pönitz
f454da736f Fix \vdots problem reported by Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5710 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-25 10:15:13 +00:00
Lars Gullik Bjønnes
00efea7970 handle USE_BOOST_FORMAT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5703 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-24 15:20:31 +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
André Pönitz
ac103f15a7 another safety belt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5632 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-14 07:48:34 +00:00
André Pönitz
c4075449be an additional check in a fragile area...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5617 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-12 13:47:51 +00:00
André Pönitz
da95321339 fix bug when reading \hline (did not work at all anymore...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5603 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-08 08:44:52 +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
2a06cda429 Fix cursor positioning problem in scriptinsets with "complex" base...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5588 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-06 11:09:19 +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
André Pönitz
d541810566 size_type size -> difference_type diff in adjust()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5575 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-04 11:53:28 +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
André Pönitz
f2bf994f8f Fix "right click removes selection" problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5553 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-30 08:33:57 +00:00
André Pönitz
f6c45e1a8a fix off by one error introduced by the fontinset splittin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5540 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-29 14:13:02 +00:00
André Pönitz
3f190c2a2a suppress writeing of \label if \nonumber is given
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5539 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-29 13:22:43 +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
Dekel Tsur
f522618723 Postprocess the output of Maxima.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5537 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-28 21:24:06 +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
André Pönitz
d70669586b white space
remove superfluous newline in .tex output


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5532 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-28 13:10:12 +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
97200564d9 first copy, then delete
first copy, then delete
first copy, then delete
not the other way round...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5524 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-28 09:21:40 +00:00
André Pönitz
3b0188912a math LFUN_BOLD produce mathbf instead of textbf
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5510 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-25 06:44:40 +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
74b3a1ce59 fix a several weeks old "fix" to prevent too many \n in latex output
(which are a problem if two of them come in a row...)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5492 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-24 10:56:32 +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
André Pönitz
3281e30631 Let UnknownInset inherit from NestInset instead of DimInset to enable it to
store the selection while the macro name is typed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5490 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-24 10:15:34 +00:00
André Pönitz
6e6d6248c2 Fix bug discovered by Darren
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5486 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-24 06:45:29 +00:00
André Pönitz
13434556ce small stuff, fix for one of the bugs John mentioned
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5475 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-22 17:31:32 +00:00
André Pönitz
e2778d8628 \n -> \\
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5474 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-22 15:15:40 +00:00
André Pönitz
6f0a60f86c using std::max;
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5470 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-22 13:59:49 +00:00
André Pönitz
3e38964ade change selection format from 'MathGridInset' to 'string'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5469 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-22 13:56:40 +00:00
André Pönitz
4768f36a2f code shuffle, part 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5466 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-22 11:13:40 +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
425f61be35 /Save/ emacs buffer to get rid of print statements...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5435 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-17 16:01:43 +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
8f6a9ee292 fix writing of some spaces.
Sorry for not discussing this on the list, this has the potential of
corrupting files...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5425 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-16 15:32:34 +00:00
André Pönitz
c2771dd61f Fix for the 'spurious selection with RMB' and improved 'cursor up/down'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5416 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-15 16:17:40 +00:00
André Pönitz
c7b1bd5a00 fix #658
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5405 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-15 08:41:35 +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
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
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
André Pönitz
816344ab1d Fix the "can't move out of nested text insets using pageup/down"
and a few cases of the "can't scroll over large notes" annoyances.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5381 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-11 10:45:28 +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
André Pönitz
eb5ffba9aa somewhat better handling of LFUN_ENDBUFFER etc (#571)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5375 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-09 16:08:57 +00:00
André Pönitz
98df633ced the fontsize changing in arrays
[And 40 out of 44 occurences had the dummy variable. This fixes the other
two in math_binominset.C, too]


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5355 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-02 06:38:49 +00:00
André Pönitz
6aae5c2304 hopefully complete fix for reading "unusal" labels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5350 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-30 06:48:53 +00:00
André Pönitz
024d13cfcf fix target cursor cell for LFUN_BREAKLINE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5346 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-26 07:40:16 +00:00
André Pönitz
d530f4a774 trivial fix for #630
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5344 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-25 12:49:55 +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
Lars Gullik Bjønnes
20a85bb24f loose SIGC_INCLUDES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5336 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-24 18:20:26 +00:00
André Pönitz
de3cf8c89c Martin's space patch.
Add a std:: to getline.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5324 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-20 12:36:36 +00:00
André Pönitz
90cd47ba99 don't stop validation after the first font change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5321 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-19 13:39:43 +00:00
André Pönitz
d6c90178f3 revert to 1.1.6 behaviour for \macroname{
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5318 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-19 06:52:13 +00:00
André Pönitz
480b7431ff swap \{ and { during input
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5298 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-13 06:40:19 +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
4e672b30f3 lfun word-select
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5265 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-11 14:48:19 +00:00
André Pönitz
a37064c0ac add #pragme interface/implementation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5263 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-11 09:14:57 +00:00
André Pönitz
bf2e2d58f3 Running Angus' rmcopyright.sh and hand-correcting a few cases.
Still a lot to be done in this area...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5262 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-11 08:26:02 +00:00
André Pönitz
45083e7d73 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5252 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-10 15:53:33 +00:00
André Pönitz
5ba91fecc4 small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5182 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-30 08:36:35 +00:00
André Pönitz
d50d8be29e add that stupid string(os.c_str()) hack...
Do we really need --with-included-strings anymore?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5174 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 13:56:32 +00:00
André Pönitz
93f48bad12 Fix #593
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5170 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 10:48:52 +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
André Pönitz
b8b975cd52 fix xxalignat bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5155 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 06:49:27 +00:00
André Pönitz
b6453203d2 fix #593
[There are times when I simply forget thing, Herbert...]


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5143 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 17:59:32 +00:00
André Pönitz
c3427999a2 I _really_ hate LaTeX's syntax quirks. Why is
\begin{eqnarray}\end{eqnarray} not valid?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5141 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 16:40:03 +00:00
André Pönitz
3c7c7a3209 the workarea changes plus small math stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5128 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 08:30:27 +00:00
André Pönitz
ea8e13cd2f the factory stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5115 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 10:14:56 +00:00
André Pönitz
17b41b1655 move cut&paste lfun handling from BufferView to LyXText
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5112 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 13:25:49 +00:00
André Pönitz
c85b8791ae remove unused code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5111 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 12:11:48 +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
André Pönitz
b9d9f6c408 ifix warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5105 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 06:17:54 +00:00
André Pönitz
d756329293 clean up my tree a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5081 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-23 11:24:55 +00:00
André Pönitz
3de311b802 looks better now...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5076 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-22 15:29:52 +00:00
André Pönitz
6ac158896b try to correct x position where curosr drops of inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5075 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-22 15:27:51 +00:00
André Pönitz
42d9dbd0e5 more cursor up/down smoothing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5074 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-22 15:04:27 +00:00
André Pönitz
9e9450cd9a make enering a formula from above/below a bit smoother
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5073 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-22 13:17:29 +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
4df4a61701 temporary reversal of the 'don't write spaces' stuff as this was buggy...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5070 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-22 11:57:58 +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
9ed34a5419 \backslash vs \textbackslash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5067 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-22 07:49:53 +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
df03e5fc10 the 'tabular unifiaction patch' (even with the removal of duplicated menu
entries)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5057 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-21 13:47:52 +00:00
André Pönitz
c69f29dda7 move half of BufferView_pimpl::dispatch() to LyXText::dispatch()
which has its new home in text3.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5030 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 13:00:25 +00:00
André Pönitz
bf165c04de - re-enable editing of macro name during input
- fix drawing glitch (font sizes in macro definitions)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5024 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-19 14:39:35 +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
1538facded multicolumn improvemnt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5004 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-15 18:04:01 +00:00
André Pönitz
7feb18698e re-use code...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5002 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-15 17:41:24 +00:00
André Pönitz
0b86a117fb streamlining interaction mathed <-> rest of the world
remove unneeded lfun
general cleanup


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4996 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-15 14:33:14 +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
1181da4a5d Herbert's space.diff patch for neg*space support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4984 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-15 07:13:21 +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
André Pönitz
f84e3d1296 more lfun shuffling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4972 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 16:43:16 +00:00
André Pönitz
69a1e730ae more lfun localization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4971 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 16:11:55 +00:00
André Pönitz
7cc71fc1e4 small bugfixes, new inset for comments and the main part is moving lfun
stuff from the FormulaBase and the cursor to those math insets that can
handle the request...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4970 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 15:13:07 +00:00
André Pönitz
c2dbd0e5d4 somebody should have told me that '!' has a meaning...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4966 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 10:44:48 +00:00
André Pönitz
3b8a93570e Herbert's compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4959 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-13 18:21:44 +00:00
André Pönitz
808973619b the lfun3 patches (overall cleanup and "localizing" dispatch() in mathed)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4958 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-13 17:43:40 +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
André Pönitz
a9e93befaa new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4941 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 09:53:04 +00:00
André Pönitz
49c09933c9 Herbert's Bmatrix patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4938 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 07:05:02 +00:00
Lars Gullik Bjønnes
116dbc66eb a new paragraph function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4930 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-10 15:21:07 +00:00
Angus Leeming
3ec39a3cda Compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4921 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 11:17:35 +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
9470c8daad fig bug introduced this morning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4917 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 08:47:31 +00:00
André Pönitz
6c069a3ada Does this fix the "random cursor jumping"?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4916 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 08:24:34 +00:00
André Pönitz
73cd1891e8 up/down tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4915 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 08:14:18 +00:00
André Pönitz
b54bf51387 more const correctness
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4914 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 07:01:17 +00:00
André Pönitz
15d40ab329 code that's not there cannot be wrong...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4908 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-08 17:19:26 +00:00
André Pönitz
c567e8312a replace a few more naked MathInset * by MathAtom &
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4907 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-08 17:11:30 +00:00
André Pönitz
96b8c4a00e remove the passsing of naked pointers in a few cases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4906 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-08 16:44:06 +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
d7f59018d5 fix reading of labels with underscore and probably break a few other things
in exchange


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4903 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-08 14:22:44 +00:00
André Pönitz
e279f7bbb8 Herbert's multline patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4900 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-08 12:45:38 +00:00
John Levon
ba29fec6bf some small cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4895 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 23:43:38 +00:00
André Pönitz
66e5a9eea1 fix frac drawing in displaystyle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4888 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 08:36:31 +00:00
André Pönitz
b8198905dc the FuncRequest changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4887 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 08:11:41 +00:00
André Pönitz
6c12adeebe Finish the re-indroduction of the show_banner flag. It is 'true' by
default now and not changable from the UI, but a \show_banner "false" in
the .lyx/preferences gets honored.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4877 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 13:00:50 +00:00
André Pönitz
d1813576e4 read ~
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4874 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 09:15:46 +00:00
André Pönitz
7403d50232 fix typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4867 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 16:54:17 +00:00
André Pönitz
06065364e5 several fixes concerning font size in scripts/fractions/etc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4865 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 16:21:19 +00:00
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
André Pönitz
a61a4ace28 fix parser bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4614 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 06:47:05 +00:00
John Levon
c17851a1d5 Move fontloader into lyx_gui stuff. Now Qt should compile out of the box
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4612 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 03:05:13 +00:00
André Pönitz
b80b2189f7 remove inset for \not
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4607 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 15:37:03 +00:00
André Pönitz
e3d52bd203 ascii export tweaking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4604 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 15:04:43 +00:00
André Pönitz
86323de88f remove unneede functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4602 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 14:28:11 +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
bd6885433a remove hard-wired association LaTeX macro <-> mathed inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4599 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 09:34:58 +00:00
André Pönitz
4f7d532832 more robust lable parsing, convenience contructor for braceinset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4597 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 07:56:14 +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
55aa66a6e0 fix for #496
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4593 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 15:23:36 +00:00
André Pönitz
1db2de6e8c there was something wrong with stackrel nevertheless..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4587 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 10:51:43 +00:00
André Pönitz
a03efe6936 cosmeics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4586 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 10:46:37 +00:00
André Pönitz
89a24844c3 small compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4581 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 09:09:48 +00:00
Angus Leeming
a0003fb2a8 New lyxrc variables for the preview stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4580 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 09:09:37 +00:00
André Pönitz
251a7ae90a more cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4578 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 07:15:36 +00:00
André Pönitz
fa77b206ab cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4577 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 06:52:05 +00:00
André Pönitz
63f7e8ce2e baseline correction for wasy symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4576 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 06:12:00 +00:00
André Pönitz
0a034e45b8 fix #505
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4575 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 06:03:40 +00:00
Angus Leeming
9617cc8a36 Compilation fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4569 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 14:00:59 +00:00
André Pönitz
2c3ae20fc2 support for wasy symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4566 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 13:38:27 +00:00
Angus Leeming
fb443a893e Trivial compile fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4564 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 10:06:27 +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
736d068866 forgotten files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4560 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 08:44:30 +00:00
André Pönitz
30b0c731b4 some code shuffling. New 'Dimension' class instead of passing around three
seperate ints


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4559 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 08:24:33 +00:00
André Pönitz
04330047dd fix compilation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4557 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 16:55:42 +00:00
André Pönitz
d2ef0fed95 fix the last fix...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4555 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 16:27:14 +00:00
André Pönitz
ec27454801 use a single function dimension() instead of three.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 16:20:53 +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
André Pönitz
f68213134c move code from nestinset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4551 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 13:35:26 +00:00
André Pönitz
2f74107771 small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4550 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 13:34:04 +00:00
André Pönitz
b87536ec46 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4549 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 13:03:37 +00:00
André Pönitz
4dd411c611 preliminary work for \parbox support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4543 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 11:29:51 +00:00
André Pönitz
f3059f5772 math internal re-organization to prepare de-centralized dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4542 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 06:39:40 +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
ad68c67160 support for AMS's \text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4536 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-05 16:13:36 +00:00
Lars Gullik Bjønnes
de236c41d8 Changes to make RH-7.3 be able to run lyx.
Also changes to make gcc 3.1 compiled lyx exit cleanly after
above changes.

Move operator== out out InsetCommandParams.

Change some signals in GraphicsImage to function instead.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4535 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 17:45:35 +00:00
André Pönitz
46880e2b9b fix compilation error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4534 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 14:48:56 +00:00
André Pönitz
28076fac18 remove ../
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4533 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 14:32:34 +00:00
André Pönitz
4e021cd0a6 insetcommads -> insetcommandparams
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4532 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 14:22:14 +00:00
André Pönitz
cbafd3fc82 binom is binom is binom and choose is choose is choose ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4528 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 11:00:51 +00:00
André Pönitz
a78c4b15ff killing MathType simplifies a few things...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4520 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-03 10:36:44 +00:00
André Pönitz
cd19a0b33b Geof Piroux's patch for Mathematica support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4506 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-01 11:17:14 +00:00
André Pönitz
38be841d7c small parser bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4503 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-28 12:33:21 +00:00
Angus Leeming
888532c465 Asymptotic approach to a well-designed graphics loader.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4502 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-28 11:22:56 +00:00
André Pönitz
c3a3e12319 remove "remove seemingly unneeded {} hack"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4501 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-28 09:40:40 +00:00
André Pönitz
79ca6fbe6d fix compilation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4500 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-28 05:49:35 +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
2c1591e410 shorten filenames a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4497 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-27 13:01:31 +00:00
André Pönitz
f660211af3 Fix stupid parser bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4496 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-27 11:31:32 +00:00
André Pönitz
9724b8dd78 use external script now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4495 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-27 10:46:19 +00:00
André Pönitz
4bc59f2101 preview as preview can...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4491 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 19:04:45 +00:00
Angus Leeming
1bb197b5d4 Create a grfx::Loader class and so move large chunks of code out of
frontends/screen.C and insets/insetgraphics.C. Leave mathed/preview.C
untouched as an excercise for Andr� ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4489 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 14:15:08 +00:00
André Pönitz
61d960843d preview cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4485 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 09:15:23 +00:00
André Pönitz
9c1a896972 There is now a \preview lyxrc variable defaulting to 'false'.
Would be nice if someone would make this available in the preferences
dialog.

And this incorporates Herberts' patch to use pdfLaTeX which means
we are approaching TeXMacs ballpark of sluggishness...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4484 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 08:59:25 +00:00
André Pönitz
a153642391 first shot at preview is working
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4483 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 18:57:41 +00:00
André Pönitz
6aa8d56bdd first shot at preview. It crashes. Don't know why. To see it work a bit, change
formula.C:191, to see it crash remove the comment further down.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4482 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 18:21:17 +00:00
André Pönitz
254272868f fix the <...> delimiters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4479 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 14:29:24 +00:00
André Pönitz
a928cdd8a2 small bugfix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4478 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 14:06:52 +00:00
André Pönitz
ac6f91abb7 add some debug msg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4477 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 14:01:29 +00:00
André Pönitz
d0ae544d61 make 'det' partially work for math-extern
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4475 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 13:49:29 +00:00
André Pönitz
c649284611 several smallish changes/bugfixes/left overs from Porto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4474 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 13:19:50 +00:00
André Pönitz
a3660106fe replace ostream by support/LOstream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4473 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 03:56:30 +00:00
Lars Gullik Bjønnes
65d4b13616 layout as layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4471 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 20:28:12 +00:00
André Pönitz
23f483a23e fix #456
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4470 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 18:10:01 +00:00
André Pönitz
4d59d00ad4 First shot at inset-unification mathed & rest of the world
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4467 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 15:51:35 +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
John Levon
1cadf458e3 redraw() cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4450 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-21 02:22:13 +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
José Matox
8953a40f95 keep x coordinate target when moving up/down
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4395 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-13 18:07:40 +00:00
John Levon
ab5f0efdcb Some minor cleanup + use of scoped_ptr instead of raw pointer,
to reduce diff size


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4374 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 02:54:19 +00:00
André Pönitz
b27f7bdaf9 remove bogus parser warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4337 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-05 07:54:26 +00:00
André Pönitz
e2e9f03515 some spaces have not been skipped in the parser...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4336 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-05 07:32:59 +00:00
André Pönitz
12130ed9b1 small font stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4335 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-05 07:12:05 +00:00
André Pönitz
aa1b4aa789 further \mbox tweaking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4333 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-04 09:45:41 +00:00
André Pönitz
8d9f14a22b small advances with \mbox
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4331 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-04 09:06:04 +00:00
André Pönitz
656a4db7b3 Cheangelog entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4325 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-03 07:32:47 +00:00
André Pönitz
bc6e1a1338 the parser changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4324 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-03 07:31:08 +00:00
André Pönitz
6f74c2c9b9 re-enable ams "autodetection" (I still think it is wrong...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4309 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-31 04:51:49 +00:00
André Pönitz
e093e5e80c try to fix rounding errors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4299 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 14:56:13 +00:00
André Pönitz
d25de6434b remove some chatter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4297 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 10:20:27 +00:00
André Pönitz
278b7f8fa5 cerr -> lyxerr[Debug::Mathed]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4290 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 09:19:12 +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
Lars Gullik Bjønnes
1e39473100 Switch from SigC signals to boost::signals
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4281 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 16:21:03 +00:00
André Pönitz
6a0b1fe001 crude support for a few more AMS constructs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4280 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 15:58:26 +00:00
André Pönitz
c619f01003 add missing preview.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4259 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 08:51:32 +00:00
André Pönitz
1e0262d6ef add missing using's
start with 'preview' (not activated)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4245 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-28 11:13:01 +00:00
André Pönitz
66fb6d57da add using std::abs;
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4235 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-28 08:48:42 +00:00
John Levon
97ef9131ba static_cast-based key/mouse-state. Kill insetKeyPress.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4210 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-26 17:33:14 +00:00
John Levon
962a0c5585 font loader / color handler move
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4204 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 18:24:14 +00:00
John Levon
2dabaa33de font_metrics part 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4203 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 14:34:32 +00:00
Lars Gullik Bjønnes
75d1fb6874 include vector and add a using statement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4196 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 10:01:07 +00:00
André Pönitz
4dd8a4ed0a First shot at "auto correction" feature in mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4195 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 08:29:16 +00:00
John Levon
435d527581 guii2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4190 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 12:08:47 +00:00
John Levon
06f9f0ea08 OK I'll try guii1 again ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4186 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 09:21:32 +00:00
Lars Gullik Bjønnes
482c04ecca use more specific smart_ptr headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4183 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-22 01:16:37 +00:00
André Pönitz
6d1bc04227 missing ChangeLog entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4175 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-16 07:15:46 +00:00
Lars Gullik Bjønnes
f15d44ccf4 pastesel.patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4171 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-15 23:49:08 +00:00
Lars Gullik Bjønnes
09955f825a small changed fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4166 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-15 21:53:28 +00:00
André Pönitz
277569593d add missing ChangeLog entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4165 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-15 16:02:24 +00:00
Lars Gullik Bjønnes
23306a5536 autodelreg2.patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4156 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 09:15:40 +00:00
André Pönitz
13462e25c3 fix crash on paste as reported by Piroux Geoffroy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4153 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-13 12:42:03 +00:00
André Pönitz
89d85f7b60 Move the cursor a bit to the right in empty cells...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4139 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-08 16:17:57 +00:00
André Pönitz
4d6b99e865 return to 1.1.6 behaviour for ascii export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4110 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-02 07:30:49 +00:00
André Pönitz
66c63a89ef bug fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4071 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-26 06:13:30 +00:00
André Pönitz
092e3ca6ec suppress (semi-)spurious informative message...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4070 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-25 15:37:10 +00:00
André Pönitz
8d4a2a275b Fix crash crash of the day when reading back non-rectangular "matrices"
(aka "error messages") (try yourself: \sqrt{x} and "M-x math-extern octave")


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4065 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-25 05:58:55 +00:00
André Pönitz
fc1b314998 fix crash due to wrong export of AMS's pmatrix etc in math-extern
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4060 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 17:07:42 +00:00
Jürgen Vigna
b83dce0da3 Forgot about this the Panel should NEVER be opened in a Press event ONLY
in the Release event!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4054 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 13:52:04 +00:00
Jürgen Vigna
d90f89db7e Fix clicking on a mathed inset with button != 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4051 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 09:01:03 +00:00
Jean-Marc Lasgouttes
0c02b0e141 allow insertion of protected space in maths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4042 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-22 22:31:49 +00:00
Lars Gullik Bjønnes
abc4ed9a65 add qt2/xforms to guilib + simple ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4039 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-22 16:31:14 +00:00
André Pönitz
83c2be0da4 fix enering of \_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4027 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 15:29:27 +00:00
André Pönitz
763fbc6f1b don't display a message unless in debug mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4024 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 14:05:33 +00:00
André Pönitz
1bef00e7a3 fix warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4012 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-17 05:25:45 +00:00
Jean-Marc Lasgouttes
2611cce4f1 fix math-delim
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4006 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-16 09:57:37 +00:00
André Pönitz
02962ba61a fix math cursor position after switching buffers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3997 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-15 15:26:32 +00:00
André Pönitz
db61b4cd53 Hotfix to move cursor to the right when pressing M-m g x in text mode.
We desperately need context sensitive keybindings and more atomic LFUNs..


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3992 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-15 08:50:20 +00:00
André Pönitz
5bd5028690 fix redraw problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3991 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 16:29:59 +00:00
André Pönitz
c23e945804 fix typo in error message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3988 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 15:14:13 +00:00
André Pönitz
acf7dbb946 remove debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3987 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 15:12:10 +00:00
André Pönitz
4025b11bc4 fix crashs discovered by Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3984 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 13:30:14 +00:00
André Pönitz
68bc4b573a don't show the empty-base-dot in a few cases...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3965 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 08:51:08 +00:00
André Pönitz
33024d85e3 Nobody noticed that right click on math insets did not pop up the panel
anymore?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3959 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-09 14:45:52 +00:00
André Pönitz
cbfd5fd8df fix crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3943 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-08 09:37:27 +00:00
André Pönitz
f4016cb52e small stuff from Martin's list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3941 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-08 08:12:09 +00:00
André Pönitz
c3c133bd2e fix lookup problem for \vert.
Funny what kind of problems turn up if one actually _uses_ LyX.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3905 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 14:48:39 +00:00
Angus Leeming
c70e6fea61 Remove last traces of the hack used until yesterday for the cursor
positioning with the mouse.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3902 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 11:59:32 +00:00
André Pönitz
c724537223 shrink math insets by 2 pixels. this is closer to the output...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3900 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 10:25:17 +00:00
André Pönitz
12f082c3ba fix bug that disabled entering 'special char macros' like \, and \:
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3898 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 10:11:13 +00:00
André Pönitz
fb94708472 fix mouse clicks for macro insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3891 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 13:53:46 +00:00
André Pönitz
1e9b462b6e remove no more needed hack for positioning the cursor with the mouse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3890 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 13:40:22 +00:00
André Pönitz
539d0d1664 get recently broken \mathcircumflex working again (hackish, proper fix in 1.3)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3889 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 10:45:32 +00:00
André Pönitz
dd84576506 remove unneeded #include's
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3887 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 09:34:39 +00:00
André Pönitz
ed79aee921 don't assert() on missing macro arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3878 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-02 07:33:38 +00:00
Allan Rae
1bcc13c757 let this code work with lyxstring also
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3876 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-02 02:45:23 +00:00
André Pönitz
ccd47b1fec try to get same behaviour as in 1.1.6 when typing \macro{
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3856 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 18:42:02 +00:00
André Pönitz
1c77a120de consolidate interface for macro creation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3855 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 18:04:36 +00:00
André Pönitz
855181bd35 small parser tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3854 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 16:13:52 +00:00
André Pönitz
28fa90eda0 small interface cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3851 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 11:02:56 +00:00
André Pönitz
593247d98a bugfix for compound 'symbols' using \lyxkern
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3850 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 10:51:46 +00:00
André Pönitz
28168bd4df work around for bug reported by Mario Morandini
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3838 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 12:38:59 +00:00
André Pönitz
3d36ec3299 remove math_fontinset.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3825 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 13:24:28 +00:00
André Pönitz
a23e97b2f4 should not go in...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3824 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 13:09:04 +00:00
André Pönitz
4366ef931c - revive 1.1.6 eqnarray behaviour when pressing <Del> in the last position of a
cell.
- allow additional argument to math-macros for drawing purposes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3823 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 12:11:25 +00:00
Lars Gullik Bjønnes
c8089f8bf9 makefile cleanup, and avoid some warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3821 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 11:15:27 +00:00
André Pönitz
cbc3add7f2 Wonder why Angus' compiler did not complain about this...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3815 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 15:50:50 +00:00
André Pönitz
137aaf9cb2 fix two items from Konni's list of cursor up/down "issues"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3810 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 09:31:26 +00:00
Lars Gullik Bjønnes
2b8ef58dc0 ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3804 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:42:56 +00:00
Lars Gullik Bjønnes
7514c31edf drop the ld -r stuff, we gained nothing with it, other build optimizations gave us what we wanted; some ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3798 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 16:49:07 +00:00
André Pönitz
a38728ff38 enable entering \mathbf#1 directly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3797 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 16:13:17 +00:00
André Pönitz
74e3712580 fix Herbert's up/down problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3795 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 09:48:46 +00:00
André Pönitz
277e305082 Make Angus' compiler happy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3794 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 06:57:13 +00:00
Lars Gullik Bjønnes
35e1157317 Fix for bug: #260 special rules if partially linking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3792 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 19:06:32 +00:00
Angus Leeming
5a030c8153 Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3788 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 12:14:41 +00:00
André Pönitz
b719bc24b4 fix compilation problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3786 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 10:22:23 +00:00
André Pönitz
546021819b fix compilation with g++ 3.0.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3785 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 07:54:14 +00:00
André Pönitz
724cbeaa42 using std::endl; and forbidden small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3784 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 07:30:32 +00:00
André Pönitz
a575055c84 suppress debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3781 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 17:30:41 +00:00
André Pönitz
858355fb69 - reduce sizeof(MathCharInset) by 20 by better font caching
(lots of subsequent changes)
- ascii art drawing for \frac and \sqrt


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3780 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 16:55:58 +00:00
Angus Leeming
741f527784 Some trivial fixes of warning messages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3768 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 16:32:52 +00:00
André Pönitz
4f64ce3c22 too many '\n' lead to too many empty lines...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3762 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 13:05:52 +00:00
André Pönitz
99cb25781a fix for the first item on Martin's list
some infrastructure for drawing as ascii art


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3761 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 11:45:53 +00:00
Lars Gullik Bjønnes
69013332e2 unification of all Makefiles.am
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3748 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 18:24:44 +00:00
André Pönitz
8794b7da67 disable some of the speedup thingies until I found aproper solution for the
macro redraeing problem


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3746 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 17:31:18 +00:00
André Pönitz
9b3a4dc5fd remove unneeded LFUN_MATH_MACROARG
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3745 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 13:36:36 +00:00
André Pönitz
eea39a8e42 don't draw spaces...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3739 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 11:22:01 +00:00
André Pönitz
e9875b7610 only accept #n in macros with at least n arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3738 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 11:20:35 +00:00
André Pönitz
c2072fa890 don't draw invisible things...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3737 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 11:17:21 +00:00
André Pönitz
82121d83da traversing math tables should be at least as fast as for ordinary table by
now...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3732 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 16:39:27 +00:00
André Pönitz
3c416fd6bf a changelog entry for a change...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3731 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 16:12:32 +00:00
André Pönitz
b5c6adc5fb more streamlining
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3730 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 16:11:51 +00:00
André Pönitz
d15da27db8 speed up math drawing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3729 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 14:59:08 +00:00
André Pönitz
e13a6abffb remove hack, gain speed...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3727 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 13:28:57 +00:00
André Pönitz
19e6fc3513 re-enable mathrm toggling with C-m (was disabled by accident)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3698 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 17:55:39 +00:00
André Pönitz
4a5353cbbf allow deletion of a row of empty cells in an eqnarray even if we are in the
last row (was some off-by-one error)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3697 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 17:48:28 +00:00
André Pönitz
eb39922612 Fix parser glitch as reported by J.L.M.Assirati
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3696 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 17:34:51 +00:00
Angus Leeming
e2dc77eb6f Tweaking of the math panel dialogs from Martin...
and yes, this counts as bug fixing IMO.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3695 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 17:24:55 +00:00
Lars Gullik Bjønnes
e6fe0de052 cleaner ld -r
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3580 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 22:57:44 +00:00
Angus Leeming
d0a3af12d9 Synching my tree with cvs.
I'm committing all the little, but uncontroversial, changes that have
built up in my tree. This will result in an almost total recompilation for
you all but will mean that things are less painfull when the other changes
go in!

* Rename files syscall.[Ch] as systemcall.[Ch].

* Rename class Systemcalls as class Systemcall as one instance of the class
  represents a single child process. Remove the default constructor too.

* Add a running() method to class Timeout. Results in recompilation of almost
  the entire tree because pretty well everything depends on LyXView.h which
  #includes "frontends/Timeout.h", so...

* Make the Timeout instances in classes LyXView and minibuffer pointers,
  allowing us to forward declare class Timeout.

* Add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to commandtags.h in anticipation
  of something wonderful!

* Add a signal showForks to Dialogs.h, again anticipating some real code.

* wrap the structs firster, seconder in frontends/controllers/helper_funcs.h
  in a namespace to prevent a clash with similarly named structs in
  support/lyxalgo.h

As you see, lots of irritating bits and pieces which don't make much sense in
themselves but do in light of the other changes I've got here.

I'll post the big changes to the list for proper perusal.

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3566 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 19:13:48 +00:00
André Pönitz
0be51952b9 don't insert space when given \rho<space> ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3563 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 15:14:02 +00:00
Lars Gullik Bjønnes
edf3fcf8f9 remove the syscall constructor, adjust other code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3555 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 18:34:30 +00:00
Lars Gullik Bjønnes
7ea7dabed1 to much stuff for my liking...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
Angus Leeming
59e18b17ae We don't currently use fork anywhere (or if we do it's by mistake!), so
this patch strips down syscall.[Ch] so it now contains only the system
call interface. This interface is very, very simple! At the same time
I've taken the opportunity to remove syscontr.[Ch] and syssingleton.C,
again because they aren't used.

The rest of the changes are due to the change of name in the
Systemcall::Starttype enum. System is now Wait, and SystemDontWait is DontWait

Paves the way for resurrecting a proper forked calls controller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3553 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 12:39:47 +00:00
André Pönitz
8d1c58af82 whichFont down to 5.3%
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3551 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 17:34:07 +00:00
André Pönitz
49da061b11 whichFont down to 9%...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3550 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 17:14:36 +00:00
André Pönitz
34d28f9daa don't copy if a reference is fine
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3549 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 17:08:45 +00:00
André Pönitz
56f1c43ecc don't ignore ',' after '\rho'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3548 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 16:06:22 +00:00
André Pönitz
57eee4cdd6 some support for \xleftarrow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3547 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 15:01:01 +00:00
André Pönitz
df36a96f80 support for 'gathered', 'aligned', 'matrix', \overleftrightarrow,
\underleftrightarrow


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3546 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 14:50:40 +00:00
André Pönitz
0ad5f550fe fix parser bug for \begin{align}...\end{align}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3545 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 14:18:44 +00:00
André Pönitz
d7f701b8d6 move around debugging stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3544 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 14:07:09 +00:00
André Pönitz
a5322b93c6 pure cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3543 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 18:21:28 +00:00
André Pönitz
5e6481b76e support for \substack
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3540 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 14:52:23 +00:00
André Pönitz
e6947f6187 full support for vmatrix and Vmatrix,
added missing parts for pmatrix and bmatrix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3539 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 14:19:52 +00:00