]> git.lyx.org Git - features.git/blobdiff - src/TextMetrics.cpp
Add comment.
[features.git] / src / TextMetrics.cpp
index 6c3197cfbc72bbd39b16886112679d29b8497362..c8eb1ff6ad888cb5131f83ee71c1d552c1fd82f5 100644 (file)
@@ -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
 {