From: Vincent van Ravesteijn Date: Sun, 13 Feb 2011 09:49:50 +0000 (+0000) Subject: Add comment. X-Git-Tag: 2.0.0~775 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8e6e9d3782e80572dbd8432999ece5ea43b355f2;p=features.git Add comment. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37621 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index 6c3197cfbc..c8eb1ff6ad 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -313,6 +313,9 @@ bool TextMetrics::isRTLBoundary(pit_type pit, pos_type pos) const } +// isRTLBoundary returns false on a real end-of-line boundary, +// because otherwise the two boundary types get mixed up. +// This is the whole purpose of this being in TextMetrics. bool TextMetrics::isRTLBoundary(pit_type pit, pos_type pos, Font const & font) const {