Christian Ridderström
ea74988acc
Started on comments for the LFUNs, and added note for LFUN_BUFFER_WRITE_AS
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19486 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 22:34:39 +00:00
Richard Heck
a984321131
Introduce LFUN to save all modified files, and add menu entries.
...
Patch from Guillaume Pothier for 1.4.x adapted by me to current trunk.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19338 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 15:34:02 +00:00
Jean-Marc Lasgouttes
36481c2744
Fix bug 3799.
...
* src/LyXAction.cpp:
* src/lfuns.h: remove LFUN_TOOLBAR_TOGGLE_STATE.
* src/LyXFunc.cpp (getStatus, dispatch): merge LFUN_TOOLBAR_TOGGLE
and LFUN_TOOLBAR_TOGGLE_STATE. Add an informational message after
dispatch.
* src/frontends/LyXView.cpp (toggleToolbarState):
* src/frontends/Toolbars.cpp (toggleToolbarState): add allowauto
parameter.
* src/MenuBackend.cpp (expandToolbars): adapt.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18690 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-06 13:52:31 +00:00
Stefan Schimanski
880b6c4d6e
1. switch LFUN_UP/DOWN handling to a structural approach, i.e. the
...
dispatchers in mathed and text only do local work, i.e. only try to
move the cursor with their local knowledge, not globally as before in
the Cursor::goUpDown function before. The old approach used one of
brutefind functions as a last way out to really move the cursor up or
down. The result was some strange behavior that the nearest inset was
selected when jumping from math to text, not one in the next line.
2. removed LFUN_FINISHED_UP/DOWN, as there seem to be no effect and it
seems to be obsolete.
3. target_x is working again, mainly by adding a textTargetOffset_
member to the Cursor which keeps the difference between the target_x
and the actual position of the cursor on screen. As long as
pos+offset=target is fulfilled the target_x is not touched and the
cursor keep the column while going up/down.
4. moved the text cursor up/down code to the Cursor class, in analogy
to the mathed code.
5. For 1 it is necessary to know the cursor position before the
dispatch. So this data is added to the Cursor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18569 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 20:53:32 +00:00
Edwin Leuven
630fe09637
- introduces toolbar_toggle lfun
...
- adds a "toggle math toolbar" and "toggle table toolbar" buttons to the main toolbar
(i also moved "toggle toc" there)
- adds a "toggle math panels" button to the math toolbar
- reshuffles the Big Operators panel to avoid confusion with the sum icon on the math toolbar
- adds some icons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18478 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-23 22:08:07 +00:00
Bo Peng
4ce743a0a7
Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
...
* src/LyXAction.cpp: listing-insert action
* src/insets/Inset.h,cpp: LISTINGS_CODE
* src/insets/InsetInclude.cpp: handle \lstinputlisting
* src/insets/InsetListings.h,cpp: new listings inset
* src/insets/InsetListingsParams.h,cpp: parameters from listings package
* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
* src/Bidi.cpp: handle LISTINGS_CODE
* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
* src/frontends/qt4/ui/ListingsUi.ui: new dialog
* src/frontends/qt4/ui/IncludeUi.ui: update UI
* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
* src/frontends/qt4/QListings.h,cpp: new listings inset
* src/frontends/qt4/Dialogs.cpp: new listings dialog
* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
* src/frontends/controllers/ControlListings.h,cpp: new listings inset
* src/LyXFunc.cpp: handle LISTING_CODE
* src/Paragraph.cpp: handle LISTING_CODE
* src/factory.cpp: new listings inset
* src/CutAndPaste.cpp: handle LISTINGS_CODE
* src/LaTeXFeatures.cpp: require listings
* src/Text3.cpp: Handle LISTINGS_CODE
* src/lfuns.h: add LFUN_LISTING_INSERT
* src/Buffer.cpp: change lyx file format to 269
* src/BufferParams.h,cpp: add listings_params to preamble
* lib/lyx2lyx/LyX.py: lyx2lyx
* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
* lib/ui/stdmenus.inc: new menu item (no shortcut!)
* src/insets/Makefile.am: update autotools
* src/frontends/controllers/Makefile.am
* src/frontends/qt4/Makefile.dialogs
* src/frontends/qt4/Makefile.am
* po/POTFILES.in: a few more translatable files.
* development/scons/scons_manifest.py: scons build system
* development/FORMAT: document format changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
Jürgen Spitzmüller
699fd5a7b4
* src/lfuns.h:
...
* src/LyXAction.cpp:
* src/LyXFunc.cpp:
- implement new LFUN_DIALOG_TOGGLE
- remove obsolete LFUN_TOC_VIEW
* lib/ui/classic.ui:
* lib/ui/stdmenus.inc:
- use dialog-toggle for toc and view-source
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18118 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 14:29:49 +00:00
André Pönitz
42123ab8a7
rename LCursor->Cursor
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18040 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 14:56:30 +00:00
Bo Peng
00e305c9d9
Rename .C ==> .cpp for files in src, part one
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:41:58 +00:00
André Pönitz
d22eb752ee
remove half-baked greek-insert stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18013 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 23:15:49 +00:00
André Pönitz
a3828f81ee
the greek-insert stuff, incidently containing unrelated the removal of paragraph_pimpl.C
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17972 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 07:48:35 +00:00
Michael Schmitt
1f7a1257f1
* change LFUN file-insert-ascii to file-insert-plaintext
...
* change LFUN file-insert-ascii-para to file-insert-plaintext-para
* change LyXRC::RC_ASCIIROFF_COMMAND to LyXRC::RC_PLAINTEXT_ROFF_COMMAND
* change LyXRC::RC_ASCII_LINELEN to LyXRC::RC_PLAINTEXT_LINELEN
* replace "ascii" by "plaintext" in method names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-15 22:49:14 +00:00
Bo Peng
7b031e5d86
Add inset clearpage and cleardoublepage, from Urgas
...
* src/insets/insetert.C
* src/text3.C
* src/lfuns.h
* src/factory.C
* src/tex2lyx/text.C
* src/text.C
* src/LyXAction.C: add and handle LFUN_CLEARPAGE_INSET and LFUN_CLEARDOUBLEPAGE_INSET
* src/insets/insetpagebreak.h/C: extend InsetPageBreak
* lib/lyx2lyx/lyx_1_5.py: file format change
* lib/ui/stdmenus.ui: add menu items
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16037 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 15:09:01 +00:00
Georg Baum
e35725d5c0
New nomenclature inset from Ugras
...
* src/LyXAction.C
(LyXAction::init): Add LFUN_NOMENCL_INSERT and LFUN_NOMENCL_PRINT
* src/insets/insetbase.C
(build_translator): ditto
* src/LaTeXFeatures.C
(LaTeXFeatures::getPackages): Add nomencl
* src/insets/insetnomencl.[Ch]: new insets InsetNomencl and
InsetPrintNomencl
* src/insets/insetbase.h: Add NOMENCL_CODE and NOMENCL_PRINT_CODE
* src/insets/insetcommandparams.C
(InsetCommandParams::findInfo): Add nomenclature and printnomenclature
(InsetCommandParams::getCommand): Extend end of command protection to
cover commands with only optional arguments like printnomenclature
* src/insets/insetert.C
(InsetERT::getStatus): disable LFUN_NOMENCL_INSERT and
LFUN_NOMENCL_PRINT
* src/insets/Makefile.am: Add new files
* src/frontends/qt4/Makefile.dialogs: ditto
* src/frontends/qt4/Makefile.am: ditto
* src/factory.C
(createInset): Handle InsetNomencl and InsetPrintNomencl
(readInset): ditto
* src/buffer.C
(LYX_FORMAT): increase
* src/lyxfunc.C
(LyXFunc::dispatch): Handle nomenclature
* src/LaTeX.C
(LaTeX::deleteFilesOnError): Delete .nls file
(LaTeX::run): Run makeindex for nomenclature
(LaTeX::runMakeIndex): handle nomenclature options
(LaTeX::deplog): Recognize nomenclature file
* src/frontends/qt4/QNomenclDialog.[Ch]: new
* src/frontends/qt4/QNomencl.[Ch]: ditto
* src/frontends/qt4/ui/QNomenclUi.ui: ditto
* src/frontends/qt4/Dialogs.C
(Dialogs::build): handle nomenclature dialog
* src/text3.C
(LyXText::dispatch): Handle LFUN_NOMENCL_INSERT and
LFUN_NOMENCL_PRINT
(LyXText::getStatus): Ditto
* src/lfuns.h
(kb_action): Add LFUN_NOMENCL_INSERT and LFUN_NOMENCL_PRINT
* lib/lyx2lyx/LyX.py
(format_relation): Update 1.5 format range
* lib/lyx2lyx/lyx_1_5.py
(revert_nomenclature): New
(revert_printnomenclature): ditto
* lib/chkconfig.ltx: Test for nomencl package
* lib/doc/LaTeXConfig.lyx.in: Add nomencl package
* lib/doc/Extended.lyx: Add documentation for nomencl
* lib/ui/stdtoolbars.ui
(Toolbar "extra" "Extra"): Add nomencl-insert
* lib/ui/classic.ui: Add nomencl-insert and nomencl-print
* lib/ui/stdmenus.ui: ditto
* development/scons/scons_manifest.py: Add new files
* development/FORMAT: Describe new format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15739 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 17:55:36 +00:00
Bo Peng
eaa33dca6d
Session/Toolbars:
...
* src/LyXAction.C: LFUN_TOOLBAR_TOGGLE_STATE
* src/session.h/C: add ToolbarSection class
* src/lyxfunc.C: handle LFUN_TOOLBAR_TOGGLE_STATE
* src/frontends/LyXView.h/C: toggleToolbarState(name)
* src/frontends/Toolbars.h/C: initFlags, toogle and save toolbar,
changed update logic
* src/frontends/qt4/QLToolbar.h/C: saveInfo. Surprisingly little is
asked from frontend.
* src/frontends/qt4/GuiView.C: save toolbar when lyx exits
* src/MenuBackend.h/C: add Toolbars submenu
* src/lfuns.h: add LFUN_TOOLBAR_TOGGLE_STATE
* src/ToolbarBackend.h: add AUTO flag
* lib/ui/stdmenus.ui: add view->Toolbar menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15691 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-02 16:01:36 +00:00
Bo Peng
f49f2f6e22
New bookmarks implementation:
...
* src/lyxfunc.C: handle LFUN_BOOKMARK_GOTO and LFUN_BOOKMARK_CLEAR
* src/session.h/C: store bookmarks here.
* src/lfuns.h, src/LyXAction.C: add LFUN_BOOKMARK_CLEAR
* src/BufferView.h/C: remove saved_positions, move LFUN_BOOKMARK_GOTO to lyxfunc.C
* src/MenuBackend.h/C: add Bookmarks menu type
* lib/ui/stdmenus.ui: change bookmarks menu items
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15673 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 15:55:17 +00:00
Abdelrazak Younes
f4857dab04
new LFUN_WINDOW_CLOSE
...
* LyXFunc:
- dispatch(): transfer assertion on lyx_view_ to each LFUN on a case by case basis.
- dispatch(): new LFUN_WINDOW_CLOSE
- getStatus(): special treatment for LFUN_LYX_QUIT
* LyX:
- views_, addLyXView(): deleted
- quit(): call saveGeometry() on each LyXView before exiting.
* GuiApplication:
- is now a QObject.
- quitLyX(): new Qt slot for lastWindowClosed signal.
* Gui.h:
- destroyView(), destroyWorkArea(): deleted
- viewIds(): new method
* GuiImplementation:
- implement above changes.
- GuiImplementation is now a QObject
- cleanupViews(): new private slot.
- buildViewIds(): new helper method
- views_ and work_areas_ are now maps of raw pointers instead of schared_ptr.
* LyXView
- now stores its id.
- dispatch(): special treatment for LFUN_WINDOW_CLOSE.
- workAreaIds(): new method.
- close(): new pure virtual method.
- saveGeometry(): new pure virtual method.
* GuiView:
- implements above changes.
- GuiView(): set WA_DeleteOnClose and Qt::WA_QuitOnClose to let Qt manage the destruction on close().
- closeEvent(): session stuff transfered to saveGeometry()
* WorkArea
- now store its id.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15514 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 16:29:24 +00:00
Lars Gullik Bjønnes
3674a8c003
LFUN_UNICODE_INSERT - unicode-insert
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15490 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 18:47:19 +00:00
Abdelrazak Younes
4d3fbc113f
My six month cleanup crusade is now paying off: LyX has now multiple windows support!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15438 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 09:45:11 +00:00
André Pönitz
6c300f72a2
move everything into namespace lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15422 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 00:16:43 +00:00
Abdelrazak Younes
f2ca75b3ac
remove LFUN_TOOLTIPS_TOGGLE and associated Dialog::tooltipsEnabled() method.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15263 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-06 21:49:13 +00:00
Michael Schmitt
4160f069a7
* src/LyXAction.C:
...
* src/BufferView.C:
* src/lfuns.h: introduce LFUN_CHANGE_NEXT
* src/text3.C: activate LFUN_ACCEPT/REJECT_CHANGE only in CT mode
* src/rowpainter.C: reduce change bar width
* src/rowpainter.h: enlarge change bar margin
* lib/ui/stdmenus.ui: add "Next Change" in "Navigate" menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15249 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 21:43:40 +00:00
Abdelrazak Younes
bcb71b1fbe
Merge BufferView and BufferView_pimpl
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15013 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-16 10:08:51 +00:00
Michael Schmitt
b8f28d4a58
add comments on the purpose and status of some LFUNs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14921 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-06 18:34:57 +00:00
Michael Schmitt
a2f396827c
remove LFUN_INSET_SCROLL and LFUN_DIALOG_SHOW_NEXT_INSET
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14920 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-06 18:20:35 +00:00
Jürgen Spitzmüller
0ce73aa2c4
Implement LFUN_INSET_DISSOLVE (bug 2201):
...
* src/LyXAction.C:
* src/lfuns.h:
- add new lfun LFUN_INSET_DISSOLVE.
* src/insets/insettext.C
(void InsetText::doDispatch):
- dissolve inset when hitting backspace in the
very first or delete in the very last position
of an inset.
* src/text3.C
(void LyXText::dispatch):
(bool LyXText::getStatus):
- implement new lfun LFUN_INSET_DISSOLVE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14572 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 13:34:02 +00:00
Michael Schmitt
bc1582b0b1
remove LFUN_INSET_DIALOG_SHOW
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14450 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-14 08:11:23 +00:00
Georg Baum
c9c6ed0b7f
Split clipboard and X selection
...
* src/LyXAction.C
(LyXAction::init): handle new LFUN_CLIPBOARD_PASTE
* src/insets/insettabular.C
(InsetTabular::doDispatch): ditto
* src/insets/insetbox.C
(InsetBox::doDispatch): ditto
* src/insets/insetert.C
(InsetERT::doDispatch): ditto
(InsetERT::getStatus): ditto
* src/insets/insetcharstyle.C
(InsetCharStyle::doDispatch): ditto
* src/BufferView_pimpl.C
(BufferView::Pimpl::selectionRequest): stuff selection, not clipboard
* src/mathed/math_nestinset.C
(MathNestInset::lfunMousePress): get stuff selection, not clipboard
(MathNestInset::lfunMouseRelease): clipboard -> selection in
commented code
* src/CutAndPaste.C
(cutSelection): ditto
* src/frontends/{qt3,gtk}/GuiImplementation.C
(GuiImplementation::newWorkArea): create new selection, not clipboard,
since the clipboard is now an object
(GuiImplementation::destroyWorkArea): destroy selection, not clipboard
* src/frontends/{qt4,qt3,gtk}/GuiSelection.h: new, copied from
GuiClipboard.h
* src/frontends/{qt4,qt3,gtk}/GuiSelection.C: new, copied from
GuiClipboard.C
* src/frontends/{qt3,gtk}/GuiImplementation.h
(selection): new accessor for selection_
(selection_): new, the global selection object
* src/frontends/{qt4,qt3,gtk}/Makefile.am: add GuiSelection.C and
GuiSelection.h
* src/frontends/{qt4,qt3,gtk}/GuiClipboard.C
(GuiClipboard::get): return clipboard, not selection
(GuiClipboard::put): stuff clipboard, not selection
* src/frontends/{qt4,qt3,gtk}/GuiClipboard.h
(haveSelection): remove (this is now in GuiSelection)
* src/frontends/{qt3,gtk}/GuiClipboard.h
(old_work_area_): remove, since it is not needed anymore
* src/frontends/gtk/ghelpers.C
(getGTKStockIcon): handle LFUN_CLIPBOARD_PASTE
* src/frontends/Clipboard.h
(haveSelection): remove (this is now in Selection)
* src/frontends/qt4/GuiImplementation.[Ch]
(GuiImplementation::selection): new accessor for selection_
* src/frontends/Gui.h
(selection): New accessor for the global selection object
* src/frontends/Selection.h; new, copied from Clipboard.h
* src/frontends/Makefile.am: add Selection.h
* src/text3.C
(various): s/clipboard().haveSelection/selection().haveSelection/
(LyXText::dispatch): handle LFUN_CLIPBOARD_PASTE
(LyXText::getStatus): ditto
* src/lfuns.h: new lfun LFUN_CLIPBOARD_PASTE
* lib/ui/stdmenus.ui: add new lfun LFUN_CLIPBOARD_PASTE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14408 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-10 11:32:25 +00:00
Michael Schmitt
1396ade8b1
fix LFUN enum values (some of them were broken by r13801)
...
adjust some commands according to the LyX naming conventions
(toggle-tooltip => tooltip-toggle, *-change(s) => change(s)-*)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13811 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-08 18:09:19 +00:00
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