Text der Compilerfehlermeldung wird jetzt wieder angezeigt.
This commit is contained in:
parent
b025d376fd
commit
c7fae51dd0
@ -187,7 +187,10 @@ public class JavEditor extends TextEditor implements UnifyResultListener {
|
|||||||
} catch (TypeinferenceException texc) {
|
} catch (TypeinferenceException texc) {
|
||||||
ErrorMarker errorMarker = new ErrorMarker(texc.getMessage(), new CodePoint(texc.getOffset()));
|
ErrorMarker errorMarker = new ErrorMarker(texc.getMessage(), new CodePoint(texc.getOffset()));
|
||||||
this.errorMarkers.add(errorMarker);
|
this.errorMarkers.add(errorMarker);
|
||||||
|
|
||||||
|
Display.getDefault().asyncExec(() -> {
|
||||||
this.placeMarkers(extractResource(), singletonList(errorMarker));
|
this.placeMarkers(extractResource(), singletonList(errorMarker));
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user