MCPcopy Index your code
hub / github.com/processing/processing / updateErrorTable

Method updateErrorTable

app/src/processing/app/ui/Editor.java:3071–3083  ·  view source on GitHub ↗

Updates the error table in the Error Window.

(List<Problem> problems)

Source from the content-addressed store, hash-verified

3069 * Updates the error table in the Error Window.
3070 */
3071 public void updateErrorTable(List<Problem> problems) {
3072 if (errorTable != null) {
3073 errorTable.clearRows();
3074
3075 for (Problem p : problems) {
3076 String message = p.getMessage();
3077 errorTable.addRow(p, message,
3078 sketch.getCode(p.getTabIndex()).getPrettyName(),
3079 Integer.toString(p.getLineNumber() + 1));
3080 // Added +1 because lineNumbers internally are 0-indexed
3081 }
3082 }
3083 }
3084
3085
3086 public void highlight(Problem p) {

Callers 1

setProblemListMethod · 0.95

Calls 8

getPrettyNameMethod · 0.80
getCodeMethod · 0.80
getMessageMethod · 0.65
getTabIndexMethod · 0.65
getLineNumberMethod · 0.65
clearRowsMethod · 0.45
addRowMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected