]> git.lyx.org Git - features.git/commit
Output a space if pendingSpace() is true and it is actually needed
authorEnrico Forestieri <forenr@lyx.org>
Tue, 31 Oct 2006 20:16:47 +0000 (20:16 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Tue, 31 Oct 2006 20:16:47 +0000 (20:16 +0000)
commit6b1631a8c5bab965678c423174fc4ee01162d45d
tree072949b78a49575b38b0b79618f5da8c1f5d2e61
parenta636a5a7f2b94f8124b3efed844c91ab44ffb9f2
Output a space if pendingSpace() is true and it is actually needed

* src/mathed/MathStream.C
(isAlpha): new, test whether a lyx::char_type is an ascii letter.
(operator<<): output a space if pendingSpace() is true and what follows
begins with an ascii letter. Also update the number of lines written.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15645 a592a061-630c-0410-9148-cb99ea01b6c8
src/mathed/MathStream.C