X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fteditor%2FWord.java;h=483f9c3d86c46a1dfbf225876eb7b42c219ba0c1;hb=505be508ae7d3fb48122be548b310a238cfb91eb;hp=eada29cff83ed8b1c61c59d1741b5646d1f645b8;hpb=5c444e1c564de1bf44acb2024d148437e430a666;p=fanfix.git diff --git a/src/jexer/teditor/Word.java b/src/jexer/teditor/Word.java index eada29c..483f9c3 100644 --- a/src/jexer/teditor/Word.java +++ b/src/jexer/teditor/Word.java @@ -135,11 +135,6 @@ public class Word { * @return the number of cells needed to display this word */ public int getDisplayLength() { - // For now, just use the text length. In the future, this will be a - // grapheme count. - - // TODO: figure out how to handle the tab character. Do we have a - // global tab stops list and current word position? return StringUtils.width(text.toString()); }