Commit Graph

655 Commits

Author SHA1 Message Date
John Levon
ad6e8a6e7b clone() at long last !
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7092 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-03 15:10:14 +00:00
André Pönitz
285952e130 IU of drawing phase one without 'semantic changes' as requested by John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7079 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-02 10:03:27 +00:00
André Pönitz
d60684fd07 IU for second phase of two-phase drawing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7067 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-30 06:48:24 +00:00
Lars Gullik Bjønnes
0d90321817 simplify InsetList a bit and constify a bit too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7062 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-29 01:13:18 +00:00
Lars Gullik Bjønnes
b2284c1a07 remove commented same_id functions, and also remove some const_casts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7061 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-28 23:09:16 +00:00
John Levon
a7c203c2ec fix bug 1055, bug 1143, bug 1144
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7060 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-28 16:36:55 +00:00
Lars Gullik Bjønnes
850ec37318 parlist-23-a,diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7056 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-27 22:41:04 +00:00
Lars Gullik Bjønnes
4882d49f88 parlist-21-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7054 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-27 17:29:03 +00:00
André Pönitz
a8e8e755fc rename the members of Dimension
* dimension.[Ch]: a -> asc, d -> des, w -> wid


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7053 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-27 13:55:03 +00:00
Lars Gullik Bjønnes
46e5fe4a67 get rid of same_id from function signatures
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7044 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-26 09:13:55 +00:00
Lars Gullik Bjønnes
9bf624381d use a reference instead of a pointer in ParagraphList::iterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7037 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-24 12:13:30 +00:00
Lars Gullik Bjønnes
297b40c725 make ParagraphList::push_back take a reference instead of a pointer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7036 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-24 11:54:10 +00:00
André Pönitz
983d23f87d setUndo2 interface change
access to topmost plist item (as reference...)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7022 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 10:33:40 +00:00
Angus Leeming
453f294074 The free_spacing patch and fix to the mess that Rob discovered.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7019 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 08:59:47 +00:00
Angus Leeming
e1940902fe Purely mechanical: move fragile into LatexRunParams.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7016 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 22:44:30 +00:00
Angus Leeming
ccce6b9662 Pass struct LatexRunParams around a bit...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7008 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 18:59:10 +00:00
Lars Gullik Bjønnes
62be565337 add warning make controllers compile and remove some alomost unused functions, comment out usage by undo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7004 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 16:10:34 +00:00
André Pönitz
a8286011b8 fix drawing bug
I forgot that insettext caches its dimensions, so the cache was 0 all the
time...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6990 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-21 08:22:25 +00:00
Alfredo Braunstein
2a882902eb get rid of InsetError users
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6986 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-20 16:51:31 +00:00
André Pönitz
723ee136ba the ascent/descent/width -> dimensions() change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6979 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-19 17:03:12 +00:00
André Pönitz
ff98dcea08 on the way to a usable insetenv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6975 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-19 07:12:09 +00:00
André Pönitz
14580a289e edit->LFUN_INSET_EDIT + CHangeLog + working URL insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6969 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-16 07:44:00 +00:00
André Pönitz
0e9bd2e87d STRCONV() all over the place
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6956 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 16:24:49 +00:00
André Pönitz
d31244b5e2 The 'bformat' introduction
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6953 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 09:48:57 +00:00
Lars Gullik Bjønnes
bb4f477fe3 parlist cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6945 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-07 09:26:33 +00:00
André Pönitz
aee7213a76 replace getFirstParagraph() by getParagraphs()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6934 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-05 15:39:48 +00:00
André Pönitz
b83cfa09ee 2003-05-05 Andr� P�nitz <poenitz@gmx.net>
* inset.h:
	* insettext.[Ch]:
	* insettabular.[Ch]:
	* insetcollapsable.[Ch]: remove unused function firstParagraph()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6933 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-05 15:00:25 +00:00
John Levon
c7b495326e cursor.diff, bug 1095
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6930 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-03 18:05:53 +00:00
André Pönitz
acae34cdc8 small Paragraph* -> ParagraphList::iterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6921 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 10:06:07 +00:00
Lars Gullik Bjønnes
b7ba81d387 003-04-30 Lars Gullik Bj�nnes <larsbj@gullik.net>
* text3.C (dispatch): do not convert iterator -> pointer
        * undo_funcs.C (setCursorParUndo): ditto
        * text_funcs.C (transposeChars): ditto

        * text2.C (setLayout): ws changes only

        * text.C (breakParagraph): do not convert iterator -> pointer
        (insertChar): ditto
        (acceptChange): ditto
        (rejectChange): ditto
        (changeCase): ditto
        (Delete): ditto
        (backspace): ditto

        * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
        pointer


2003-04-30  Lars Gullik Bj�nnes  <larsbj@gullik.net>

        * insettext.C (setFont): do not convert iterator -> pointer

        * insettabular.C (localDispatch): do not convert iterator -> pointer
        (setFont): ditto
        (tabularFeatures): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6889 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 23:59:39 +00:00
