lyx_mirror/src
Enrico Forestieri 6bd593d8b3 When pasting into mathed, take into account the current mode.
For example, this allows to paste something like $x$ to a textmode
inset and get the expected result. If $x$ is pasted in mathmode,
it is pasted verbatim, such that no compile errors can arise.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26935 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 09:06:27 +00:00
..
client Let lyxclient read the whole line of input. 2008-09-26 23:58:40 +00:00
frontends OK, I lied. A little more. Just trying to keep the cleanup separate from 2008-10-16 17:29:01 +00:00
graphics Simplify image creation with a new factory function: newImage(). 2008-09-19 12:01:01 +00:00
insets Fix http://bugzilla.lyx.org/show_bug.cgi?id=5369 2008-10-17 04:35:08 +00:00
lyxled next try... 2008-04-02 23:06:22 +00:00
mathed When pasting into mathed, take into account the current mode. 2008-10-18 09:06:27 +00:00
support Fix for latest MInGW w32api 2008-10-15 22:14:39 +00:00
tex2lyx be kind to XaFooBarTeX 2008-10-12 19:19:41 +00:00
ASpell_local.h Compile fix. 2007-11-29 20:11:54 +00:00
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 cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
BiblioInfo.cpp Move NOCITE to the end of the enum, so that it will appear at the end of the list. As things were, it appeared first, and as a result was always the first thing used in a new file. 2008-09-25 18:13:25 +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 cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
Bidi.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
boost.cpp fix merge build: this is a std::exception 2008-10-03 12:51:20 +00:00
Box.cpp getting rid of superfluous std:: statements. 2007-12-12 19:28:07 +00:00
Box.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
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 fix View Source for literate documents 2008-10-16 07:43:46 +00:00
Buffer.h Fix whitespaces so the diff between branches is not so huge. 2008-10-13 11:25:37 +00:00
BufferList.cpp Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5355 2008-10-13 20:40:58 +00:00
BufferList.h Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5355 2008-10-13 20:40:58 +00:00
BufferParams.cpp OK, I lied. A little more. Just trying to keep the cleanup separate from 2008-10-16 17:29:01 +00:00
BufferParams.h Factorize out some of this. Just a bit more cleanup, prior to the patch 2008-10-16 17:14:46 +00:00
BufferView.cpp Fix properly bug 5287: http://bugzilla.lyx.org/show_bug.cgi?id=5287 2008-09-30 13:47:16 +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 Fix Abdel's FIXME. 2008-10-03 23:16:51 +00:00
Changes.h Add a "List of Changes" in the Navigator. The list is updated only when the document structure is reset or when the update button is clicked. Some work is needed to track more finely individual changes as we do for sections. 2008-09-30 11:06:34 +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 pimpl not needed here 2007-11-02 23:42:27 +00:00
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 dissolve Importer 'class' to LyXFunc/Converter 2007-10-25 06:09:38 +00:00
ConverterCache.cpp Revert r26683 and add some comments making it a little clearer what 2008-10-08 15:07:09 +00:00
ConverterCache.h more of it 2007-11-07 21:25:22 +00:00
CoordCache.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
CoordCache.h
Counters.cpp Fix bug 5316 properly. The fix is to make the routine that reads a counter 2008-10-06 14:37:28 +00:00
Counters.h Fix bug 5316 properly. The fix is to make the routine that reads a counter 2008-10-06 14:37:28 +00:00
Cursor.cpp Fix bug 3397 2008-10-17 21:40:11 +00:00
Cursor.h Fix bug 3397 2008-10-17 21:40:11 +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 streamlining setter syntax. using mutable references seems a bit 2008-09-24 21:27:41 +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 If the "force" flag is in effect and a textmode command from the unicodesymbols 2008-09-28 21:57:31 +00:00
Encoding.h In mathmode, treat nonascii chars with diacritical marks as an input method 2008-09-26 15:53:15 +00:00
ErrorList.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
ErrorList.h introduce a header to forward declare std::string. 2007-10-31 22:40:34 +00:00
Exporter.cpp Revert r26683 and add some comments making it a little clearer what 2008-10-08 15:07:09 +00:00
Exporter.h
factory.cpp Pass Buffer in InsetQuote ctor. Patch fro Richard. 2008-09-06 14:04:01 +00:00
factory.h some std::string -> filename changes 2007-11-03 17:37:37 +00:00
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 cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
FontEnums.h Splitup Font in saner bits: 2007-10-28 18:51:54 +00:00
FontInfo.cpp a bit of compilation unbreaking 2008-05-06 10:22:25 +00:00
FontInfo.h GCC Compil fix. 2007-10-28 20:30:41 +00:00
FontList.cpp simplify code by using fontIterator() 2008-07-16 12:40:10 +00:00
FontList.h Fix copy&paste bug. 2007-10-29 12:29:06 +00:00
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 Proper lfun handling naming for listing tabs. 2008-09-30 23:42:43 +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 babel handling: revert r26857 and r26858 for the reasons I posted o the list 2008-10-12 17:21:18 +00:00
LaTeXFeatures.h babel handling: revert r26857 and r26858 for the reasons I posted o the list 2008-10-12 17:21:18 +00:00
Layout.cpp Remove unused code related to InsetEnvironment experiment. 2008-10-06 04:23:26 +00:00
Layout.h Remove unused code related to InsetEnvironment experiment. 2008-10-06 04:23:26 +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 Change some vectors to lists. This is preparatory for a real patch later. 2008-10-14 14:04:21 +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 add support for TABs in Listings, fileformat change, fixes http://bugzilla.lyx.org/show_bug.cgi?id=3629 , patch by Vincent, lyx2lyx and UI stuff by me 2008-09-30 18:00:02 +00:00
Lexer.h Correctly handle quotation marks in command preferences (bug 2016): 2008-05-05 13:53:28 +00:00
LyX.cpp typo 2008-10-11 16:08:42 +00:00
LyX.h MSVC compile fix :-) 2008-07-14 11:33:04 +00:00
LyXAction.cpp * doxy 2008-10-02 12:17:58 +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 Let cursor appear after call of disabled lfun. 2008-09-26 12:35:35 +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 Simplify single par drawing: 2007-11-17 11:27:03 +00:00
ModuleList.cpp The last bit of cleanup: Make checking for exclusions a bit easier. 2008-10-16 17:21:13 +00:00
ModuleList.h The last bit of cleanup: Make checking for exclusions a bit easier. 2008-10-16 17:21:13 +00:00
Mover.cpp Revert r26683 and add some comments making it a little clearer what 2008-10-08 15:07:09 +00:00
Mover.h Revert r26683 and add some comments making it a little clearer what 2008-10-08 15:07:09 +00:00
output_docbook.cpp rename assert.h to lassert.h 2008-04-30 08:26:40 +00:00
output_docbook.h cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
output_latex.cpp speed up _a_lot_ switchEncoding() by avoiding an object copy 2008-10-14 13:06:47 +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 cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
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 fix memory leak. 2008-10-08 15:12:49 +00:00
paragraph_funcs.h remove invalid comment 2008-05-29 11:25:01 +00:00
Paragraph.cpp Oups... 2008-10-08 14:06:20 +00:00
Paragraph.h Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5328 2008-10-08 14:03:15 +00:00
ParagraphList.h
ParagraphMetrics.cpp Selection painting in Insets (courtesy of fishing industry) 2008-10-13 23:19:06 +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 cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
PDFOptions.cpp Sanitize backreferences in hyperref. 2008-10-13 16:01:02 +00:00
PDFOptions.h Sanitize backreferences in hyperref. 2008-10-13 16:01:02 +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 Selection painting in Insets (courtesy of fishing industry) 2008-10-13 23:19:06 +00:00
Row.h Selection painting in Insets (courtesy of fishing industry) 2008-10-13 23:19:06 +00:00
rowpainter.cpp add support for TABs in Listings, fileformat change, fixes http://bugzilla.lyx.org/show_bug.cgi?id=3629 , patch by Vincent, lyx2lyx and UI stuff by me 2008-09-30 18:00:02 +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 Fix bug 1784 2008-10-05 00:50:39 +00:00
Server.h
ServerSocket.cpp Turn th message about disabled socket into optional debug, since many 2008-10-01 09:37: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 cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h" 2007-11-01 22:17:22 +00:00
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 introduce a header to forward declare std::string. 2007-10-31 22:40:34 +00:00
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 constify 2008-09-29 09:33:36 +00:00
Text3.cpp Fix bug 3397 2008-10-17 21:40:11 +00:00
Text.cpp Full text in toc for index entries. 2008-09-28 17:10:16 +00:00
Text.h disable some lfuns inside description/list items (bug 223). 2008-10-14 13:27:58 +00:00
TextClass.cpp The default modules should be kept in order. 2008-10-07 15:53:05 +00:00
TextClass.h The default modules should be kept in order. 2008-10-07 15:53:05 +00:00
TextMetrics.cpp Selection painting in Insets (courtesy of fishing industry) 2008-10-13 23:19:06 +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 gcc compile fix: vector::insert() requires an iterator, not a const_iterator. 2008-09-30 12:34:36 +00:00
TocBackend.h gcc compile fix: vector::insert() requires an iterator, not a const_iterator. 2008-09-30 12:34:36 +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 ups. 2008-09-25 14:02:14 +00:00
update_flags.h Current update architecture doesn't need multiParSel() special case anymore. 2007-11-06 09:34:16 +00:00
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 Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/. 2007-11-29 07:04:28 +00:00
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