lyx_mirror/src
Richard Heck 6576aed3d5 This patch allows for multiple LFUNs to be bound to a single key, via a new command-alternatives function, to be used like so:
\bind "Tab" "command-alternatives" "completion-accept;cell-forward"
The first of the metioned functions that is enabled with be called.

The code is pretty trivial and just stolen from command-sequence.

The binding mentioned is more or less the point of the patch, but we still need to decide exactly what the bindings should be. There have been various threads concerning this. You can use the above for testing. Add it to site.bind, replacing the existing binding.

Jose: Once the bindings have been sorted out, that will complete the work on this we said we wanted to do for rc3.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26518 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 15:08:46 +00:00
..
client Remove our in tree gettext version and replace with a mechanism to import it. 2008-06-06 15:25:55 +00:00
frontends This patch prevents the shortcut dialog from silently over-writing existing bindings. (Indeed, both bindings will show up, prior to this patch, though only one will work.) A better solution would be to ask the user for permission to over-write, and then to take appropriate action. But this will do for now. 2008-09-24 14:56:43 +00:00
graphics Simplify image creation with a new factory function: newImage(). 2008-09-19 12:01:01 +00:00
insets cosmetics 2008-09-21 19:27:20 +00:00
lyxled next try... 2008-04-02 23:06:22 +00:00
mathed use Length::inPixel and not Length::inBP to get screen lengths 2008-09-18 13:59:35 +00:00
support add FileName::extension() method. 2008-09-22 09:44:44 +00:00
tex2lyx * update tex2lyx man page, mostly done bei Uwe (bug 2770). 2008-07-28 07:52:27 +00:00
ASpell_local.h
ASpell.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
Author.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
Author.h
BiblioInfo.cpp Coding style 2008-09-08 01:18:33 +00:00
BiblioInfo.h Implement a cache for BibTeX data. There was a cache of sorts already in InsetCitation, but that was being used only to cache the labels. So that has been moved to Buffer, and everything else that needs access to BibTeX data should call either Buffer::localBibInfo(), which gives you the BiblioInfo for this Buffer, or Buffer::masterBibInfo(), which gives you the BiblioInfo for the Buffer's master, if it has one, or for it, otherwise. Normally, what you want is masterBibInfo(). 2008-04-25 20:03:03 +00:00
Bidi.cpp
Bidi.h
boost.cpp Sanitize LyX singleton access by getting rid of ref() and cref() methods. 2008-07-14 08:35:00 +00:00
Box.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
Box.h
BranchList.cpp cosmetics 2008-09-21 19:27:20 +00:00
BranchList.h cosmetics 2008-09-21 19:27:20 +00:00
buffer_funcs.cpp * make sure that the reference cache, buffer_ pointers and macros are updated 2008-08-13 10:36:43 +00:00
buffer_funcs.h There was a bit too much copying of dociterators gpoing on leading to an 2008-01-12 21:38:51 +00:00
Buffer.cpp Coding style 2008-09-08 01:18:33 +00:00
Buffer.h Move child document closing from InsetInclude dtor to Buffer parent dtor. Fix http://bugzilla.lyx.org/show_bug.cgi?id=5047 2008-07-20 17:52:55 +00:00
BufferList.cpp BufferList::next() and previous(): don't cycle through 'internal' buffers. 2008-09-22 09:59:46 +00:00
BufferList.h BufferList::bufferNum() and getFileNames(): migrate to FileName/FileNameList 2008-07-29 08:52:25 +00:00
BufferParams.cpp cosmetics 2008-09-21 19:27:20 +00:00
BufferParams.h Support for removing "default" modules. 2008-07-27 17:46:27 +00:00
BufferView.cpp BufferView::mouseDispatch: make sure to create an undo group 2008-09-18 13:44:54 +00:00
BufferView.h fix properly http://bugzilla.lyx.org/show_bug.cgi?id=2040 2008-09-17 14:51:27 +00:00
Bullet.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
Bullet.h
Changes.cpp Colors for multi-author track changes. 2008-09-22 15:30:26 +00:00
Changes.h Colors for multi-author track changes. 2008-09-22 15:30:26 +00:00
Chktex.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
Chktex.h
Citation.h Cosmetics. 2008-04-20 16:34:30 +00:00
CmdDef.cpp remove unneeded includes. 2008-05-06 06:48:38 +00:00
CmdDef.h CmdDef: 2007-12-02 22:10:26 +00:00
Color.cpp Be at least consistent. 2008-09-23 14:18:59 +00:00
Color.h
ColorCode.h Colors for multi-author track changes. 2008-09-22 15:30:26 +00:00
CompletionList.h cosmetics/#include cleanup 2008-03-15 00:22:54 +00:00
Converter.cpp Refresh before checking for equality. Solves problem noted by Bennett. 2008-07-29 18:16:05 +00:00
Converter.h
ConverterCache.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
ConverterCache.h
CoordCache.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
CoordCache.h
Counters.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
Counters.h two uninitialized variables uncovered by valgrind, and a gcc warning 2008-03-13 10:28:02 +00:00
Cursor.cpp Fix bug 5246 2008-09-14 17:51:46 +00:00
Cursor.h Let doxygen document this. 2008-09-12 10:42:23 +00:00
CursorSlice.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
CursorSlice.h Cosmetics. 2008-02-11 08:03:03 +00:00
CutAndPaste.cpp Fix copy & paste of inset inside table cell. 2008-09-15 17:03:15 +00:00
CutAndPaste.h constification without any code change. This is part of and effort to see whether BufferView::cursor() could be made const 2008-08-13 13:46:19 +00:00
DepTable.cpp header cleanup. 2007-12-16 22:09:28 +00:00
DepTable.h
Dimension.cpp
Dimension.h
DispatchResult.h
DocIterator.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
DocIterator.h Add missing operator>= to DocIterator 2008-08-12 09:51:00 +00:00
Encoding.cpp ** proper implementation of pLaTeX by Tetsuya Makimura and me, fixes many remaining problems and bugs with language "japanese" (bugs 4863, 4290, 4700 and partially 4697) ** 2008-08-18 17:26:09 +00:00
Encoding.h ** proper implementation of pLaTeX by Tetsuya Makimura and me, fixes many remaining problems and bugs with language "japanese" (bugs 4863, 4290, 4700 and partially 4697) ** 2008-08-18 17:26:09 +00:00
ErrorList.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
ErrorList.h
Exporter.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
Exporter.h
factory.cpp Pass Buffer in InsetQuote ctor. Patch fro Richard. 2008-09-06 14:04:01 +00:00
factory.h
Floating.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
Floating.h
FloatList.cpp Remove comment. This issue no longer seems to exist. 2008-03-07 03:42:39 +00:00
FloatList.h
Font.cpp Fix part of bug 4836 2008-05-07 23:33:56 +00:00
Font.h
FontEnums.h
FontInfo.cpp a bit of compilation unbreaking 2008-05-06 10:22:25 +00:00
FontInfo.h
FontList.cpp simplify code by using fontIterator() 2008-07-16 12:40:10 +00:00
FontList.h
Format.cpp * Support for graphics pasting (with most code in the frontend's GuiClipboard) 2008-02-03 10:43:03 +00:00
Format.h
FuncCode.h This patch allows for multiple LFUNs to be bound to a single key, via a new command-alternatives function, to be used like so: 2008-09-24 15:08:46 +00:00
FuncRequest.cpp s/kb_action/FuncCode/g 2008-03-15 01:20:36 +00:00
FuncRequest.h s/kb_action/FuncCode/g 2008-03-15 01:20:36 +00:00
FuncStatus.cpp FuncStatus::enabled(bool) --> FuncStatus::setEnabled(bool) 2008-05-29 15:14:00 +00:00
FuncStatus.h FuncStatus::enabled(bool) --> FuncStatus::setEnabled(bool) 2008-05-29 15:14:00 +00:00
Graph.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
Graph.h
InsetIterator.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
InsetIterator.h
InsetList.cpp Fix http://bugzilla.lyx.org/show_bug.cgi?id=5132 2008-08-07 08:50:41 +00:00
InsetList.h Fix http://bugzilla.lyx.org/show_bug.cgi?id=5132 2008-08-07 08:50:41 +00:00
Intl.cpp header cleanup 2008-02-18 07:14:42 +00:00
Intl.h
ISpell.cpp getting rid of more superfluous lyx::support:: statements. 2007-12-12 20:10:20 +00:00
ISpell.h
KeyMap.cpp This patch prevents the shortcut dialog from silently over-writing existing bindings. (Indeed, both bindings will show up, prior to this patch, though only one will work.) A better solution would be to ask the user for permission to over-write, and then to take appropriate action. But this will do for now. 2008-09-24 14:56:43 +00:00
KeyMap.h This patch prevents the shortcut dialog from silently over-writing existing bindings. (Indeed, both bindings will show up, prior to this patch, though only one will work.) A better solution would be to ask the user for permission to over-write, and then to take appropriate action. But this will do for now. 2008-09-24 14:56:43 +00:00
KeySequence.cpp Save a few bytes. 2008-09-24 13:32:09 +00:00
KeySequence.h More work on the Shortcuts UI: 2008-07-22 08:29:50 +00:00
Language.cpp Revamp of the character dialog: 2008-05-07 18:53:48 +00:00
Language.h Revamp of the character dialog: 2008-05-07 18:53:48 +00:00
LaTeX.cpp fix a bunch of harmless warnings 2008-09-16 11:33:07 +00:00
LaTeX.h fix a bunch of harmless warnings 2008-09-16 11:33:07 +00:00
LaTeXFeatures.cpp various listings fixes by Vincent, see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg143302.html 2008-09-08 21:51:38 +00:00
LaTeXFeatures.h ** subfig support ** 2008-03-02 11:30:50 +00:00
Layout.cpp Improve the local layout feature by better handling of unknown textclass, unknown layouts, and switch between textclasses. 2008-07-11 02:43:02 +00:00
Layout.h Improve the local layout feature by better handling of unknown textclass, unknown layouts, and switch between textclasses. 2008-07-11 02:43:02 +00:00
LayoutEnums.h
LayoutFile.cpp 'Default'-->'Empty' in Bo's recent commit. Default means something else in the code. 2008-07-11 03:41:56 +00:00
LayoutFile.h Add UseModule tag for layout files. This allows the AMS files, in particular, to "require" the 2008-07-25 15:51:27 +00:00
Length.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
Length.h use Length::inPixel and not Length::inBP to get screen lengths 2008-09-18 13:59:35 +00:00
lengthcommon.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
Lexer.cpp Correctly handle quotation marks in command preferences (bug 2016): 2008-05-05 13:53:28 +00:00
Lexer.h Correctly handle quotation marks in command preferences (bug 2016): 2008-05-05 13:53:28 +00:00
LyX.cpp Some locale related cleanup. JMarc, please when you come back, review this. It is working fine in all my testings though. 2008-07-28 11:26:46 +00:00
LyX.h MSVC compile fix :-) 2008-07-14 11:33:04 +00:00
LyXAction.cpp This patch allows for multiple LFUNs to be bound to a single key, via a new command-alternatives function, to be used like so: 2008-09-24 15:08:46 +00:00
LyXAction.h Get some good debug output for function codes. 2008-09-23 13:18:51 +00:00
lyxfind.cpp Bug 5173: Undo Grouping 2008-08-15 19:24:56 +00:00
lyxfind.h Fix LFUN_WORD_FIND 2008-02-10 18:52:32 +00:00
LyXFunc.cpp This patch allows for multiple LFUNs to be bound to a single key, via a new command-alternatives function, to be used like so: 2008-09-24 15:08:46 +00:00
LyXFunc.h Add some constness where we can. 2008-05-22 14:02:35 +00:00
LyXRC.cpp * separate nomencl processing command from index processing command, since nomencl 2008-08-23 09:44:00 +00:00
LyXRC.h Move maxlastfiles from Session.h to LyXRC.h 2008-09-22 07:42:57 +00:00
LyXVC.cpp VCS: Towards statusbar info. 2008-07-29 13:14:51 +00:00
LyXVC.h VCS: Towards statusbar info. 2008-07-29 13:14:51 +00:00
lyxwinres.rc
main.cpp remove a few toutf8 conversion that are done by lyxerr nowadays 2007-12-12 20:35:55 +00:00
Makefile.am Simplify image creation with a new factory function: newImage(). 2008-09-19 12:01:01 +00:00
MetricsInfo.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
MetricsInfo.h
ModuleList.cpp a bit of compilation unbreaking 2008-05-06 10:22:25 +00:00
ModuleList.h This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are. 2008-01-12 04:28:12 +00:00
Mover.cpp * get rid of support::absolutePath() 2007-12-17 16:04:46 +00:00
Mover.h Simplify Movers API and port to FileName. 2007-12-13 08:20:45 +00:00
output_docbook.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
output_docbook.h
output_latex.cpp Fix bug 448: 2008-09-18 14:51:16 +00:00
output_latex.h *** sanitize listing's encoding handling *** 2008-07-20 17:14:10 +00:00
output_plaintext.cpp fix crash: Copying the paragraphs invalidate the referenced Buffer so a new setBuffer() would be necessary, in it preferable and faster to just use a const ref. 2008-09-06 13:49:10 +00:00
output_plaintext.h
output.cpp * get rid of support::absolutePath() 2007-12-17 16:04:46 +00:00
output.h
OutputParams.cpp Fix bug 448: 2008-09-18 14:51:16 +00:00
OutputParams.h Fix bug 448: 2008-09-18 14:51:16 +00:00
paper.h
paragraph_funcs.cpp Paragraph::inInset() shall not be used if the owner inset was not initialized. Make this rule clear and unavoidable. 2008-09-13 17:01:54 +00:00
paragraph_funcs.h remove invalid comment 2008-05-29 11:25:01 +00:00
Paragraph.cpp Fix bug 448: 2008-09-18 14:51:16 +00:00
Paragraph.h Paragraph::inInset() shall not be used if the owner inset was not initialized. Make this rule clear and unavoidable. 2008-09-13 17:01:54 +00:00
ParagraphList.h
ParagraphMetrics.cpp Patch by Vincent that solves a number of problems related to the painting of a selection: 2008-09-14 14:32:40 +00:00
ParagraphMetrics.h Support full screen in BufferView 2008-02-09 17:20:23 +00:00
ParagraphParameters.cpp Remove some unused code, and replace with a comment. 2008-08-14 07:03:46 +00:00
ParagraphParameters.h Remove some unused code, and replace with a comment. 2008-08-14 07:03:46 +00:00
ParIterator.cpp * ParConstIterator::push_back(): new method for easier iterative construction. 2008-02-15 08:32:27 +00:00
ParIterator.h * ParConstIterator::push_back(): new method for easier iterative construction. 2008-02-15 08:32:27 +00:00
pch.h
PDFOptions.cpp Cosmetics. 2008-03-05 08:55:49 +00:00
PDFOptions.h Add FIXMEs wrt unicode. 2008-05-26 18:37:42 +00:00
PrinterParams.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
PrinterParams.h cosmetics 2008-04-19 20:39:48 +00:00
PSpell.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
PSpell.h
Row.cpp actually this constructor is not used 2008-09-16 13:21:30 +00:00
Row.h actually this constructor is not used 2008-09-16 13:21:30 +00:00
rowpainter.cpp git is shouting at me because of whitespaces, so what can i do... 2008-09-22 15:41:05 +00:00
rowpainter.h API cosmetics 2008-02-27 23:03:26 +00:00
Section.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
Section.h
Server.cpp * Doxy. 2008-07-07 17:26:07 +00:00
Server.h
ServerSocket.cpp a bit of compilation unbreaking 2008-05-06 10:22:25 +00:00
ServerSocket.h
Session.cpp Get rid of unused SessionInfoSection. 2008-09-22 07:30:48 +00:00
Session.h Move maxlastfiles from Session.h to LyXRC.h 2008-09-22 07:42:57 +00:00
sgml.cpp remove unneeded includes. 2008-05-06 06:48:38 +00:00
sgml.h
Spacing.cpp Move spacing code around (and fix a bug) 2008-01-22 08:41:45 +00:00
Spacing.h Move spacing code around (and fix a bug) 2008-01-22 08:41:45 +00:00
SpellBase.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
SpellBase.h
TexRow.cpp header cleanup 2008-02-18 07:14:42 +00:00
TexRow.h
TexStream.cpp Compile fix 2007-12-12 20:21:09 +00:00
TexStream.h
Text2.cpp rev26385: don't know why but some file were not committed... 2008-09-13 20:19:32 +00:00
Text3.cpp no need to record full document here 2008-09-18 10:40:53 +00:00
Text.cpp rev26385: don't know why but some file were not committed... 2008-09-13 20:19:32 +00:00
Text.h constification without any code change. This is part of and effort to see whether BufferView::cursor() could be made const 2008-08-13 13:46:19 +00:00
TextClass.cpp Coding style 2008-09-08 01:18:33 +00:00
TextClass.h A bit more empty-->plain. I've also changed createEmptyLayout() to createBasicLayout(), 2008-08-01 21:13:03 +00:00
TextMetrics.cpp Abdel can't seee anythin wrong with that 2008-09-21 01:39:00 +00:00
TextMetrics.h Patch by Vincent that solves a number of problems related to the painting of a selection: 2008-09-14 14:32:40 +00:00
Thesaurus.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
Thesaurus.h
TocBackend.cpp Simplify TocModel by using UserRole data. 2008-06-12 15:31:10 +00:00
TocBackend.h cosmetics; compile fix 2008-06-12 16:46:46 +00:00
Trans.cpp fix Bug 4119: LFUN accent-special-caron is obsolete 2008-05-07 11:17:43 +00:00
Trans.h s/kb_action/FuncCode/g 2008-03-15 01:20:36 +00:00
Undo.cpp improve debug info 2008-09-18 10:46:31 +00:00
Undo.h One more comment from JMarc. 2008-09-17 21:26:54 +00:00
update_flags.h
Variables.cpp 'using namespace std' instead of 'using std::xxx' 2007-12-12 10:16:00 +00:00
Variables.h
VCBackend.cpp fix a bunch of harmless warnings 2008-09-16 11:33:07 +00:00
VCBackend.h VCS: Towards statusbar info. 2008-07-29 13:14:51 +00:00
version.cpp
version.h
VSpace.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
VSpace.h
WordLangTuple.h
WordList.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
WordList.h * paragraph support for the global word list. To make it buffer 2008-02-26 13:07:59 +00:00