André Pönitz
e83de85ff7 part of Lars' parlist-14-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6872 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-28 16:22:32 +00:00
Lars Gullik Bjønnes
0408f69287 Make lyxcursor store a ParagraphList::iterator, change three functions to take a ParagraphList::iterator instead of a ParagraphList::iterator. Other changes to adjust for this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6741 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-09 09:15:20 +00:00
John Levon
5d67f7c617 reset the status message on leaving an inset or clicking with the mous
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6727 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-07 16:57:38 +00:00
Lars Gullik Bjønnes
311e5951ee parlist-2-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6689 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-02 21:19:35 +00:00
Lars Gullik Bjønnes
6ce86e2bfe parlist-a-1.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6683 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-02 17:11:38 +00:00
John Levon
925df4e00b Alfredo's patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6675 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-01 19:22:14 +00:00
Lars Gullik Bjønnes
0d876bc179 rowlist10
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6674 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-01 16:55:48 +00:00
Lars Gullik Bjønnes
82d3d4dff6 rowlist9
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6669 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-01 10:10:28 +00:00
John Levon
315e07fabc kill Alert::alert()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6653 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-31 01:15:44 +00:00
Lars Gullik Bjønnes
d2718b3669 rowlist2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6646 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-29 23:11:20 +00:00
John Levon
5ab95412fe remove math greek lfuns properly instead of leaving them in limbo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6602 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-28 02:37:14 +00:00
John Levon
12b2d2ec4d rename the refresh stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6572 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-25 01:28:29 +00:00
John Levon
748fed5ec3 Various selection fixes inside insets including bug 972
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6564 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-24 04:17:45 +00:00
John Levon
fa15f1b24a Ding dong, the CID is dead...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6558 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-22 17:26:03 +00:00
John Levon
26f1a5bfca My patch from yesterday
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6548 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-20 14:13:49 +00:00
John Levon
0623d1f074 The markDirty() and fitCursor() changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6537 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-19 14:45:22 +00:00
Lars Gullik Bjønnes
064714a102 Remove the BufferView* arg from almost all LyXText class functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6519 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-17 16:25:00 +00:00
John Levon
3b9620ae6d paint cleanups as sent to list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6517 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-17 01:34:36 +00:00
John Levon
af2f39cc94 postPaint() etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6514 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-16 00:45:31 +00:00
Angus Leeming
bb8ce22e78 You've had enough time for that ol' review and I've made sure that things
work _despite_ of LyXLex so...
here is the Paragraph dialog reworked.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6487 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-13 13:56:25 +00:00
John Levon
47432f0259 The inset newline patch I sent plus the requisite fixes. I couldn't reproduce a problem.
JMarc, I haven't moved those latex bits into the ::latex method yet though.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6471 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 19:16:42 +00:00
John Levon
b4f4f487d1 The final parsing patch. Tested on a variety of weird and wonderful things
without finding a regression (yet !) :)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6465 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 11:52:23 +00:00
John Levon
9c7d4387f2 Use ParList iterator to insert lyxfile and read the document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6457 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 05:46:35 +00:00
John Levon
868f59f137 split out header parsing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6454 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 02:39:12 +00:00
Lars Gullik Bjønnes
17580c2a01 Fix InsetText latex export.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6432 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 17:49:24 +00:00
John Levon
c803419c43 Alfredo's patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6372 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-06 20:21:21 +00:00
Lars Gullik Bjønnes
3bee5faf12 more ParagraphList work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6362 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-06 10:02:40 +00:00
Lars Gullik Bjønnes
30a9dd7f98 add ParagraphList::erase, make mergeParagraph take a Buffer* arg, adjust other funcs to suit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6344 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 20:45:02 +00:00
Lars Gullik Bjønnes
63e1ebc312 use ParagraphList::iterator a bit more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6330 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-03 23:19:01 +00:00
John Levon
4d440a1473 The row-painter patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6287 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 17:04:10 +00:00
André Pönitz
fdaf203c12 some ws
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6202 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-18 16:58:16 +00:00
John Levon
d2b70ea0e6 Replace ugly getParFromID() code with ParIterator-based stuff. I think
we can do the same for getInsetFromID() but Juergen didn't answer my query.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6145 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 02:21:01 +00:00
John Levon
609f0b3321 2003-02-13 John Levon <levon@movementarian.org>
* text.h:
        * text.C:
        * text2.C: move hfillExpansion(), numberOfSeparators(),
          rowLast(), rowLastPrintable(), numberofHfills(),
          numberOfLabelHfills() ...

        * lyxrow.h:
        * lyxrow.C: ... to member functions here.

        * paragraph.h:
        * paragraph.C:
        * lyxtext.h:
        * text.C: remove LyXText::beginningOfMainBody(), and call
          p->beginningOfMainBody() directly. Move the check for
          LABEL_MANUAL into the latter.

        * text.h:
        * text.C:
        * text2.C:
        * vspace.C:
        * BufferView.h:
        * BufferView.C: make defaultHeight() be a free defaultRowHeight()

        * text.h:
        * text.C:
        * text2.C:
        * text3.C:
        * frontends/screen.C: move bv_owner private, introduce isTopLevel()
          to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6143 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 00:41:44 +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
John Levon
ae87b94515 The big change tracking patch. Changes from posted version :
1) abstract time_t into lyx::time_type
2) abstrace struct passwd into support/userinfo
3) make authorlist a per-buffer property instead of global

