From: Jean-Marc Lasgouttes Date: Tue, 26 Oct 1999 15:07:36 +0000 (+0000) Subject: Do not make spaces unbreakable when tt font is used in a paragraph X-Git-Tag: 1.6.10~22571 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d32a38cf858a398e10ad858367927f17a22aca21;p=features.git Do not make spaces unbreakable when tt font is used in a paragraph git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@253 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/ChangeLog b/ChangeLog index ae862e0e80..49ea43644e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-10-25 Jean-Marc Lasgouttes + + * src/paragraph.C (SimpleTeXBlanks): spaces are automatically made + unbreakable if we are in freespacing mode (LyX-Code), but not in + latex mode. + 1999-10-26 Lars Gullik Bjønnes * development/lyx.spec.in (%build): add CFLAGS also. diff --git a/src/paragraph.C b/src/paragraph.C index 7c749727fd..ea98287180 100644 --- a/src/paragraph.C +++ b/src/paragraph.C @@ -2914,7 +2914,7 @@ void LyXParagraph::SimpleTeXBlanks(string &file, TexRow &texrow, texrow.start(this, i+1); column = 0; } else if (font.latex() == LyXFont::OFF) { - if (font.family() == LyXFont::TYPEWRITER_FAMILY) { + if (style->free_spacing) { file += '~'; } else { file += ' ';