Georg Baum
b6c3478eda
Implement GUI for fixed size math delimiters (by Enrico Forestieri and me):
...
* src/lfuns.h
(enum kb_action): New lfun LFUN_MATH_BIGDELIM
* src/LyXAction.C
(void LyXAction::init): New lfun LFUN_MATH_BIGDELIM
* src/mathed/math_nestinset.C
(void MathNestInset::doDispatch): remove debug message
(void MathNestInset::doDispatch): remove LFUN_MATH_DELIM test for
multiple cells (now in getStatus)
(void MathNestInset::doDispatch): Handle LFUN_MATH_BIGDELIM
(bool MathNestInset::getStatus): Disable LFUN_MATH_DELIM and
LFUN_MATH_BIGDELIM when the selection spans multiple cells
* src/frontends/qt3/ui/QDelimiterDialogBase.ui
Added a combobox for selecting delimiter size.
* src/frontends/qt3/QDelimiterDialog.[Ch]
(fix_name, QDelimiterDialog, insertClicked, size_selected):
Allow for fixed size delimiters.
* src/frontends/gtk/GMathDelim.C: Add FIXME commnent for fixed size
delimiters
* src/frontends/qt4/QDelimiterDialog.C: ditto
* src/frontends/xforms/FormMathsDelim.C: ditto
* src/frontends/controllers/ControlMath.[Ch]:
Added dispatchBigDelim() to deal with fixed size delimiters.
* src/text3.C
(void LyXText::dispatch): Handle LFUN_MATH_BIGDELIM
(bool LyXText::getStatus): ditto
* src/ToolbarBackend.C
(string const ToolbarBackend::getIcon): Handle LFUN_MATH_BIGDELIM
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13806 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-07 10:51:19 +00:00
André Pönitz
da65e2b7fb
rename LFUN enum values according to their command (as used in th minibuffer/bind files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13801 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-05 20:23:12 +00:00
Bo Peng
8a03d5005c
Add document->compressed menu item, by Bo Peng (ben.bob@gmail.com)
...
* src/LyXAction.C, src/lfuns.h: add LFUN_TOGGLE_COMPRESSION
* src/BufferView_pimpl.C: react to menu item
* lib/ui/stdmenus.ui: add buffer_toggle_compression
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13778 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 16:13:35 +00:00
Edwin Leuven
513ea10589
Adding PARAGRAPH_MOVE_UP/DOWN + key bindings:
...
* src/LyXAction.C
* src/text3.C
* src/lfuns.h
* lib/bind/cua.bind
* lib/bind/sciword.bind
* lib/bind/xemacs.bind
* lib/bind/emacs.bind
* lib/bind/mac.bind
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13752 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 22:43:26 +00:00
Martin Vermeer
71f356c372
Outlining improvements/fixes
...
* LyXAction.C
(LyXAction::init): add LFUN_OUTLINE_(UP|DOWN|IN|OUT)
* BufferView_pimpl.C
(BufferView::Pimpl::getStatus):
(BufferView::Pimpl::dispatch): handling of new LFUNS
* frontends/controllers/ControlToc.C
(ControlToc::canOutline): modify dispatch logic
* lfuns.h
(kb_action): add LFUNs
* toc.[Ch]
(outline): changes
* TocBackend.h: modifify == operator for Item
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13751 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 17:43:03 +00:00
Martin Vermeer
c0b204c0a8
Add outlining functionality to the TOC dialog.
...
* LyXAction.C
(LyXAction::init): define command
* BufferView_pimpl.C
(BufferView::Pimpl::getStatus):
(BufferView::Pimpl::dispatch): add handling code
* frontends/qt2/QTocDialog.C: add connections, adapters
* frontends/qt2/ui/QTocDialogBase.ui: add pushbuttons
* frontends/qt2/QTocDialog.h: add adapters
* frontends/qt2/QToc.[Ch]
(QToc::updateToc):
(QToc::select): add code for TOC window positioning, and
outlining methods
* frontends/controllers/ControlToc.[Ch]: implement methods
* lfuns.h
(kb_action {): define LFUN
* toc.[Ch]: implement up, down, in and out operations in Outline
method
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13521 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 05:08:42 +00:00
Jean-Marc Lasgouttes
6e1863bc69
get rid of LFUN_KEYMAP_TOGGLE
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10576 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-25 15:07:22 +00:00
Jürgen Spitzmüller
504dfddf35
reimplement citation-insert, which is needed by bibliography managers, as discussed on bugzilla (bug 2071)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10529 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-07 14:51:39 +00:00
Jürgen Spitzmüller
361de37399
reintroduce LFUN_BIBDB_ADD and LFUN BIBDB_DEL (bug 961)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10104 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-25 15:57:15 +00:00
Georg Baum
ce7da69af1
Another set of text changes from Michael, approved by John
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9920 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-08 10:02:38 +00:00
Jürgen Spitzmüller
04a3819779
Fix output of change tracked documents (also fixes bug 1031)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9535 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-24 17:12:19 +00:00
Jean-Marc Lasgouttes
a839021d22
implement Word counting (bug 728)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9402 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-27 16:30:27 +00:00
Lars Gullik Bjønnes
183239b7de
rename priv_dispatch to doDispatch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9301 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-24 21:58:42 +00:00
Jean-Marc Lasgouttes
8b7da465d8
implement buffer-next/previous (bug 515)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9103 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-22 10:24:55 +00:00
Angus Leeming
3ea4eeb8a5
Citation labels now update immediately if the citation engine is changed
...
from the document dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8756 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-17 08:52:21 +00:00
Angus Leeming
da61af2b8e
Georg's add an editor to Formats / safe external_templates patch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8645 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-13 10:36:09 +00:00
Angus Leeming
931a49cc87
A new LFUN_LYXRC_APPLY lfun, together with a bit of a clean-up of the
...
preferences dialog code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8570 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 16:50:59 +00:00
Angus Leeming
eddeb13d2d
5 new lfuns, move all apply code out of ControlDocument and into the core.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8565 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-30 16:19:50 +00:00
Angus Leeming
991b0ec589
A slightly buggy lfun all-insets-toggle.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8564 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-30 12:36:33 +00:00
Angus Leeming
39ec3d0eb8
Introduce LFUN_PRINT.
...
Convert the printer dialog to the Dialog-based scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8552 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-28 14:12:33 +00:00
Angus Leeming
71a40af134
New LFUN_EXPORT_CUSTOM.
...
Convert the Sendto dialog to the Dialog-based scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8551 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 23:11:46 +00:00
André Pönitz
0d43ba149a
the stuff from the sneak preview:
...
For one, it still contains a few things that are already in CVS (the
'brown paperbag' changes).
Secondly, this changes the ParagraphList to a std::vector but does not
yet take full advantage of it except removing LyXText::parOffset() and
similar.
I had an extensive talk with my profiler and we are happy nevertheless.
This also moves almost all Cut&Paste specific stuff from text.C to
CutAndPaste.C. Much smaller interface now... Namespace CutAndPaste is
now lyx::cap::. Was inconsistent with the rest....
Make ParagraphList a proper class. We'll need this later for a
specialized erase/insert.
Remove some unneeded prototypes and function declarations
Use ParameterStruct directly instead of ShareContainer<ParameterStruct>
Inline a few accesses to CursorSlice members as suggested by the profiler.
Fix commandline conversion crash reported by Kayvan.
Replace PosIterator by DocumentIterator. The latter can also iterate
through math and nested text in math...
Remove math specific hack from Documentiterator
Derive InsetCollapsable from InsetText instead of using an InsetText
member. This give us the opportunity to get rid of the InsetOld::owner_
backpointer.
Cosmetics in CutAndPaste.C and cursor.C. Fix nasty crash (popping slices
off an empty selection anchor). Add a few asserts.
Remove all 'manual' update calls. We do now one per user interaction which
is completely sufficient.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8527 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 09:16:36 +00:00
Angus Leeming
5394e9acc5
Remove the Forks dialog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8497 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-17 21:21:47 +00:00
André Pönitz
a16452bc34
new LFUN_WORD_REPLACE and LFUN_WORD_FIND
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8317 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 15:09:51 +00:00
Jürgen Spitzmüller
038032fefd
Michael's latest minipage cleanup patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8282 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-29 13:55:45 +00:00
André Pönitz
7de76711b1
move space above/below from Paragraph into a separate vspace inset.
...
Gui interaction mailer stuff by Angus...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8149 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 15:53:34 +00:00
Martin Vermeer
59fefa0759
The Character Style and XML short element inset.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8078 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-12 14:38:26 +00:00
André Pönitz
b0cffd9fc0
The deed is done.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8064 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 09:06:48 +00:00
André Pönitz
db78dbfa04
cursor changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8035 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 12:36:59 +00:00
André Pönitz
69fae0531d
* lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
...
* factory.C: handle new InsetPagebreak, InsetLine
* ParagraphParameters.h: remove [line|pagebreak]_[above|below]
and move handling into new InsetPagebreak, InsetLine
* BufferView_pimpl.C:
* LyXAction.C:
* ParagraphParameters.C:
* ParameterStruct.h:
* lyxfunc.C:
* lyxtext.h:
* paragraph.C:
* paragraph.h:
* paragraph_funcs.C:
* paragraph_pimpl.C:
* rowpainter.C:
* text.C:
* text2.C:
* text3.C: adjust
etc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7985 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 12:41:26 +00:00
Martin Vermeer
800c0dfc38
The Box patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7865 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 07:42:15 +00:00
Angus Leeming
ffdb0baea3
Get rid of trailing whitespace 'noise' in future patches for the
...
forseeable future.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7724 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 18:27:24 +00:00
Martin Vermeer
781e0ef62e
The mouse box patch for button-style insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7662 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 14:02:05 +00:00
Angus Leeming
0be0fcfd59
If I ever see another licence blurb again, it'll be too soon...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00
Martin Vermeer
fd6cd728a3
The 'Branches' mega-patch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7560 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-17 11:28:23 +00:00
Angus Leeming
bb01b3884c
Remove 14 LFUNs; use "dialog-show <name> <data>" instead.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7191 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-19 16:49:45 +00:00
Angus Leeming
a0aa73cf1e
Fix memory leaks in the Qt math panel.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7176 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-17 00:30:47 +00:00
Angus Leeming
822efad779
LFUN_EXTERNAL_EDIT.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7144 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-11 11:01:34 +00:00
John Levon
91b3be6f57
remove insetparent
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7084 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-02 14:19:30 +00:00
Lars Gullik Bjønnes
314b4903ac
The "I want this in now" patch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7018 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 07:44:09 +00:00
Angus Leeming
b3608133b0
(Juergen) the new space inset.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6998 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 10:40:57 +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
John Levon
eab8eaec5c
inset-settings LFUN and a bugfix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-26 19:01:33 +00:00
John Levon
c5e48cabc7
bug 778
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6832 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-18 19:00:46 +00:00
John Levon
eeb63c6544
remove the help funcs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6747 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-09 20:51:35 +00:00
John Levon
3c1b0ea16b
tab funcs changed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6691 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-02 22:12:52 +00:00
Lars Gullik Bjønnes
0eaa5ae519
rowlist4
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6650 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-30 18:42:37 +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
Angus Leeming
bd56331825
Satisfy JMarc and Lar's desire for LFUN_INSET_INSERT
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6577 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-25 21:27:07 +00:00
John Levon
54d9f7c022
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6542 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-19 17:15:32 +00:00