Jean-Marc Lasgouttes wrote: > Alfredo> Mmm... further investigation says that my patch is not > Alfredo> correct, as isLineSeparator is also used for other purposes > Alfredo> besides deciding if a breakpoint is allowed. > > Yes, this is a bit documented in > http://bugzilla.lyx.org/show_bug.cgi?id=304 > which is more a note to myself, than the beginning of a fix...
Awesome, thanks. Answering my questions 2 years in advance...! > Fixing this has to be done sooner or later, I guess. Agreed. Still I think that my patch is no good... For instance, allowing linebreaks on button insets can lead to undesired effects, like unglueing a sentence period from the word before because of a note/footnote/ref in between. And since I've found the bug that was bothering me somewhere else, I think I'll leave isLineSeparator as-is for now. Alfredo