PDE X prefs work

This commit is contained in:
Manindra Moharana
2014-06-26 13:40:37 +05:30
parent 4d4dcfa5ac
commit 2c8649fff4
5 changed files with 32 additions and 20 deletions

View File

@@ -476,19 +476,18 @@ public class ErrorCheckerService implements Runnable{
}
astGenerator.buildAST(cu);
if(ExperimentalMode.errorCheckEnabled){
calcPDEOffsetsForProbList();
updateErrorTable();
editor.updateErrorBar(problemsList);
updateEditorStatus();
editor.getTextArea().repaint();
updatePaintedThingys();
editor.updateErrorToggle();
}
else
{
log("Error Check disabled, so not updating UI.");
if(!ExperimentalMode.errorCheckEnabled){
problemsList.clear();
log("Error Check disabled, so not updating UI.");
}
calcPDEOffsetsForProbList();
updateErrorTable();
editor.updateErrorBar(problemsList);
updateEditorStatus();
editor.getTextArea().repaint();
updatePaintedThingys();
editor.updateErrorToggle();
int x = textModified.get();
//log("TM " + x);
if (x >= 2) {