Highlight both systems of line break

This commit is contained in:
Matthias Neeracher 2008-08-15 13:26:30 +00:00
parent 997ac4c9dc
commit 86514e05a5

View File

@ -604,7 +604,7 @@ const char * sBreak[3] = {"", "\xE2\xA4\xBE", "\xE2\x8E\x98"};
// on top.
//
if (fSelStart <= fSelEnd
&& fLayout->FirstMeasure(system+1) > fSelStart
&& fLayout->FirstMeasure(system+1) > fSelStart-(fSelStart==fSelEnd)
&& fLayout->FirstMeasure(system) < fSelEnd+(fSelStart==fSelEnd)
)
[self highlightSelectionForSystem:system];