File tree Expand file tree Collapse file tree
experimental/src/processing/mode/experimental Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -243,6 +243,8 @@ public void run() {
243243 if (pauseThread )
244244 continue ;
245245
246+ updatePaintedThingy ();
247+
246248 if (textModified .get () == 0 )
247249 continue ;
248250
@@ -281,7 +283,7 @@ private boolean checkCode() {
281283 updateErrorTable ();
282284 editor .updateErrorBar (problemsList );
283285 updateEditorStatus ();
284- updateTextAreaPainter ();
286+ // updatePaintedThingy ();
285287 int x = textModified .get ();
286288 //System.out.println("TM " + x);
287289 if (x >=3 ){
@@ -673,15 +675,14 @@ synchronized public void updateErrorTable() {
673675 /**
674676 * Repaints the textarea if required
675677 */
676- public void updateTextAreaPainter () {
677- // TODO: Make this function of some use
678+ public void updatePaintedThingy () {
678679 editor .getTextArea ().repaint ();
680+ updateEditorStatus ();
679681 currentTab = editor .getSketch ().getCodeIndex (
680682 editor .getSketch ().getCurrentCode ());
681683 if (currentTab != lastTab ) {
682684 lastTab = currentTab ;
683- // editor.getTextArea().repaint();
684- // System.out.println("1 Repaint " + System.currentTimeMillis());
685+ editor .updateErrorBar (problemsList );
685686 return ;
686687 }
687688
You can’t perform that action at this time.
0 commit comments