]> git.lyx.org Git - lyx.git/blobdiff - src/Row.h
Revert "Fix bug with wrong baseline calculation in last paragraph"
[lyx.git] / src / Row.h
index a1e707e7449eaeabc9fe9d631459bc74c8638eec..04890f70657cfe1197e49d87277e4812776cf3fe 100644 (file)
--- a/src/Row.h
+++ b/src/Row.h
@@ -29,6 +29,18 @@ namespace lyx {
 class DocIterator;
 class Inset;
 
+/**
+ * FIXME: Change Row object to operate only on integers and not doubles.
+ *
+ * This use of double is only useful to distribute the extra
+ * horizontal space between separators in justified text. If we do
+ * integer arithmetic, then it is possible to have two groups of
+ * separators, with size s or s+1. Then strings can be drawn without
+ * cutting at separators in justfied text, as it is done in
+ * non-justified text. This will improve performance.
+ */
+
+
 /**
  * An on-screen row of text. A paragraph is broken into a RowList for
  * display. Each Row contains a tokenized description of the contents