Update athen introduction to the texteditor authored by Markus Krug's avatar Markus Krug
...@@ -228,8 +228,9 @@ For a java developer it seems that we always reuse our color variable, however * ...@@ -228,8 +228,9 @@ For a java developer it seems that we always reuse our color variable, however *
while (i > 0) { while (i > 0) {
if (colorWhite != null) { if (colorWhite != null) {
colorWhite.dispose(); colorWhite.dispose();
}
colorWhite = new Color(Display.getCurrent(), new RGBA(255, 255, 255, 0)); colorWhite = new Color(Display.getCurrent(), new RGBA(255, 255, 255, 0));
}
i--; i--;
} }
... ...
......