X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fteditor%2FDocument.java;h=a9979f5a17d4a375197dac4bb7b09e3bcd405060;hb=8d3480c7b92b79c8e774261fd6a8fe719286cf67;hp=ffbe0816bd1e80b2c4639e7253b8b4dc3f50b8eb;hpb=b2efac6ed4525f77cbcb717a082d3a2884c91936;p=fanfix.git diff --git a/src/jexer/teditor/Document.java b/src/jexer/teditor/Document.java index ffbe081..a9979f5 100644 --- a/src/jexer/teditor/Document.java +++ b/src/jexer/teditor/Document.java @@ -89,7 +89,8 @@ public class Document { public Document(final String str, final CellAttributes defaultColor) { this.defaultColor = defaultColor; - // TODO: set different colors based on file extension + // Set colors to resemble the Borland IDE colors, but for Java + // language keywords. highlighter.setJavaColors(); String [] rawLines = str.split("\n");