X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjexer%2Fteditor%2FHighlighter.java;h=4f601556c5d0ffd4c94d7fed98698f2c11247d63;hb=a69ed767c9c07cf35cf1c5f7821fc009cfe79cd2;hp=9576ad1e52b0b9ddd854a5693b64122873228373;hpb=e8a11f986bfe2556e450d7b8ad6ef0059b369bbc;p=nikiroo-utils.git diff --git a/src/jexer/teditor/Highlighter.java b/src/jexer/teditor/Highlighter.java index 9576ad1..4f60155 100644 --- a/src/jexer/teditor/Highlighter.java +++ b/src/jexer/teditor/Highlighter.java @@ -3,7 +3,7 @@ * * The MIT License (MIT) * - * Copyright (C) 2017 Kevin Lamonte + * Copyright (C) 2019 Kevin Lamonte * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -39,11 +39,19 @@ import jexer.bits.Color; */ public class Highlighter { + // ------------------------------------------------------------------------ + // Variables -------------------------------------------------------------- + // ------------------------------------------------------------------------ + /** * The highlighter colors. */ private SortedMap colors; + // ------------------------------------------------------------------------ + // Constructors ----------------------------------------------------------- + // ------------------------------------------------------------------------ + /** * Public constructor sets the theme to the default. */ @@ -51,6 +59,10 @@ public class Highlighter { colors = new TreeMap(); } + // ------------------------------------------------------------------------ + // Highlighter ------------------------------------------------------------ + // ------------------------------------------------------------------------ + /** * See if this is a character that should split a word. * @@ -129,5 +141,4 @@ public class Highlighter { } - }