git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'subtree'
[fanfix.git]
/
src
/
jexer
/
teditor
/
Word.java
diff --git
a/src/jexer/teditor/Word.java
b/src/jexer/teditor/Word.java
index eada29cff83ed8b1c61c59d1741b5646d1f645b8..483f9c3d86c46a1dfbf225876eb7b42c219ba0c1 100644
(file)
--- 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() {
* @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());
}
return StringUtils.width(text.toString());
}