]> git.lyx.org Git - features.git/commitdiff
Add comment.
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 13 Feb 2011 09:49:50 +0000 (09:49 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 13 Feb 2011 09:49:50 +0000 (09:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37621 a592a061-630c-0410-9148-cb99ea01b6c8

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
 {