From 8e6e9d3782e80572dbd8432999ece5ea43b355f2 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sun, 13 Feb 2011 09:49:50 +0000 Subject: [PATCH] Add comment. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37621 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/TextMetrics.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 {