lyx_mirror/src
Vincent van Ravesteijn 6b96abd211 Correctly paint the background of the instant preview of a displayed equation.
For a displayed equation, the height is artificially increased by a displayMargin() in InsetMathHull::metrics if it is a displayed equation and there is a preview. 

This extra height is not covered by the preview image and what one can see is the background as drawn by the MathHull inset. The color of this background should be either Color_mathbg or Color_background depending on whether the preview is shown or not.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32560 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 14:09:37 +00:00
..
client Don't rely on the signal delivered by raise(), as this may cause a bogus 2009-08-14 13:19:02 +00:00
frontends Fix of bug #6333 (main document WA was entirely selected and cursor position lost if F&R dialog was floating - does not happen anymore). 2009-12-17 07:48:29 +00:00
graphics Add a FileName::refresh function and replace one call to lastModified which was just meant to refresh the file info. 2009-12-05 02:50:34 +00:00
insets Correctly paint the background of the instant preview of a displayed equation. 2009-12-17 14:09:37 +00:00
lyxled
mathed Correctly paint the background of the instant preview of a displayed equation. 2009-12-17 14:09:37 +00:00
support typo 2009-12-13 09:32:38 +00:00
tex2lyx preamble.cpp: extend a comment 2009-12-12 21:23:54 +00:00
AspellChecker.cpp SpellChecker work: 2009-08-02 09:17:32 +00:00
AspellChecker.h SpellChecker work: 2009-08-02 09:17:32 +00:00
Author.cpp Fix bug #6058: Change tracking not usable in version control. 2009-07-23 20:08:05 +00:00
Author.h Fix another gcc error for r30756. 2009-07-23 20:38:24 +00:00
BiblioInfo.cpp Fix warning. 2009-12-13 21:14:36 +00:00
BiblioInfo.h The BibTeX bibliography only includes BibTeX entries. 2009-12-03 19:54:12 +00:00
Bidi.cpp remove some explicit tests against ERT_CODE; more to come 2009-07-16 10:08:13 +00:00
Bidi.h
boost.cpp
Box.cpp
Box.h
BranchList.cpp * Add possibility to append active branch names to the output file name (#3105). 2009-07-13 14:30:08 +00:00
BranchList.h * Add possibility to append active branch names to the output file name (#3105). 2009-07-13 14:30:08 +00:00
buffer_funcs.cpp Do not save an emergency file after choosing to revert the document to the version saved on disk. 2009-12-12 01:18:18 +00:00
buffer_funcs.h Add a global accessible function loadIfNeeded(). 2009-10-24 14:57:28 +00:00
Buffer.cpp For Qt4.4 and up: Detach Buffer autosave into a new thread. 2009-12-13 21:00:46 +00:00
Buffer.h For Qt4.4 and up: Detach Buffer autosave into a new thread. 2009-12-13 21:00:46 +00:00
BufferList.cpp Added isInternal() method, mapped temporarily on check about ".internal" filename extension (minimum impact on current code). 2009-09-08 01:29:07 +00:00
BufferList.h Move emergencyWrite() from BufferList to Buffer. 2009-08-15 16:34:54 +00:00
BufferParams.cpp replace links to bugzilla with links to trac 2009-12-11 00:59:10 +00:00
BufferParams.h * Add support for per-document fontenc setting (bug 5730) 2009-11-29 14:43:00 +00:00
BufferView.cpp Rename getLocalStatus to Cursor::getStatus 2009-11-13 14:32:51 +00:00
BufferView.h Transfer LFUN_INSET_APPLY from GuiView to BufferView. 2009-09-27 10:29:13 +00:00
Bullet.cpp
Bullet.h
Changes.cpp Typos, patch from Sven. 2009-12-05 23:18:21 +00:00
Changes.h Assure the author is encoded correctly in the LaTeX output of change tracking markup (bug 6225). 2009-10-12 16:22:05 +00:00
Chktex.cpp
Chktex.h
Citation.h
CmdDef.cpp
CmdDef.h
Color.cpp Make the pilcrow slightly lighter. 2009-08-19 23:04:17 +00:00
Color.h support for \pagecolor, fileformat change 2009-04-11 21:40:11 +00:00
ColorCode.h Fix bug #6129: Show paragraph marks / pilcrows. 2009-08-19 22:46:43 +00:00
ColorSet.h move ColorSet to a header of its own to reduce #include dependencies 2009-02-09 23:30:24 +00:00
Compare.cpp Fix gcc warnings. 2009-11-02 15:20:36 +00:00
Compare.h Fix gcc warnings. 2009-11-02 15:20:36 +00:00
CompletionList.h
Converter.cpp Remove redundant code. 2009-11-12 00:26:49 +00:00
Converter.h Not so soon, I guess, since that FIXME was from r6305. 2009-11-09 16:53:40 +00:00
ConverterCache.cpp At least we have agreed upon this 2009-08-13 21:54:32 +00:00
ConverterCache.h Cosmetics and constify. 2009-06-29 23:43:23 +00:00
CoordCache.cpp
CoordCache.h
Counters.cpp IfStyle and IfCounter tags for layout. Docs to follow. 2009-08-12 14:50:01 +00:00
Counters.h Style. 2009-11-15 01:18:13 +00:00
Cursor.cpp Spare a few cpu cycles on average. 2009-12-11 01:46:57 +00:00
Cursor.h Fix bug #6382: Wrong cursor placement when inserting math 2009-12-11 01:30:33 +00:00
CursorSlice.cpp
CursorSlice.h
CutAndPaste.cpp Uniformize Inset construction (passing Buffer * everywhere). Lots of cleanup to do still... 2009-11-08 15:53:21 +00:00
CutAndPaste.h
DepTable.cpp
DepTable.h
Dimension.cpp
Dimension.h
DispatchResult.h The Buffer::dispatch() patch. 2009-04-06 12:12:06 +00:00
DocIterator.cpp replace links to bugzilla with links to trac 2009-12-11 00:59:10 +00:00
DocIterator.h Simplify Buffer::spellCheck() by using Paragraph::spellCheck(). 2009-06-22 16:38:11 +00:00
Encoding.cpp add "ansinew" as a synonym of LaTeX encoding "cp1252" (second part of #6142) 2009-09-22 13:05:43 +00:00
Encoding.h Fix display of BibTeX entries in the info field of the citation 2009-06-12 14:03:57 +00:00
ErrorList.cpp
ErrorList.h header ordering. 2009-03-25 08:31:46 +00:00
Exporter.cpp Style. 2009-11-14 13:16:08 +00:00
Exporter.h Style. 2009-11-14 13:16:08 +00:00
factory.cpp InsetCommand ctor: Pass 'Buffer *' 2009-11-08 16:10:34 +00:00
factory.h Uniformize Inset construction (passing Buffer * everywhere). Lots of cleanup to do still... 2009-11-08 15:53:21 +00:00
Floating.cpp Forgot this. 2009-11-30 22:28:22 +00:00
Floating.h Style. 2009-11-30 20:17:55 +00:00
FloatList.cpp
FloatList.h
Font.cpp Fix LyX after r31772 (bug #6294). 2009-10-30 14:57:21 +00:00
Font.h Move some functions that only required a FontInfo parameter from Font.* 2009-10-27 16:16:15 +00:00
FontEnums.h
FontInfo.cpp A bit more cleanup, after JMarc. 2009-10-27 18:23:53 +00:00
FontInfo.h Move some functions that only required a FontInfo parameter from Font.* 2009-10-27 16:16:15 +00:00
FontList.cpp Fix font issue due to mispelled marking. 2009-05-01 13:45:30 +00:00
FontList.h New FontList::setMisspelled() method. 2009-05-01 08:17:23 +00:00
Format.cpp Fix bug in Preferences>File Formats. Editor box didn't work right. 2009-11-19 23:37:16 +00:00
Format.h Fix bug in Preferences>File Formats. Editor box didn't work right. 2009-11-19 23:37:16 +00:00
FuncCode.h Make updating less dangerous, see comments in #6255. 2009-10-14 19:18:06 +00:00
FuncRequest.cpp new method getLongArg that grabs all the remainder of the argument string 2009-12-02 09:39:39 +00:00
FuncRequest.h new method getLongArg that grabs all the remainder of the argument string 2009-12-02 09:39:39 +00:00
FuncStatus.cpp
FuncStatus.h
Graph.cpp Fix stupid thinko. 2009-11-11 23:24:39 +00:00
Graph.h This more or less completes the re-implementation of this class. The 2009-11-10 01:18:43 +00:00
HSpace.cpp support to specify the paragraph indentation in the document settings dialog; introduces the new class HSpace; - file format change 2009-07-19 21:13:27 +00:00
HSpace.h support to specify the paragraph indentation in the document settings dialog; introduces the new class HSpace; - file format change 2009-07-19 21:13:27 +00:00
HunspellChecker.cpp Fix HunspellChecker when the path is specified with a trailing '/'. (and revert previous stupid commit). 2009-12-05 03:55:03 +00:00
HunspellChecker.h SpellChecker work: 2009-08-02 09:17:32 +00:00
IndicesList.cpp Introduce splitindex support. File format change. 2009-04-16 07:29:01 +00:00
IndicesList.h Introduce splitindex support. File format change. 2009-04-16 07:29:01 +00:00
InsetIterator.cpp
InsetIterator.h
InsetList.cpp
InsetList.h
Intl.cpp
Intl.h
KeyMap.cpp KeyMap.cpp: more consistent messages 2009-08-29 19:44:56 +00:00
KeyMap.h React better if we can't find bind files. Related to bug 6076. 2009-07-16 23:12:45 +00:00
KeySequence.cpp Fix crash when hitting delete key once more after deleting 2009-04-02 18:19:33 +00:00
KeySequence.h Now these don't have to be public. 2009-04-02 15:56:12 +00:00
Language.cpp
Language.h
LaTeX.cpp Fix bug #6258: LyX incorrectly interprets tetex warnings as errors. 2009-10-04 15:23:17 +00:00
LaTeX.h * Properly separate the specific Japanese (i.e., pLaTeX) auxiliary programs (jbibtex, mendex) 2009-04-13 09:53:40 +00:00
LaTeXFeatures.cpp replace links to bugzilla with links to trac 2009-12-11 00:59:10 +00:00
LaTeXFeatures.h CSS for InsetBibtex. We include this via the validate mechanism, and 2009-12-03 21:06:41 +00:00
Layout.cpp Whoops. 2009-12-01 14:36:48 +00:00
Layout.h Initial work for InsetTOC. This does actually write a TOC, but without 2009-12-10 18:30:48 +00:00
LayoutEnums.h Removed unused code. 2009-08-09 23:06:31 +00:00
LayoutFile.cpp * Move LFUN_TEXTCLASS_* and LFUN_TEXTCLASS_* to BufferView. This is a bit problematic because we don't check is this is a document BufferView or not for these LFUNs. We probably have to dispatch both to currentBufferView() and, if that fails, to documentBufferView(); same as we do know for current Buffer and document Buffer. Ideally those LFUN should go to Buffer as they operate on the full Buffer and the cursor is only needed either for an Undo record or to restore a cursor position. But we don't know how to do that inside Buffer of course. 2009-09-19 20:56:12 +00:00
LayoutFile.h * Move LFUN_TEXTCLASS_* and LFUN_TEXTCLASS_* to BufferView. This is a bit problematic because we don't check is this is a document BufferView or not for these LFUNs. We probably have to dispatch both to currentBufferView() and, if that fails, to documentBufferView(); same as we do know for current Buffer and document Buffer. Ideally those LFUN should go to Buffer as they operate on the full Buffer and the cursor is only needed either for an Undo record or to restore a cursor position. But we don't know how to do that inside Buffer of course. 2009-09-19 20:56:12 +00:00
LayoutModuleList.cpp s/moduleList/theModuleList/ for style purposes. 2009-08-14 15:37:34 +00:00
LayoutModuleList.h Comment. 2009-08-15 18:45:54 +00:00
Length.cpp Length.cpp: take care of percent units also for glue lengths, with this change, #6091 and #6098 can be fixed 2009-07-19 20:01:39 +00:00
Length.h Length.h: revert unintended change 2009-07-17 01:01:37 +00:00
lengthcommon.cpp Length.h, lengthcommon.cpp: sort the units, the current sorting had no rule and therefore consumed a lot time until one found the desired unit. 2009-07-14 22:38:47 +00:00
Lexer.cpp Fix bug #6030: LyX does not take into account BOM in user layout files. 2009-06-21 18:23:10 +00:00
Lexer.h
LyX.cpp Transfer all keyboard related code and actions from LyXFunc to GuiApplication. Part of it should be transfered later to GuiView and BufferView. This code can probably be simplified a lot... 2009-10-04 20:58:20 +00:00
LyX.h Minimal support for hunspell. Spellchecking works but not suggestion, at least on Win/MSVC. 2009-08-08 17:05:31 +00:00
LyXAction.cpp * LyXaction.cpp: typo and an improved description for LFUN_COMMAND_EXECUTE. 2009-10-30 15:14:23 +00:00
LyXAction.h Introduce a new LyXAction property 'NoInternal' to take care of LFUNs that should not be applied to internal Buffers and use that in BufferView. 2009-09-21 12:36:22 +00:00
lyxfind.cpp indentation fix. 2009-12-17 07:57:50 +00:00
lyxfind.h lyxfind.cpp/h: make LyX compilable 2009-08-20 00:28:34 +00:00
LyXFunc.cpp replace links to bugzilla with links to trac 2009-12-11 00:59:10 +00:00
LyXFunc.h Transfer all keyboard related code and actions from LyXFunc to GuiApplication. Part of it should be transfered later to GuiView and BufferView. This code can probably be simplified a lot... 2009-10-04 20:58:20 +00:00
LyXRC.cpp Show only those spellers that are active. 2009-11-23 14:03:19 +00:00
LyXRC.h Redo the viewer_alternatives and editor_alternatives in terms of a map, 2009-10-17 22:52:16 +00:00
LyXVC.cpp Make updating less dangerous, see comments in #6255. 2009-10-14 19:18:06 +00:00
LyXVC.h Make updating less dangerous, see comments in #6255. 2009-10-14 19:18:06 +00:00
lyxwinres.rc
main.cpp
Makefile.am fix linking of Compare.o with autotools 2009-10-26 15:45:33 +00:00
MetricsInfo.cpp Correctly paint the background of the instant preview of a displayed equation. 2009-12-17 14:09:37 +00:00
MetricsInfo.h Replace the PainterInfo::erased_ member by a proper Change object and remove the Color_deletedtext from InsetTabular. 2009-02-09 21:14:23 +00:00
ModuleList.cpp Constify a bunch of stuff that can be const. 2009-08-14 15:46:10 +00:00
ModuleList.h Constify a bunch of stuff that can be const. 2009-08-14 15:46:10 +00:00
Mover.cpp
Mover.h
output_docbook.cpp Move depthHook(), outerHook(), isFirstInSequence(), outerFont() to Text methods. 2009-08-09 18:35:39 +00:00
output_docbook.h Move depthHook(), outerHook(), isFirstInSequence(), outerFont() to Text methods. 2009-08-09 18:35:39 +00:00
output_latex.cpp Restore the master language at the end of an included child document 2009-10-18 21:48:13 +00:00
output_latex.h
output_plaintext.cpp
output_plaintext.h
output_xhtml.cpp These add extra whitespace where we don't want it. 2009-12-14 16:45:11 +00:00
output_xhtml.h Restore XHTML output for InsetLabel and InsetRef. There are a couple 2009-11-28 21:37:47 +00:00
output.cpp
output.h
OutputParams.cpp In non-MultiPar insets, we do not want to output paragraphs at all. 2009-11-19 22:31:52 +00:00
OutputParams.h In non-MultiPar insets, we do not want to output paragraphs at all. 2009-11-19 22:31:52 +00:00
paper.h
Paragraph.cpp Generate the magic label always. We'll need it other times, when we do 2009-12-10 20:36:12 +00:00
Paragraph.h This really gets the TOC working now. We auto-generate labels for the 2009-12-10 20:03:35 +00:00
ParagraphList.h
ParagraphMetrics.cpp Move contents of paragraph_funcs.* to Text.h and Text.cpp. 2009-08-09 17:30:41 +00:00
ParagraphMetrics.h
ParagraphParameters.cpp
ParagraphParameters.h
ParIterator.cpp
ParIterator.h
pch.h
PDFOptions.cpp
PDFOptions.h
PrinterParams.cpp
PrinterParams.h
Row.cpp
Row.h
rowpainter.cpp Revert the rtl-part of r30962. 2009-08-22 17:51:41 +00:00
rowpainter.h Put the foundations to support continuous spell checking. 2009-03-29 19:57:30 +00:00
Section.cpp
Section.h
Server.cpp Properly reinitialise the OVERLAPPED structure (thanks Vincent!) 2009-09-11 18:19:59 +00:00
Server.h Interrupt the wait if the stopserver event is triggered. 2009-09-06 13:49:34 +00:00
ServerSocket.cpp
ServerSocket.h
Session.cpp Fix bug #5131: Remember last file active. 2009-05-05 12:47:44 +00:00
Session.h Fix bug #5131: Remember last file active. 2009-05-05 12:47:44 +00:00
sgml.cpp
sgml.h
Spacing.cpp
Spacing.h remove special TEX2LYX code in Spacing,h 2009-10-28 10:07:10 +00:00
SpellChecker.h Minimal support for hunspell. Spellchecking works but not suggestion, at least on Win/MSVC. 2009-08-08 17:05:31 +00:00
TexRow.cpp
TexRow.h
TexStream.cpp
TexStream.h
Text2.cpp Typos, patch from Sven. 2009-12-05 23:18:21 +00:00
Text3.cpp replace links to bugzilla with links to trac 2009-12-11 00:59:10 +00:00
Text.cpp Uniformize Inset construction (passing Buffer * everywhere). Lots of cleanup to do still... 2009-11-08 15:53:21 +00:00
Text.h We cannot use a static int as there are usually multiple InsetText in a same document. 2009-10-02 23:13:19 +00:00
TextClass.cpp Fix bug 5842: Add InPreamble tag for layouts. 2009-12-01 14:34:05 +00:00
TextClass.h Style. 2009-12-10 18:12:35 +00:00
TextMetrics.cpp Simplify code. 2009-12-07 19:06:15 +00:00
TextMetrics.h Fix bug #6126: Assertion with page down in Math manual. 2009-08-13 14:18:12 +00:00
Thesaurus.cpp Integrate mythes-1.1 into our source and remove support for aiksaurus. I have tested only the Cmake build system. Please test autotools and scons. 2009-05-08 21:38:50 +00:00
Thesaurus.h CMake/Windows compilation fix. Aiksaurus.h was not visible in frontend/qt4: 2009-05-01 06:33:19 +00:00
TocBackend.cpp Added isInternal() method, mapped temporarily on check about ".internal" filename extension (minimum impact on current code). 2009-09-08 01:29:07 +00:00
TocBackend.h TOC context menu (part 4) 2009-04-09 18:42:59 +00:00
Trans.cpp remove unused includes of convert.h 2009-05-21 21:02:14 +00:00
Trans.h
Undo.cpp So we do, sometimes, need the setBuffer calls that were removed in r28720. 2009-03-12 20:10:46 +00:00
Undo.h
update_flags.h
Variables.cpp
Variables.h
VCBackend.cpp indicate that we're opening a dialog. 2009-12-08 08:37:08 +00:00
VCBackend.h Make updating less dangerous, see comments in #6255. 2009-10-14 19:18:06 +00:00
version.cpp * do not change name of QSettings config file on LyX version change. 2009-06-29 08:44:32 +00:00
version.h * do not change name of QSettings config file on LyX version change. 2009-06-29 08:44:32 +00:00
VSpace.cpp HTML output for InsetVSpace. 2009-06-12 15:07:04 +00:00
VSpace.h HTML output for InsetVSpace. 2009-06-12 15:07:04 +00:00
WordLangTuple.h
WordList.cpp
WordList.h