Commit Graph

57 Commits

Author SHA1 Message Date
André Pönitz
0daba49b1d don't #include too much stuff in .h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2984 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:06:56 +00:00
André Pönitz
40b2b89d4d - remove MathStyles cache from those insets that don't need it
- fix math font sizes in headings etc
- remove unused static member int MathInset::workwidth


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2909 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-22 15:37:49 +00:00
André Pönitz
5507c1ad69 use stream-like syntax for LaTeX output
(instead of inset.write(stream) functions)

prepare fix for proper font sizes in chapter heading etc...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2899 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 11:25:48 +00:00
André Pönitz
9295f8236e Use references instead of pointers where possible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2867 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 12:02:49 +00:00
André Pönitz
f5f9c46c35 Use dummy Buffer * parameters to make Jean-Marc's compiler happy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2793 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 13:38:52 +00:00
André Pönitz
207bc5e3f4 Angus' patch to comment out debug mode's coloured frames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2792 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 12:48:31 +00:00
José Matox
2470d9297d rename docBook method to docbook
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2681 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 11:02:09 +00:00
André Pönitz
8b7b3a5895 - fix nasty bug due to missing InsetFormula copy c'tor
- make all cache variables mutable, remove const_casts


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2426 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 17:20:26 +00:00
André Pönitz
18a610d4d6 cloase a leak; remove a few casts; cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2410 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 09:54:48 +00:00
Jean-Marc Lasgouttes
a36dbaf607 Andre's mathinset shrink patch ; default .lyx extension when loading files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2399 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 13:28:45 +00:00
André Pönitz
fda98080cc cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2353 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 06:56:43 +00:00
Jean-Marc Lasgouttes
55bf6460f3 fix insertion of raw double quote, reading of Info inset, initial width of collapsed insets, insertion of index; better support for insetAllowed, for french quotes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2300 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 09:11:14 +00:00
André Pönitz
747cd76667 Fix Angus' drawing bug + cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2234 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 11:32:22 +00:00
André Pönitz
4665fc9c30 remove unneeded #includes, cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2232 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 09:54:32 +00:00
Jürgen Vigna
7521b5d20f The BIG UNDO patch. Recodes undo handling for better use inside InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2195 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-06 15:57:54 +00:00
Lars Gullik Bjønnes
ec5d8718c5 mathed95.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2193 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-06 12:09:32 +00:00
Lars Gullik Bjønnes
85a5ea7bfc change a lot of methods to begin with small char
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2150 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-28 10:25:20 +00:00
Lars Gullik Bjønnes
d1182f17da LyX Drinkers Union: patch 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00
Lars Gullik Bjønnes
47b341b996 mathed65.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1954 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-25 15:43:57 +00:00
Lars Gullik Bjønnes
6b95441288 mathed64.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1950 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 16:13:38 +00:00
Lars Gullik Bjønnes
4203d759ad fix the matrix reading other small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1642 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-28 17:21:16 +00:00
Jürgen Vigna
e07f7bcc50 This moves all LyXText related LyXFuncs to BufferView::Dispatch so that they
can also be called from inside the InsetText::LocalDispatch. Some small update
and repaint fixes for InsetText.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1610 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-23 16:10:03 +00:00
Lars Gullik Bjønnes
84b7ffa347 more mathed cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1500 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-13 19:10:18 +00:00
Jürgen Vigna
71f8ac34a9 Inset patch from Angus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1095 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-10 11:50:43 +00:00
Jürgen Vigna
a3148db9a4 Moved the_locking_inset form BufferView to LyXText (where it belongs!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1075 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-03 13:55:48 +00:00
Jürgen Vigna
99d6f056e4 Added linelen to insets-ascii-function, some fixes and new support
functions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1042 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-26 15:25:14 +00:00
Lars Gullik Bjønnes
45a03f4f67 use the new sstream return non-pods as const, use string instead of char * in a lot of places
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1019 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-14 17:53:12 +00:00
Lars Gullik Bjønnes
0b1b6dfa4e more changes...read the Changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@891 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-17 18:27:53 +00:00
Lars Gullik Bjønnes
8ed9dbabde read the Changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@885 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-15 23:51:46 +00:00
Jürgen Vigna
666140b7f2 Few more update text-inset issues + some fixes, see ChangeLog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@859 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-05 14:57:48 +00:00
Jürgen Vigna
b744c6ed9f Lot's of updates for new update handling of text-insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@831 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-23 15:02:46 +00:00
Jürgen Vigna
87207b1939 Language patch from Dekel and fixed formula[macro] as I forgot yesterday.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@827 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-22 09:30:43 +00:00
Lars Gullik Bjønnes
6bba977f42 FILMagain changes (will need some work)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@807 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-12 11:27:15 +00:00
Lars Gullik Bjønnes
245007468d patch from dekel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@744 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-19 16:46:01 +00:00
Jürgen Vigna
756af02794 Lots of fixes for text/tabular insets. Now tabular insets work quite good
and you have now automatic row-breaking for cells with width! Also added
the fix from Denkel. See ChangeLog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@732 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-15 14:49:36 +00:00
Lars Gullik Bjønnes
c6150425e5 several small patches and some fixes, read the ChangeLog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@688 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-24 20:58:23 +00:00
Lars Gullik Bjønnes
d0950aceda read the Changelog, preparing for prerelease
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@680 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-19 01:42:55 +00:00
Lars Gullik Bjønnes
76938908d7 use more explicit on constructors use the pimpl idom to reduce size with about 500k
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@641 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-08 17:02:02 +00:00
Lars Gullik Bjønnes
77e706c441 fix the smallcaps drawing, move xfont metrics functions out from LyXFont, move non-inlineable functions out of line
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@638 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-04 00:19:15 +00:00
Lars Gullik Bjønnes
85798535a1 some using changes small changes in lyxfont and some other things, read the Changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@632 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-28 02:18:55 +00:00
Lars Gullik Bjønnes
fa492d6bf0 fix lyxalgo.h, dra pagebreak with text on line, change the math_deco_search a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@597 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-09 23:58:55 +00:00
Lars Gullik Bjønnes
132fe5e132 the freespacing patch from Kayvan, draw the math empty delim with onoffdash, asure that the tables passed to lyxlex is sorted and sort them if not, use std::lower_bound to search in lyxlex tables, use binary search in stead of linear in math_delim::search_deco, we also sort the math_deco_table upon startup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@594 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-09 03:36:48 +00:00
Lars Gullik Bjønnes
def72111a5 change to use ostreams instead of string when writing files. fiddling with insettext. font fix in formula.C.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@584 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-06 02:42:40 +00:00
Lars Gullik Bjønnes
a9b448a027 change to use only ostream to write latex from insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@581 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-02 02:19:43 +00:00
Lars Gullik Bjønnes
9cdcc41498 make the new code from Juergen compile and some small fixes to the same code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@572 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-25 13:35:38 +00:00
Jürgen Vigna
d6fa7c567c All changes I made to have text-insets working. Look at the Changelog
for more details.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@571 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-25 12:06:15 +00:00
Lars Gullik Bjønnes
c52895023e continue the crusade to get rid of current_view
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@564 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-22 00:36:17 +00:00
Lars Gullik Bjønnes
5ba861bb09 fix the resize bug, make some more inset funcs const, cleanup in lyxscreen, painter, workarea
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@561 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-18 22:22:42 +00:00
Lars Gullik Bjønnes
a0cf758d5a remove the old painter, remove support for mono_video, reverse_video, fast selection, work in progress to make insetlaex accent better. editable insetcommand drawn as buttons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@560 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-17 19:59:08 +00:00
Lars Gullik Bjønnes
cfdd73ea94 new painter,workarea and lcolor. Read the diff/sources and ChangeLog...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@550 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-10 17:53:36 +00:00