I will look at the paragraph breaking soon, in the meantime I opened a bug on bugzilla.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6074 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-08 19:18:01 +00:00
John Levon
2b2c661f84 Michael's text fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5980 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-23 16:23:43 +00:00
Jürgen Vigna
8ed3c53596 Fixed down movement inside inset text (hopefully).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5917 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-08 09:27:15 +00:00
Angus Leeming
691568ea39 Minor bits 'n' bobs from Michael, J�rgen and Jean-Marc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5906 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-06 14:02:24 +00:00
John Levon
2421c85ca2 Alfredo's double-dialog fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5865 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-18 22:11:07 +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
John Levon
774dabb323 remove unused and a little documentation (all r=larsbj)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5462 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-21 16:21:56 +00:00
Jürgen Vigna
f7d3fe8836 Fix undo bugs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5395 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-14 14:59:50 +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
Angus Leeming
0507b8600d Copyright notices
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5345 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-25 14:26:13 +00:00
André Pönitz
fe61081acf bugfix (clicking into insets in insets was broken)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5140 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 16:32:18 +00:00
André Pönitz
f59571dcab 100 lines moved, 33 dead.
Just for the record:

1.2.1:
  3666    8203   85497 BufferView_pimpl.C
  2693    8230   72506 text2.C
  6359   16433  158003 total

1.3cvs equivalent:
  1451    3413   34098 BufferView_pimpl.C
  2407    7391   64931 text2.C
  1588    4040   39668 text3.C
    94     203    2167 factory.C
  5540   15047  140864 total

