>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> LyX is splitting words joined by a non-breaking space across Angus> lines. Is this meant to happen? Small screen shot attached. Actually it was Juergen's fault :) LyXText::nextBreakPoint calls for normal characters or insets the function IsLineSeparatorChar(char c, Inset * in) which, besides using Insets in textutils.h (which is a no no), does the following: inline bool IsLineSeparatorChar(char c, Inset * in) { return ((c == ' ') || (in && in->isSpace())); } The problem is that the only inset which returns true to the isSpace call is the protected space, and this is obviously not a line separator (but it is a space as far as the special quote inset insertion algorithm is concerned). Juergen, I do not post this only to embarass you publicly (as we all know, this is really too easy), but to know what you intended to do here. What I would do is nuke the function, and call a plain old IsLineSeparatorChar(char c) instead. Is there a reason why I should not do it? JMarc