mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
The extra space for French quotes only applies to guillemets.
This commit is contained in:
parent
6e22bb17c7
commit
fc1fa0698b
@ -199,9 +199,10 @@ docstring InsetQuotes::displayString() const
|
||||
int const index = quote_index[side_][language_];
|
||||
docstring retdisp = docstring(1, display_quote_char[times_][index]);
|
||||
|
||||
// in French, thin spaces are added inside double quotes
|
||||
// in French, thin spaces are added inside double guillemets
|
||||
// FIXME: this should be done by a separate quote type.
|
||||
if (times_ == DoubleQuotes && prefixIs(context_lang_, "fr")) {
|
||||
if (prefixIs(context_lang_, "fr")
|
||||
&& times_ == DoubleQuotes && language_ == FrenchQuotes) {
|
||||
// THIN SPACE (U+2009)
|
||||
char_type const thin_space = 0x2009;
|
||||
if (side_ == LeftQuote)
|
||||
|
Loading…
Reference in New Issue
Block a user