so we saved over 800 lines by just moving stuff around...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5134 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 12:09:19 +00:00
André Pönitz
52ef85f57f essentially Martin's patch to fix the \end-deeper bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5108 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 09:31:09 +00:00
Jürgen Vigna
d902fedf32 John's patch for fixing mouse button press lfuns inside insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5106 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 07:52:59 +00:00
Lars Gullik Bjønnes
fd1a4f75e8 move pasteParagraph to global scope
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5062 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-21 17:35:24 +00:00
Lars Gullik Bjønnes
998c773a16 remove NO_COMPABILITY stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5052 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-21 07:30:57 +00:00
André Pönitz
570ac6e4f4 more stuff from Lars' diff-6 (write one par at a time)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5039 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 17:29:37 +00:00
André Pönitz
53cc89eed6 - parts of Lars' diff-6.diff
- move inline functions from buffer.h to buffer.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5038 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 17:18:21 +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
Lars Gullik Bjønnes
51e4d793ed more from the diff-5.diff merged
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4983 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 22:15:18 +00:00
Lars Gullik Bjønnes
a443001d5a fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4978 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 18:47:14 +00:00
Lars Gullik Bjønnes
1bb7741a5d diff test alterations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4976 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 18:38:59 +00:00
Lars Gullik Bjønnes
6cd49089c4 fix ParagraphList reading in InsetText
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4961 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 09:11:24 +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
Lars Gullik Bjønnes
5bd7f9d67b The ParagraphList stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4937 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 00:15:19 +00:00
Lars Gullik Bjønnes
260c7f3187 The InsetList
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4933 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-11 15:03:52 +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
John Levon
30a10564b1 two minor cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4913 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 02:50:20 +00:00
Jürgen Vigna
52ca14b791 Don't put selected stuff into the clipboard on delete and backspace keys
(Patch from Michael Schmitt).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4889 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 12:00:08 +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
John Levon
6b5c9696b6 Remove LYX_LAYOUT_DEFAULT - it is very very old, even klyx doesn't use it.
Commit the multi-language spellcheck patch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4882 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 22:38:44 +00:00
Angus Leeming
5f46df1f0f Now generate previews when loading the buffer for insets in insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4847 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 16:39:43 +00:00
Jean-Marc Lasgouttes
1dc25c472f time to recompile everything: I removed #include directives from headers here and there... Not sure what the net effect is, but it cannot be worse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4736 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-21 21:21:06 +00:00
Jean-Marc Lasgouttes
8a91f206c6 implement DependsOn tag for layout files; more uninteresting cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4729 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-20 20:47:54 +00:00
John Levon
91bcdf564a Make showState be view_state_changed, and rename setState to something
more descriptive


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4671 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 04:13:41 +00:00
Dekel Tsur
67d0aa74f4 RTL fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4630 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-13 14:56:42 +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
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
John Levon
021ad027a9 refactor topCursorVisible() prototype a little. Compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4378 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 10:31:34 +00:00
John Levon
92e53dc01b Rename screen, and don't re-construct it on a buffer change (that is far too
nosy of the core), and use an accessor ...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-11 23:47:58 +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
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
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
John Levon
98b254c810 more guii moving around.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4192 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 15:43:25 +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
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
c3221a5d49 bug338patch.gz
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4163 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 14:22:11 +00:00
Jürgen Vigna
9e534c8750 Don't call edit() on not higly editable insets if we're just called edit().
In Highly editable inset we have to to enter it with the cursor (fix #387).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4155 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 09:10:14 +00:00
Lars Gullik Bjønnes
bded6fd063 remove return arg from fullRebreak, fix last "Standards", new operaotr>> for lyxstring (might need more work), some ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4108 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 22:17:09 +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
Jürgen Vigna
2356001ed3 Fixed use of uninitialized variable code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4037 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-22 14:31:47 +00:00
Jürgen Vigna
43ad9cf095 Fix the rebreak and cursor position if we had a CHANGED_IN_DRAW (fix #175).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4035 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 14:16:08 +00:00
Jürgen Vigna
2fbc66100c Fix page up/down behaviour with very high rows. Same for selection with mouse.
(fix #311, #60)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4021 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 09:47:08 +00:00
Jürgen Vigna
ba79607927 Simplified code and don't enter inset on cursor down/up while we are selecting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4013 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-17 08:34:59 +00:00
Jürgen Vigna
1eba5295d8 Losts of fixes to cursor handling with insets. Cursor up/down now can
transverse also inset if they are on it's way, Page up/down for InsetText
fixed (cleanly now as I finally understood the algorithm ;) This fixes some
non reported bugs, some in Michaels list, some reported on the mailing
list and #314 on our buglist.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4008 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-16 14:10:39 +00:00
Jürgen Vigna
ba21e6498c Fix for wrong cursor.x pos when before a fullRow inset (added ix), small
perfomance fix in LyXText's raw drawing, fix for adding paragraph in insets
when not allowed to do so (bug in Michaels list not on lyxbugs.).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3990 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 15:59:03 +00:00
Jürgen Vigna
2588a92167 Simplified code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3979 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 08:31:06 +00:00
Jürgen Vigna
c9a31728e9 New function ciy() which handles cursor.iy() functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3972 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 15:08:22 +00:00
Jürgen Vigna
546d0f52c7 make a CURSOR update if we inserted a character (fix #312).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3910 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-05 12:31:42 +00:00
Jürgen Vigna
c04225fdf1 Fix insetButtonPress in InsetText the same way as in Bufferview_pimpl.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3892 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 13:59:04 +00:00
Jürgen Vigna
5e3b849ce7 Some more fixes to selection, fitCursor calls for InsetText/Tabular.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3864 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-29 15:49:45 +00:00
Jürgen Vigna
b45d1b31f5 Fixes to mouse handling in and outside a InsetText (fix #308, #309).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3863 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-29 12:24:50 +00:00
Jürgen Vigna
ddabf92e20 Fixed insert File inside tabulars/insettext (fix #301,#302).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3833 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 11:05:30 +00:00
Angus Leeming
b97138d0e8 * Use JMarc's browseRelFiles rather than browseFiles.
* Prevent activation of Ok,Apply in graphics dialog when file is not found
* Partial fix for bug 229. Still need to emit updateParagraph when leaving
  an inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3814 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 15:24:32 +00:00
Lars Gullik Bjønnes
a654de29ea ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3802 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:09:55 +00:00
Jürgen Vigna
b15efeb111 Collapse the contents of multicolumn cells into one (fix #121).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3796 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 15:58:54 +00:00
Jürgen Vigna
0fd56e0359 Remove some showInsetCursor calls we don't really need (fix #106).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3764 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 14:53:21 +00:00
Jürgen Vigna
471fe41fde Now hopefully fixed for updates in insets inside this inset text
(don't know why I missed this earlier fix #263).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3705 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 11:26:22 +00:00
Jürgen Vigna
2b24ca217f Fix updating inset inside insets (typically graphics after loading).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3701 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-08 11:42:30 +00:00
Angus Leeming
fc4790823b remove #include "WorkArea.h".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3690 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 15:43:02 +00:00
Jürgen Vigna
ff8f704031 Fix bugs in minipage compatibility read (fix #240).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3681 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 16:02:51 +00:00
Jürgen Vigna
06b35a161d Fixed InsetText's frame redrawing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3674 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 10:40:31 +00:00
Jürgen Vigna
82cc1af962 Changed behaviour of Inlined ERT insets (fix 251).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3665 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 14:55:20 +00:00
Jürgen Vigna
a2a6509aff Fixed calling edit off subinset on a ButtonPress event (fix #214).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3663 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 11:51:07 +00:00
Lars Gullik Bjønnes
9a7ee91f53 gross hack to set layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3659 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 16:10:47 +00:00
Lars Gullik Bjønnes
b9288969ec remove lowercase, better layout handling and some variable renameing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3648 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-03 20:25:07 +00:00
Lars Gullik Bjønnes
dbd7a961fc layout as string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3640 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 16:39:54 +00:00
Jürgen Vigna
af8dccce0f Added a insetButtonRelease call returning true as prove of concept (fix #214).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3590 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 16:14:45 +00:00
Jürgen Vigna
6953743e22 Fix for #191, setting the cursor to the second paragraph if available if the
first one is empty.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3582 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-22 13:25:03 +00:00
Jürgen Vigna
9443f625d8 Fix for #143. Changed handling of Font stuff for ERTInsets so that the
latex fonts are not really set but only displayed on screen. So we fixed
the problem of cut&paste in and out of ERT insets retaining the latex color
and font.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3576 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 14:55:17 +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
Jürgen Vigna
1e775a68c6 Fixed insetlocking-mechanism and PARAGRAPH_GOTO func.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3407 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 14:27:01 +00:00
Jürgen Vigna
17a937723c Fixed small drawing bug in InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3403 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 10:13:23 +00:00
Lars Gullik Bjønnes
d5fefbb6d8 include iterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3374 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 15:29:40 +00:00
Angus Leeming
754d59b4a1 Create a new support function lyx::count to use in place of std::count.
Remove countChar as lyx::count superceeds it.
Use the new function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 13:04:06 +00:00
Dekel Tsur
a7c062e14e Remove another #warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3355 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 15:34:53 +00:00
Jean-Marc Lasgouttes
7bb99be122 fix problem with nroff detection, remove dead code with old floats, bogus message when closing last buffer, toolbar status when changing fonts in math; remove gnome menubar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3352 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 13:07:27 +00:00
Dekel Tsur
b44c7a6767 Fix (partially) font bug in compatability code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3345 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 18:40:05 +00:00
Jürgen Vigna
24567b9d61 Fixed stupid bug in insettext.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3336 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-11 16:00:28 +00:00
Jürgen Vigna
dde058d322 Update the toolbar if we unlock an inset (or change paragraph).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3317 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 15:32:11 +00:00
Jürgen Vigna
a237be918f Fixed InsetText::getLyXText().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3303 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 14:50:57 +00:00
Jean-Marc Lasgouttes
61ccd8b8b5 various fixes from John, Martin and Kayvan, plus one of mine. Read ChangeLogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3299 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 10:17:44 +00:00
Jürgen Vigna
9ddd875c6f Fixed long standing bug in breaking rows correctly. Fixed redraws when
searching/spellchecking inside tabulars. Fixed wrong frame redraw and
wrong clearing of inset (visible when the inset has a background color).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3297 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-06 19:34:30 +00:00
Jürgen Vigna
de78a7b2d6 Another fix to Undo/Redo code I hope we get nearer to perfection ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3296 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-04 16:03:53 +00:00
Lars Gullik Bjønnes
b922cdd796 2001-12-28 Lars Gullik Bj�nnes <larsbj@birdstep.com>
* Makefile.am: added the new files to sources, removed layout.C

* layout.C: removed file

* layout.h: remove LYX_DUMMY_LAYOUT

* lyxtextclasslist.C (NumberOfLayout): do not special case dummy
layout.

* lyxlayout.[Ch]:
* lyxtextclass.[Ch]:
* lyxtextclasslist.[Ch]: new files

* include order changes to a lot of files, also changes because of
the six new files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3269 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-28 13:26:54 +00:00
Jürgen Vigna
9987ffaee8 More ascii-export fixes and when making copy of single tabular cells now the
data is copied as tab separated values to the clipboard (not when copiing the
whole paragraph!).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3268 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-27 15:54:25 +00:00
Jürgen Vigna
65ec1c0437 Insert mouse_x/y positon to have a REAL motion check. Fixed the spurious
selection on clicking on insets inside insets.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3265 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-24 14:36:31 +00:00
Jürgen Vigna
caf1ad7d8d Fixed small problem in InsetText and start for a better tabular layout
(longtable options and better putting the width fields with v.alignment)
This is not finished yet!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3252 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-19 16:13:21 +00:00
Jürgen Vigna
f292441365 More fixes to the autocollapsing of paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3240 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 14:36:27 +00:00
Jürgen Vigna
5a1614bc51 Some fixes to lt handling (one forgotten reset) and collapse the paragraphs
into one single if we have autoBreakRows == false.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3238 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 12:35:53 +00:00
Jürgen Vigna
b17930447f Fixed stupid bug introduced by my last commit!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3233 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 09:13:34 +00:00
Lars Gullik Bjønnes
8ddb8f993b small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3231 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 03:21:10 +00:00
Jean-Marc Lasgouttes
12d3ca2886 fix small clash between patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3229 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 15:08:51 +00:00
Jürgen Vigna
e8f7285df3 Set selection.cursor always on a ButtonPress event in insettext (fixes the
crashes on opening collapsable inset put into one row).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3228 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 14:53:31 +00:00
Jean-Marc Lasgouttes
6774c17368 fix to checkInsetHit() from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3227 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 14:25:04 +00:00
Jürgen Vigna
bc20177045 Fixed poping up of Layout-Dialogs on Mouse-Button-3 press.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3225 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 13:33:22 +00:00
Jürgen Vigna
7fdf62dd8e John's InsetTabular cursor patch and modifications/fixes to undo/redo code.
TODO: Still some problems in multiparagraph redo! And deleting of substituted
      paragraphs when undoing/redoing.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3209 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-14 11:55:58 +00:00
Jean-Marc Lasgouttes
bf94991c65 cleanup my latest cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3178 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 13:30:27 +00:00
Jean-Marc Lasgouttes
ca3c70ec58 small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3172 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 09:59:39 +00:00
Lars Gullik Bjønnes
ff885b3ed3 comment.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3162 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 23:13:02 +00:00
Jürgen Vigna
6f5f012d3d Fixed faulte delete of paragraphs in a special case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3152 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 16:11:47 +00:00
Jürgen Vigna
8a3b0939d5 Fixed insetAllowd for InsetText and Pasting multiple paragraphs inside
Insets with particular restrictions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3151 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 15:34:41 +00:00
Lars Gullik Bjønnes
33a28bdc9c Add string << operators for the other streams as well, and removes
c_str() all places where it is not needed anymore.
(I also add config.h to several files that was missing it)
+ added s string constructor to math_symbolinset

I also change some "while(" to "while ("

mmm ... yes ... I add a "zero()" function to LyXLength... an "empty()"
function did not seem appropriate. changed a couple of places that
checked on length.value() != 0.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3149 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:04:20 +00:00
Jürgen Vigna
9d2abd4505 More fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3143 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-04 16:10:19 +00:00
Jürgen Vigna
8e88c36e20 Fixed updating of non locked inset inside other insets if requested!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3139 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 14:46:22 +00:00
Jürgen Vigna
63ab8b3517 John's minibuffer, checkInsetHit, lyxfunc-timeout patches + fix crash
on changing ERT insets Status (inlined, open, collapsed).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3138 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 13:17:04 +00:00
Jürgen Vigna
c130d5dbfd Hopefully fixed the redo problems with insets!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3127 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 16:10:24 +00:00
André Pönitz
d659612225 reduction of header dependencies, part II (use new types
lyx::layout_type and lyx::textclass_type all ovcer the place)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3117 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 17:12:21 +00:00
Jürgen Vigna
fcb37cc693 Fixed cut&paste bugs and added freespacing for ERT Insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3115 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 16:29:30 +00:00
Jürgen Vigna
4ec1fe07fe Added function firstRow() to LyXText as this function is needed in
various files and as workaround always getRowNearY(dummy_y = 0) was
used.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3112 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 13:43:12 +00:00
Jürgen Vigna
08b1fdacad Fixed various bugs + John's form paragraph bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3111 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 12:58:59 +00:00
André Pönitz
10f096880f whitespace changes;
change *::pos_type into lyx::pos_type


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3087 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 10:34:16 +00:00
André Pönitz
cd6e293ed7 start reducing header file dependencies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3080 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 16:42:04 +00:00
Jean-Marc Lasgouttes
85e30074c2 new alert code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 10:19:58 +00:00
Jean-Marc Lasgouttes
02e190002b isInset patch from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3065 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-23 10:16:02 +00:00
José Matox
ee7037edbb Fix several warnings regarding unused variable/arguments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3026 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-14 09:46:05 +00:00
Jean-Marc Lasgouttes
9d0ba3ddf2 cleanups from John and Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2995 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 13:44:48 +00:00
José Matox
83e7c2cff7 Improved support for docbook export in inset text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2975 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 13:22:43 +00:00
Jürgen Vigna
0677c7b0c9 Fixed center mousebutton-pastes into ERT insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2908 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-22 09:45:31 +00:00
Jürgen Vigna
12cc8f7022 Honor FINISHED_XXX flags in LocalDispatch of InsetText/Tabular.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2825 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 11:55:08 +00:00
Angus Leeming
a2ef5d11b3 Renamed selectNextWord as selectNextWordToSpellcheck.
Modified selectNextWordToSpellcheck to not select words inside an ERT inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2785 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 16:21:23 +00:00
Lars Gullik Bjønnes
271f8d7eec some mods I had in my local tree, mostly small stuff, perhaps minus the the Makefile changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2713 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-09 22:02:19 +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
Dekel Tsur
0233b6753d Paragraph iterators
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2649 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-01 21:26:34 +00:00
Lars Gullik Bjønnes
2652ad62f4 outstanding changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2551 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-19 13:13:47 +00:00
Jürgen Vigna
45bd81a203 Added new FINISED states FINISHED_RIGHT, FINISHED_UP, FINISHED_DOWN.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2518 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-16 08:52:30 +00:00
Dekel Tsur
44d8be16d0 Compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2508 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 21:50:13 +00:00
Jürgen Vigna
9f3dd22dd3 Fixed S&R functions with insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2497 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 11:27:53 +00:00
Jürgen Vigna
f5394fd982 Fixed possible crash when reinitializing LyXText!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2496 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 11:04:49 +00:00
Dekel Tsur
a277759770 Add latex_language and remove inherit_language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2492 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-11 18:31:14 +00:00
Jürgen Vigna
8466aa353b Some more fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2482 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 12:21:42 +00:00
Jürgen Vigna
7a058f4f03 Some more of optimizations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2476 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 10:24:44 +00:00
Jürgen Vigna
ed04b53081 Small fix and optimization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2475 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 09:39:15 +00:00
Jürgen Vigna
86e4a9bc8a More fixes to various bug reports.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2453 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 13:29:13 +00:00
Jürgen Vigna
3c32875ece Applied Edwins patch, fixes to free memory read in insettext, partial fix
for the width of collapsable insets (more to do).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2444 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 15:07:36 +00:00
Lars Gullik Bjønnes
8075064372 adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2429 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 19:13:25 +00:00
Jürgen Vigna
26b1fa7be8 Various update/redraw fixes. Cleaned up InsetERT and added a dialog for
changing between statuses. Save the statuses to file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2425 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 14:55:02 +00:00
Lars Gullik Bjønnes
7c984f40f2 some debug stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2421 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-05 22:12:27 +00:00
Lars Gullik Bjønnes
54e7ddb5d9 get rid of NO_LATEX, split some methods, small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2417 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 18:28:11 +00:00
Jürgen Vigna
0e9af0297f Some more small fixes. Hopefully we'll get there soon!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2412 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 13:09:59 +00:00
Lars Gullik Bjønnes
8254b16fd1 more latex conversion cases fixed, patch from Andre, more more funcs to lowercase, some debug output to look at...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2406 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-02 18:46:53 +00:00
Jürgen Vigna
aae301e9cd Update/cursor and drawing fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2405 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-02 14:55:06 +00:00
Jürgen Vigna
cc3955aa12 Fixes to various bug-reports.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2402 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 15:42:53 +00:00
Jürgen Vigna
a622bb6efa Added inline functionallity to InsetERT. Fixed cache.clear() problem in
InsetText. Small fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2393 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-31 09:53:40 +00:00
Asger Ottar Alstrup
b8cad4ca9d More header file include dependency work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2386 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 17:39:01 +00:00
Lars Gullik Bjønnes
bf6257967e small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2374 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 20:27:56 +00:00
Jürgen Vigna
d32d0cbb95 This should clean up the language stuff a bit and a small new check for
inserting characters in insets (forced font change) which does not work
as the method seems not to be called.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2366 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 12:03:36 +00:00
Lars Gullik Bjønnes
57a2087d37 some ert fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2346 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-25 19:45:21 +00:00
Lars Gullik Bjønnes
3ce727041d simplificatons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2329 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 22:08:49 +00:00
Jürgen Vigna
fd054e60b1 Added copy constructor to inset.h and used it in most insets which permit
it. Small fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2323 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 15:07:09 +00:00
Jean-Marc Lasgouttes
cb8bb668e7 playing around with insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2315 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 10:13:19 +00:00
Jürgen Vigna
7c0dad35b3 Implemented Search/Replace functionality for Insets. Cleaned up a bit.
Small fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2296 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 14:18:48 +00:00
Jean-Marc Lasgouttes
b15e539c68 partial inset toggling ; insetAllowed stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2277 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-19 08:52:59 +00:00
Jürgen Vigna
2c5ab94d01 Implemented spellchecking inside insets. Small fixes. Baruchs fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2265 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-17 15:39:12 +00:00
Lars Gullik Bjønnes
efe0b0b8eb Dispatch->dispatch, some trans work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2254 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 15:42:57 +00:00
Jürgen Vigna
c4f841c1b2 Added lyxrc-flag to be able to select if I want use pspell or ispell if
pspell support is compiled in. Set shortcut of About-Dialog to ESC-key.
Small fix in InsetText.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2244 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 10:03:38 +00:00
Angus Leeming
cec0dd19d0 Edwin's "about" patch + consistent use of Lsstream.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2239 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 14:03:48 +00:00
Jürgen Vigna
487f6eb3b4 Added various inset functions for Jean-Marc (see Changelog). Small fix in
cua bind-file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2228 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 14:35:38 +00:00
Jürgen Vigna
8dc8a36370 This fixes a real bug in InsetText where it was possible to delete the
cached LyXText while we where working inside it (accessing of freed
memory!), small changes in the insetInsertAllowed functions to have
a better check where is what allowed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2225 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 12:26:06 +00:00
Lars Gullik Bjønnes
6396f9a204 small changes read changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2221 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 11:11:10 +00:00
Lars Gullik Bjønnes
f6c9132899 move getParFromID to Buffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2207 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 09:16:00 +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
f82d1cd90b use shared_ptr for chache and cached_text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2189 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-05 14:52:08 +00:00
Jürgen Vigna
d937d3459d Fixed releasing of TextCache in InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2185 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-05 08:29:36 +00:00
Lars Gullik Bjønnes
7cb3b05491 change LyXScreen names to begin with lower case
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2179 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-04 07:19:09 +00:00
Lars Gullik Bjønnes
2292b739a2 use CutAndPaste static methods directly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2176 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 15:39:17 +00:00
Lars Gullik Bjønnes
b9d61343fc text2 chane, XFormsView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2175 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 15:19:04 +00:00
Angus Leeming
edfb92efa2 Added using directive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2171 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 11:02:12 +00:00
Lars Gullik Bjønnes
f52893a07d avoid multiple lookups and simplify slightly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2168 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 07:46:50 +00:00
Jürgen Vigna
6687595f9c Introduce a local cache to the getLyXText method for repetitive calls.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2167 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-02 15:29:23 +00:00
Lars Gullik Bjønnes
8eada76ac0 remove TEXT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2162 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-29 15:17:05 +00:00
Jean-Marc Lasgouttes
ab254289c8 lyxstring compile fixes ; small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2159 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-29 11:54:39 +00:00
Lars Gullik Bjønnes
94c15c0ed7 lowercase.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2155 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-29 06:30:53 +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
Jürgen Vigna
3eaf3246be Small fix and remove some warinings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2125 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-14 14:10:25 +00:00
Angus Leeming
31b56dac80 In for a penny, in for a pound. Consistent use of // -*- C++ -*-
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2123 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-14 08:20:41 +00:00
Jürgen Vigna
389fa29ba5 Fixed one more "missing feature" for InsetText/Tabular.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2098 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-07 14:51:20 +00:00
Jürgen Vigna
e06bc73c22 InsetText/Tabular fixes (buglist from SF.NET)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2085 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-01 15:10:26 +00:00
Lars Gullik Bjønnes
f1d829a185 adjust to be able to complile with gcc 3.0, put selection vars into own struct, remove some C string funcs in favour of lstrings ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-31 02:23:46 +00:00
Lars Gullik Bjønnes
83acbbd523 update copyright year
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-30 13:53:44 +00:00
Jürgen Vigna
4bcf99c809 Various fixes to Tabular, InsetTabular and InsetText. Fixed left border for
multicolumn cells, fixed repaint and recalc issues of insets, fixed scrolling
of large tabulars, ADDED settings of fonts on selections, more minor stuff
I cannot remember right now, more to follow.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2027 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-28 15:11:24 +00:00
Lars Gullik Bjønnes
8ac09fc110 use stringstream, remove some old footnote handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1990 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-08 17:08:44 +00:00
Lars Gullik Bjønnes
76ca534828 some reindentation, revert workarea xpos++, constify, remove all traces of LyXParagraph::Clone
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1989 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-08 13:28:44 +00:00
Lars Gullik Bjønnes
352479f603 remove LyXParagraph Clone use newly added copy constructor instead, some whitespace changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1988 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-08 10:50:09 +00:00
Jean-Marc Lasgouttes
407dc56e97 Kayvan --export fix ; Angus toolbar fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1983 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-03 15:38:24 +00:00
Lars Gullik Bjønnes
4c6091b63f remove !NEW_INSETS cruft
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1980 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-03 14:31:33 +00:00
Jürgen Vigna
ceeb10f1b0 Reinsert the changes Lars reverted!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1969 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-27 14:03:25 +00:00
Lars Gullik Bjønnes
a464b9b97d reversed jug-bug, will apply pieces later
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1958 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-26 17:47:40 +00:00
Lars Gullik Bjønnes
ec57ed1e96 call message more directly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1951 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 17:33:01 +00:00
Lars Gullik Bjønnes
47910a7a67 move more support functions into namespace lyx, small other changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1949 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 15:25:26 +00:00
Jürgen Vigna
c6e14e1536 Fixed setting cursor positions with mouse for TextInsets and CollapsableInsets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1947 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-20 14:54:25 +00:00
Lars Gullik Bjønnes
df199d6d56 c++ casts, remvoe dead code, use LFUN_MESSAGE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1931 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 14:17:11 +00:00
Allan Rae
4e61c013f4 fix doxygen operation ; stop #warning causing errors on Sun CC 6.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1919 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 00:19:49 +00:00
Jürgen Vigna
69204a88fd Fixed some redraw problems in InsetText/Tabular/Collapsable. Fixed problems
regarding automatic scrolling of Tabulars (still something wrong). Broken
MousePointer inside InsetText&co (hopefully easy to fix), but I still commit
so that people can have a look at it. It also should enhance speed of redraw
and minimize redraws (still some optimization possible).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1915 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-13 14:49:58 +00:00
Lars Gullik Bjønnes
4314e0e5cf simplify some, ws, begin minibuffer simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1905 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-06 12:47:50 +00:00
Lars Gullik Bjønnes
33f6d5a1cf add some std::
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1898 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-05 08:03:26 +00:00
Lars Gullik Bjønnes
9f7498dbdf implement getLabelList
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1897 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-04 23:00:42 +00:00
Lars Gullik Bjønnes
bcd1410de1 changes... read the changelog...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1896 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-04 22:08:13 +00:00
Jürgen Vigna
63d5070bc3 Reindent files with tab-stops (instead of 4 spaces). It is allowed to change
now the indent in files owned by myself to tabstops if I did miss some!
(but please set your tab-width to 4 ;)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1872 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-02 14:02:58 +00:00
Jürgen Vigna
f284f1c8bc Added %x support in vspace.C (LyXLenght) and use it for the minipages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1853 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-29 15:00:20 +00:00
Jürgen Vigna
b14052f6a5 Changed drawing of button in InsetCollapsable and some Mouse/Curosor fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1840 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-28 09:28:48 +00:00
Jürgen Vigna
2f8ddf78ea Added OpenInsetDialog() function for UpdatableInset's and implemented it
for InsetText, InsetTabular and InsetMinipage.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1828 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-26 14:47:34 +00:00
Jürgen Vigna
b8fd45fd39 Some small fixes and the mouse now works for minipages again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1814 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 15:48:19 +00:00
Jürgen Vigna
29b99d383d Fixed cursor position in minipages and small draw-fix in insettext.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1812 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 10:39:16 +00:00
Angus Leeming
a3b75ee8bf almost whitespace!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1768 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-15 12:12:18 +00:00
Lars Gullik Bjønnes
8cb2e519b3 remove Last when NEW_INSETS is defined
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1730 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-11 00:21:13 +00:00
Lars Gullik Bjønnes
b95e8f250d some cascading name changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1720 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-09 00:56:42 +00:00
Lars Gullik Bjønnes
03d1c984a0 ParagraphParameters and SharedContainer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1691 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-06 14:07:14 +00:00
Jürgen Vigna
24a189b753 Reactivate "Custom Export Code" and small fix to LyXFunc::getStatus().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1618 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-26 10:32:45 +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
Jürgen Vigna
5e8b74091e Fixed SELF_INSERT for InsetText!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1600 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-22 14:33:08 +00:00
Jürgen Vigna
ff67bee117 More InsetText/InsetTabular fixes!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1599 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-22 14:09:20 +00:00
Jürgen Vigna
9704a004bd Various fixes to InsetTabular and InsetText + Angus's cleanup patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1535 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-19 16:01:31 +00:00
Lars Gullik Bjønnes
9a3176581d small cleanup, doxygen, formatting changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1521 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-16 09:25:43 +00:00
Lars Gullik Bjønnes
4d2e93a02e remove cruft
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1515 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-14 19:22:41 +00:00
Jürgen Vigna
16a7d8015e Make LFUN_QUOTE work for InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1502 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-14 10:11:22 +00:00
Jürgen Vigna
a30e709a3b Some InsetTabular and -Text fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1501 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-14 08:38:21 +00:00
Dekel Tsur
a996b1bd2b - Add support for the align environment from amsmath
- RTL fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1479 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-11 09:58:20 +00:00
Dekel Tsur
371c6ba3ba Fix selection in insettext.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1474 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-09 17:53:20 +00:00
Dekel Tsur
6a1eb43bc4 Fix selection in insettext.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1466 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-08 17:55:19 +00:00
Jean-Marc Lasgouttes
53b30ba060 The bell is dead
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1344 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-17 17:33:22 +00:00
Lars Gullik Bjønnes
716cd578ae patch from Dekel, change lyxformat to int
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1313 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-11 11:06:10 +00:00
Jürgen Vigna
12747e1af9 Dekels tabular/textinset patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1305 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-08 16:14:09 +00:00