Sorry for late reply. I've been volunteer teaching in undeveloped areas where I can only check my email remittently. Not really more progress. I asked further question and got no reply....So I kind of give up......
Wei Lin On Sat, Jul 20, 2013 at 6:17 AM, Scott Kostyshak <skost...@lyx.org> wrote: > On Sun, May 5, 2013 at 3:58 AM, Lin Wei <weilin1...@gmail.com> wrote: > > Still have some doubt about the algorithm for word wrap. > > > > TextMetrics.cpp pos_type TextMetrics::rowBreakPoint(int width, > pit_type > > const pit, pos_type pos) const > > > > This function seems to iterate through until the right margin or end of > par > > is reached. I'm wondering whether it iterates a word per pass or just a > > character. Furthermore, If it is a word, how does LyX wrap a long word to > > the next row? > > > > Hi Lin Wei, > > Did you make any progress on this? I think this issue just came up again > here: > http://www.mail-archive.com/lyx-users@lists.lyx.org/msg96125.html > > Best, > > Scott >