lyx_mirror/src
Juergen Spitzmueller c0000cc405 Improve quotation mark opening/closing guess
Fixes: #8831

This introduces
* a new inset member isPartOfTextSequence() that returns
whether the inset produces something visible at the current position
in the text flow
* an isOpenPunctuation() test that returns whether a character is in the
'Punctuation, Open' unicode class. This is used instead of just checking
for two (Western, ASCII) opening brackets

It also fixes the isChar() and isLetter() value of InsetSpecialChar,
since some types have not been assigned correctly.
2016-12-27 12:06:54 +01:00
..
client Add verbose option 2016-08-17 22:32:14 +02:00
frontends Support for CJK quotation marks 2016-12-26 14:03:48 +01:00
graphics Add 'needauth' option to converters that need explicit user authorization. 2016-11-22 23:54:58 +01:00
insets Improve quotation mark opening/closing guess 2016-12-27 12:06:54 +01:00
mathed Thickness of \cancel 2016-12-20 00:15:59 +01:00
support Improve quotation mark opening/closing guess 2016-12-27 12:06:54 +01:00
tests Use only one file for dummy implementations 2016-08-20 00:41:04 +02:00
tex2lyx update tex2lyx tests 2016-12-26 14:04:52 +01:00
.gitignore
AppleSpellChecker.cpp Remove unused include file. 2016-05-29 17:55:45 -04:00
AppleSpellChecker.h
AspellChecker.cpp Fix "dead store" warnings of Xcode analyze tool 2015-10-09 08:16:23 +02:00
AspellChecker.h
Author.cpp GuiChanges: provide feedback when there are no more changes 2016-05-29 17:55:42 -04:00
Author.h GuiChanges: provide feedback when there are no more changes 2016-05-29 17:55:42 -04:00
BiblioInfo.cpp Amend 2c4673af58 2016-09-20 11:34:17 +02:00
BiblioInfo.h Improve info display for biblatex databases, part II 2016-09-18 12:44:12 +02:00
boost.cpp
Box.cpp
Box.h
BranchList.cpp
BranchList.h
buffer_funcs.cpp Make newUnnamedFile() threadsafe 2014-07-05 12:58:22 +02:00
buffer_funcs.h
Buffer.cpp Rewrite handling of macro nesting in math rows 2016-12-02 11:56:49 +01:00
Buffer.h Add 'needauth' option to converters that need explicit user authorization. 2016-11-22 23:54:58 +01:00
BufferEncodings.cpp Docstringify getLongString in general and preamble snippets in particular 2016-10-17 00:16:59 +02:00
BufferEncodings.h
BufferList.cpp Simple cache for information on exportable formats, since we seem 2016-10-20 23:07:13 -04:00
BufferList.h Simple cache for information on exportable formats, since we seem 2016-10-20 23:07:13 -04:00
BufferParams.cpp Support for CJK quotation marks 2016-12-26 14:03:48 +01:00
BufferParams.h Implement dynamic quotation marks 2016-12-25 12:19:02 +01:00
BufferView.cpp Now Inset::dimension is only an access to cache 2016-12-06 09:52:17 +01:00
BufferView.h Move class definitions inside main class 2016-10-22 23:24:01 +02:00
Bullet.cpp
Bullet.h
Changes.cpp Correctly track ulem commands with change tracking 2016-10-23 18:23:41 +02:00
Changes.h Rationalise includes 2016-07-04 02:42:17 +02:00
Chktex.cpp Remove boost/format support 2016-05-29 17:55:45 -04:00
Chktex.h Remove boost/format support 2016-05-29 17:55:45 -04:00
Citation.h
CMakeLists.txt Cmake build: Prepare for hardening use of external programs 2016-11-22 16:51:44 +01:00
CmdDef.cpp
CmdDef.h
Color.cpp In Color Preferences "frame of button" should be "button frame" 2016-11-03 08:57:35 +01:00
Color.h
ColorCode.h support for all default colors of the package xcolor 2015-05-14 22:23:44 +02:00
ColorSet.h
Compare.cpp Rationalise includes 2016-07-04 02:42:17 +02:00
Compare.h
CompletionList.h
Converter.cpp Fix segfault on null buffer in Converters::checkAuth(), introduced in [244de5d2/lyxgit]. 2016-12-19 18:16:50 +01:00
Converter.h Let LyX remember what documents 'needauth' converters have been authorized to run over by the user. 2016-11-23 22:17:13 +01:00
ConverterCache.cpp Perf comments: getFormatFromFile slows LyX startup considerably 2016-07-31 18:34:33 +01:00
ConverterCache.h
CoordCache.cpp Improve debug message 2015-11-20 22:43:45 +01:00
CoordCache.h Get rid of ParagraphMetrics::insetDimension 2015-10-19 13:17:16 +02:00
Counters.cpp New layout tags for better counter handling 2016-10-14 20:08:12 +02:00
Counters.h New layout tags for better counter handling 2016-10-14 20:08:12 +02:00
Cursor.cpp GuiSymbols: show all symbols when UseNonTeXFonts 2016-12-03 23:35:15 +01:00
Cursor.h Update description of cursor classes 2016-12-20 12:14:21 +01:00
CursorSlice.cpp Move one Text::setCursor instance to CursorSlice 2016-05-29 17:55:46 -04:00
CursorSlice.h Move one Text::setCursor instance to CursorSlice 2016-05-29 17:55:46 -04:00
CutAndPaste.cpp Introduce (Inset|InsetList|Paragraph)::resetBuffer 2016-12-05 14:48:32 +01:00
CutAndPaste.h Make insertInset use a temporary cut-and-paste area. 2016-11-09 15:28:11 +01:00
DepTable.cpp
DepTable.h
Dimension.cpp Fix LASSERT correction 2015-10-10 21:38:17 +02:00
Dimension.h Only display a blue rectangle for editable empty insets 2016-11-16 18:33:02 +01:00
DispatchResult.h Automatically show the review toolbar if the document has tracked changes 2016-05-29 17:55:42 -04:00
DocIterator.cpp Fix cppcheck initialization warnings 2016-06-06 21:55:39 +02:00
DocIterator.h explicit operator bool 2016-09-23 23:39:48 +02:00
DocumentClassPtr.h Replace support/shared_ptr.h and boost::shared_ptr with std::shared_ptr 2016-06-09 15:21:39 +01:00
EnchantChecker.cpp use enchant exception message accessor 2014-11-18 22:06:27 +01:00
EnchantChecker.h
Encoding.cpp Fix compilation with MSVC 2016-12-08 16:28:16 +01:00
Encoding.h Fix bug #9616 2016-09-10 13:36:45 +02:00
ErrorList.cpp Use the new infrastructure to select rows during error reporting 2016-10-22 23:24:00 +02:00
ErrorList.h Move class definitions inside main class 2016-10-22 23:24:01 +02:00
Exporter.cpp
Exporter.h
factory.cpp Add 'needauth' option to converters that need explicit user authorization. 2016-11-22 23:54:58 +01:00
factory.h
Floating.cpp Docstringify getLongString in general and preamble snippets in particular 2016-10-17 00:16:59 +02:00
Floating.h Docstringify getLongString in general and preamble snippets in particular 2016-10-17 00:16:59 +02:00
FloatList.cpp Add more Float tags to allow to disable wide and sideways feature 2015-05-22 18:59:17 +02:00
FloatList.h Add more Float tags to allow to disable wide and sideways feature 2015-05-22 18:59:17 +02:00
Font.cpp Do not output bidi direction macros in passthru context 2016-10-21 10:40:19 +02:00
Font.h
FontEnums.h Correct computation of math font size 2016-11-21 00:02:35 +01:00
FontInfo.cpp Fix header 2016-11-23 19:16:18 +01:00
FontInfo.h Simplify Changers interface 2016-11-21 00:08:11 +01:00
FontList.cpp Rewrite setRowHeight using row information 2016-05-30 14:55:41 +02:00
FontList.h Rewrite setRowHeight using row information 2016-05-30 14:55:41 +02:00
Format.cpp Better title for ViewSource 2016-09-21 16:42:38 +02:00
Format.h Fix Unicode use in Format's prettyname 2016-08-28 01:30:53 +01:00
FuncCode.h Add the icon-size to the toolbar menu 2016-11-22 10:00:52 +01:00
FuncRequest.cpp Whitespace only. 2016-06-27 18:54:14 -04:00
FuncRequest.h This patch does two closely related things. 2016-06-27 18:16:35 -04:00
FuncStatus.cpp
FuncStatus.h
Graph.cpp
Graph.h
HSpace.cpp
HSpace.h
HunspellChecker.cpp Correct path names were to look for RPM based dictionaries for hunspell on Linux. 2016-05-29 17:55:44 -04:00
HunspellChecker.h
IndicesList.cpp
IndicesList.h
InsetIterator.cpp
InsetIterator.h
InsetList.cpp Introduce (Inset|InsetList|Paragraph)::resetBuffer 2016-12-05 14:48:32 +01:00
InsetList.h Introduce (Inset|InsetList|Paragraph)::resetBuffer 2016-12-05 14:48:32 +01:00
Intl.cpp
Intl.h
KeyMap.cpp Add perf comment 2016-06-12 19:17:33 +01:00
KeyMap.h Replace support/shared_ptr.h and boost::shared_ptr with std::shared_ptr 2016-06-09 15:21:39 +01:00
KeySequence.cpp
KeySequence.h
Language.cpp Issue an error message if conflicting languages are used 2016-10-27 09:59:01 +02:00
Language.h Issue an error message if conflicting languages are used 2016-10-27 09:59:01 +02:00
LaTeX.cpp Fix #10394 Do not error on missing characters in "nullfont". 2016-09-23 09:04:03 +02:00
LaTeX.h Replace Boost.Signals with Boost.Signals2 2016-06-09 22:25:34 +02:00
LaTeXFeatures.cpp Add "Plain" quotation mark style 2016-12-21 15:17:30 +01:00
LaTeXFeatures.h Fix usage of multiple varieties of the same polyglossia language. 2016-11-02 17:07:49 +01:00
LaTeXFonts.cpp Docstringify getLongString in general and preamble snippets in particular 2016-10-17 00:16:59 +02:00
LaTeXFonts.h Docstringify getLongString in general and preamble snippets in particular 2016-10-17 00:16:59 +02:00
LaTeXPackages.cpp
LaTeXPackages.h
Layout.cpp Implement PassThru option to arguments. 2016-10-21 10:39:55 +02:00
Layout.h Implement PassThru option to arguments. 2016-10-21 10:39:55 +02:00
LayoutEnums.h Implement PassThru option to arguments. 2016-10-21 10:39:55 +02:00
LayoutFile.cpp Simplifications, mainly removal of boost::function and useless std::bind 2016-07-03 01:39:32 +02:00
LayoutFile.h Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
LayoutModuleList.cpp
LayoutModuleList.h
Length.cpp Correct on-screen kerning in math for non-mu units 2016-11-22 11:30:26 +01:00
Length.h Fix Length::inBP() 2015-07-12 18:36:19 +02:00
lengthcommon.cpp Remove C-isms in isValidLength 2015-02-20 16:16:31 +01:00
Lexer.cpp Docstringify getLongString in general and preamble snippets in particular 2016-10-17 00:16:59 +02:00
Lexer.h Docstringify getLongString in general and preamble snippets in particular 2016-10-17 00:16:59 +02:00
lyx_commit_hash.h.in Autotools: read git commit hash at compile time 2014-11-24 22:00:21 +01:00
LyX.cpp Change default working directory from ~/ to "." 2016-10-11 22:25:42 -04:00
LyX.h Add verbose option 2016-08-17 22:32:14 +02:00
LyXAction.cpp Support for CJK quotation marks 2016-12-26 14:03:48 +01:00
LyXAction.h New LFUN tabular-feature: update prefs2prefs.py 2016-01-27 18:20:53 +01:00
lyxfind.cpp Remove assert on advanced find with knitr module (#10444). 2016-10-27 09:38:35 +02:00
lyxfind.h Initialize FindAndReplaceOptions in default constructor 2016-06-09 17:06:21 +02:00
LyXRC.cpp Bump up RC fileformat after [244de5d2/lyxgit] for the new 'needauth' options. 2016-11-25 23:33:08 +01:00
LyXRC.h Remove unused lyxrc.use_converter_wrappers that inadvertently slipped through [244de5d2/lyxgit]. 2016-12-10 14:57:20 +01:00
LyXVC.cpp Fix indentation 2016-10-19 14:10:47 +02:00
LyXVC.h Do some caching of window title and related UI 2016-10-19 11:59:47 +02:00
lyxwinres.rc
main.cpp
Makefile.am Add support for \mathbin and friends 2016-11-16 15:21:53 +01:00
MetricsInfo.cpp InsetMath: match the screen display with the EnsureMath behaviour in output 2016-11-22 11:30:26 +01:00
MetricsInfo.h InsetMath: match the screen display with the EnsureMath behaviour in output 2016-11-22 11:30:26 +01:00
ModuleList.cpp Fix indentation 2016-06-26 14:26:35 +02:00
ModuleList.h
Mover.cpp
Mover.h
output_docbook.cpp Fix missing includes after change 670efa8f64 2016-07-04 12:11:24 +02:00
output_docbook.h
output_latex.cpp Also track local language switches 2016-09-27 23:00:29 +02:00
output_latex.h Also track local language switches 2016-09-27 23:00:29 +02:00
output_plaintext.cpp Fix a bunch of small performance issues spotted by cppcheck 2014-07-05 19:13:10 +02:00
output_plaintext.h
output_xhtml.cpp Fix XHTML export of German Additional Features manual. 2016-08-04 22:43:17 -04:00
output_xhtml.h Rename some variables and routines. 2016-07-10 00:00:03 -04:00
output.cpp
output.h
OutputEnums.h
OutputParams.cpp Correctly track ulem commands with change tracking 2016-10-23 18:23:41 +02:00
OutputParams.h Correctly track ulem commands with change tracking 2016-10-23 18:23:41 +02:00
paper.h Convert remaining C++ files to UTF-8 2015-12-05 19:33:24 +00:00
Paragraph.cpp context-sensitive command termination at some more places. 2016-12-16 10:20:25 +01:00
Paragraph.h Introduce (Inset|InsetList|Paragraph)::resetBuffer 2016-12-05 14:48:32 +01:00
ParagraphList.h
ParagraphMetrics.cpp Simplifications, mainly removal of boost::function and useless std::bind 2016-07-03 01:39:32 +02:00
ParagraphMetrics.h Take inset dimension into account in row signature 2016-06-03 11:21:09 +02:00
ParagraphParameters.cpp
ParagraphParameters.h
ParIterator.cpp
ParIterator.h
PDFOptions.cpp Rationalise includes 2016-07-04 02:42:17 +02:00
PDFOptions.h Add some missing member variable initializations 2015-09-13 19:47:21 +02:00
PersonalWordList.cpp
PersonalWordList.h
PrinterParams.cpp Fix cppcheck initialization warnings 2016-06-06 21:55:39 +02:00
PrinterParams.h
Row.cpp Amend b30f8d3c 2016-11-21 12:09:48 +01:00
Row.h On-screen justification: stretch in proportion with the em, up to a limit 2016-11-06 12:20:00 +01:00
RowPainter.cpp Round values properly when drawing right margin selection 2016-11-04 15:58:54 +01:00
RowPainter.h Change tracking cue: paint over labels in text and prepare for further work 2016-06-13 08:46:15 +01:00
Server.cpp Whitespace only. 2016-06-27 18:54:14 -04:00
Server.h Use iostream instead of sstream and move it from header to cpp-source of LyX-Server 2016-06-12 13:03:06 +02:00
ServerSocket.cpp Fix missing include for file i/o prototypes after header cleanup in change 489dca71cd 2016-07-04 10:30:19 +02:00
ServerSocket.h Replace support/shared_ptr.h and boost::shared_ptr with std::shared_ptr 2016-06-09 15:21:39 +01:00
Session.cpp Let LyX remember what documents 'needauth' converters have been authorized to run over by the user. 2016-11-23 22:17:13 +01:00
Session.h Let LyX remember what documents 'needauth' converters have been authorized to run over by the user. 2016-11-23 22:17:13 +01:00
sgml.cpp Make static counters atomic 2016-07-31 18:34:33 +01:00
sgml.h Fix a bunch of small performance issues spotted by cppcheck 2014-07-05 19:13:10 +02:00
Spacing.cpp
Spacing.h
SpellChecker.h Fix cppcheck initialization warnings 2016-06-06 21:55:39 +02:00
TexRow.cpp Improvement to the reverse-search algorithm 2016-10-22 23:24:01 +02:00
TexRow.h Fix compilation on cygwin & others 2016-10-23 00:25:05 +02:00
texstream.cpp Thinko 2016-12-18 13:13:19 +01:00
texstream.h texstream: implement way to terminate a command depending on the context 2016-12-12 15:55:28 +01:00
Text2.cpp Move one Text::setCursor instance to CursorSlice 2016-05-29 17:55:46 -04:00
Text3.cpp Improve quotation mark opening/closing guess 2016-12-27 12:06:54 +01:00
Text.cpp Use the new infrastructure to select rows during error reporting 2016-10-22 23:24:00 +02:00
Text.h Move one Text::setCursor instance to CursorSlice 2016-05-29 17:55:46 -04:00
TextClass.cpp Implement PassThru option to arguments. 2016-10-21 10:39:55 +02:00
TextClass.h Enable to specify the target format for converting the local layout 2016-07-31 18:34:33 +01:00
TextMetrics.cpp Handle properly unicode paragraph/line break 2016-11-10 09:37:36 +01:00
TextMetrics.h Split TextMetrics::setRowHeight in three parts 2016-05-30 14:55:41 +02:00
Thesaurus.cpp Make Thesaurus check for more general dictionaries (en-v2.idx) 2015-06-02 17:28:44 +02:00
Thesaurus.h Forbid wrong compiler generated copy constructors 2015-09-20 19:43:06 +02:00
Toc.h Replace support/shared_ptr.h and boost::shared_ptr with std::shared_ptr 2016-06-09 15:21:39 +01:00
TocBackend.cpp Remove tooltips from the data of Toc Items 2016-07-03 17:28:46 +02:00
TocBackend.h Remove tooltips from the data of Toc Items 2016-07-03 17:28:46 +02:00
Trans.cpp Add comment about coverity #23335. 2016-06-11 23:09:30 -04:00
Trans.h Add missing intializations 2015-10-10 21:04:28 +02:00
Undo.cpp Update all paragraphs layouts when undoing bufferparams 2016-01-20 15:20:51 +01:00
Undo.h Repeat after me: into account, into account, into account 2015-09-27 21:38:20 +02:00
update_flags.h
VCBackend.cpp Typo 2016-10-19 11:21:02 +02:00
VCBackend.h Set window title according to platform UI 2016-09-08 15:59:44 +02:00
version.cpp Make builds reproducible 2015-03-26 18:14:45 +01:00
version.h Support for CJK quotation marks 2016-12-26 14:03:48 +01:00
VSpace.cpp
VSpace.h
WordLangTuple.h #9496 factor out getting language from LFUN args or cursor position in speller LFUNs 2015-07-16 21:59:15 +02:00
WordList.cpp Remove non-copyable idioms 2016-06-09 19:16:44 +01:00
WordList.h Remove non-copyable idioms 2016-06-09 19:16:44 +01:00