From 86514e05a52801fed23c18c33255b5de62d8ae11 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Fri, 15 Aug 2008 13:26:30 +0000 Subject: [PATCH] Highlight both systems of line break --- Sources/VLSheetView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/VLSheetView.mm b/Sources/VLSheetView.mm index 3e38134..66a713c 100644 --- a/Sources/VLSheetView.mm +++ b/Sources/VLSheetView.mm @@ -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];