Commit Graph

1077 Commits

Author SHA1 Message Date
Angus Leeming
be16393a7b * Remove LFUN_REF_INSERT.
* Add LFUN_DIALOG_SHOW_NEW_INSET to LyXFunc::getStatus' switch.
* Add a new LFUN_INSET_DIALOG_UPDATE to replace those nasty dynamic casts
in LyXFunc::dispatch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6377 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-07 15:58:02 +00:00
Angus Leeming
e22ee4208d port the minipage dialog to the new scheme. Various other small changes
in the inset mailers and in the controllers.
Enable the include dialog to be lauched for a new inset (should please John ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6374 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-07 14:08:10 +00:00
Lars Gullik Bjønnes
9973bb7aa1 add some cut and paste bugs (disguised as cleanups)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6373 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-06 21:01:04 +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
89ec5bc244 make CutAndPaste be a namespace instead of a class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6371 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-06 15:39:37 +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
Angus Leeming
61419611a0 Move the include dialog to the new scheme
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6353 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-05 14:59:37 +00:00
Angus Leeming
b7c9ae4931 Move the external dialog to the new scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6351 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-05 11:30:35 +00:00
Lars Gullik Bjønnes
40d00da985 fix some rand cases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6349 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-05 09:41:49 +00:00
Lars Gullik Bjønnes
5c4091e019 remove usage of Paragraph::next and Paragraph::previous
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6346 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 22:11:45 +00:00
Lars Gullik Bjønnes
ebc4d99eaa add a ParagraphList::insert, adjust other funcs accordingly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6345 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 21:40:36 +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
4bc6c8ebd5 more ParagraphList::iterator usage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6343 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 19:52:35 +00:00
Lars Gullik Bjønnes
70687ca7fc more ParagraphList::iterator usage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6340 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 18:50:31 +00:00
Angus Leeming
e5cd3ce1a4 LFUN_INSET_MODIFY
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6336 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 14:31:04 +00:00
Lars Gullik Bjønnes
2f71b9d235 ws changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6333 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 09:27:27 +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
Lars Gullik Bjønnes
60322bc9d7 move some functions around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6328 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-03 21:15:49 +00:00
Lars Gullik Bjønnes
ea59317b9a use the par iterators a bit more, make paragraphs public in insettext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6315 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-02 23:44:58 +00:00
Lars Gullik Bjønnes
aaa02999f2 remove some compability code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6314 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-02 12:48:45 +00:00
Lars Gullik Bjønnes
1583baeb34 ws chanes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6313 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-02 12:16:00 +00:00
André Pönitz
f566e7c604 Alfredo's patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6305 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-28 09:49:49 +00:00
Angus Leeming
05a4c4d79f A real, LyX label dialog. Part 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6301 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-27 16:24:14 +00:00
Angus Leeming
ede9561daa Collapse all those LFUN_XYZ_APPLY to a single LFUN_INSET_APPLY.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6293 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-27 13:26:07 +00:00
Angus Leeming
86e2d69f18 Add locaDispatch methods to various inset classes. refactor the LFUN_XYZ_APPLY
code but do not yet attempt to collapse them into LFUN_DIALOG_APPLY.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6289 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 19:28:38 +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
Angus Leeming
fa09ff85c4 Define InsetCommand::localDispatch and use it for LFUN_REF_APPLY.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6281 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 15:01:10 +00:00
John Levon
d9468ad98d minor tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6272 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 19:51:46 +00:00
Angus Leeming
cda53633ff Hold on to your hats.
Qt users should autogen.sh
Gnome users --- you're on your own ;-)
Happy recompiling.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6253 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-25 14:51:38 +00:00
John Levon
f413754ef5 fix bug 913 (toc crash)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6233 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-22 20:05:13 +00:00
Angus Leeming
80db139a76 The file dialog browser doesn't need a LyXView...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6223 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-21 12:22:25 +00:00
Angus Leeming
759dcbb427 * Split insetbib.[Ch] into insetbibitem.[Ch] and insetbibtex.[Ch].
* Rename bibkey as bibitem.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6217 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-21 09:20:18 +00:00
Jean-Marc Lasgouttes
b28a3d6836 document --with-frontend in INSTALL; fix writing of user email in pref; move some of john's changelogs where they belong
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6203 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-18 17:23:55 +00:00
John Levon
32b53e2e93 Andre needs a better, slower, compiler.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6200 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-18 14:37:31 +00:00
John Levon
47c34c3afa spell rework. revert fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6191 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-17 18:40:04 +00:00
André Pönitz
305c04ba8b remove the hardcoded bibkey from the paragraph
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6186 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-17 15:16:14 +00:00
John Levon
6a5681cf9d Fix merge of paragraphs at the start of a document
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6183 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-17 01:54:32 +00:00
John Levon
e3833fbf0a fix last printable pos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6182 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-17 01:53:13 +00:00
Jean-Marc Lasgouttes
498f06d43a fix compilation bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6176 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-16 12:48:24 +00:00
Jean-Marc Lasgouttes
d7599e9da1 move some code from buffer.C to bufferparams.c
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6172 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-16 00:54:43 +00:00
Jean-Marc Lasgouttes
5d3718cad2 more code in the menu backend == less code in the menu frontends; add support for OptSubmenu (not used yet)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6165 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-15 21:03:40 +00:00
John Levon
9fc9bd98f6 bufferlist cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6163 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-15 19:21:11 +00:00
Jean-Marc Lasgouttes
13780bfb63 fix display of right quote inset; fix off-by-one error in placement of error insets; fix detection of fax programs; draw arrows for symbolic skips too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6160 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 21:39:32 +00:00
John Levon
cc4085e9ff minor method name changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6152 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 15:01:06 +00:00
John Levon
13080e1cce My old allow/prohibitInput() -> busy(bool) patch cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6151 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 14:49:51 +00:00
Jean-Marc Lasgouttes
f5cc372223 fix 773 and more (from Juergen S); fix warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6149 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 13:52:32 +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
69cf3b6204 remove some very old dead code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6144 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 01:12:10 +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
Jean-Marc Lasgouttes
102266cf92 elsart support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6140 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 17:49:09 +00:00