highlights: new lines removed from hilight call, some not highlighted strings are highlighted

This commit is contained in:
Honfika
2013-08-25 16:57:22 +02:00
parent b28e8de18f
commit fa48f9478f
73 changed files with 343 additions and 110 deletions
@@ -69,9 +69,9 @@ public class DefineLocalActionItem extends ActionItem implements SetTypeActionIt
@Override
public String toString(boolean highlight, ConstantPool constants) {
if (value == null) {
return hilight("var ", highlight) + stripQuotes(name, constants, highlight);
return hilight("var ", highlight) + stripQuotes(name, constants, highlight);
}
return hilight("var ", highlight) + stripQuotes(name, constants, highlight) + hilight(" = ", highlight) + value.toString(highlight, constants);
return hilight("var ", highlight) + stripQuotes(name, constants, highlight) + hilight(" = ", highlight) + value.toString(highlight, constants);
}
@Override