MCPcopy
hub / github.com/arduino/Arduino / clear

Method clear

app/src/processing/app/EditorConsole.java:168–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166 }
167
168 public void clear() {
169 try {
170 document.remove(0, document.getLength());
171 startOfLine = 0;
172 insertPosition = 0;
173 } catch (BadLocationException e) {
174 // ignore the error otherwise this will cause an infinite loop
175 // maybe not a good idea in the long run?
176 }
177 }
178
179 public void scrollDown() {
180 getHorizontalScrollBar().setValue(0);

Callers 10

testCrHandlingMethod · 0.45
updateContributionsMethod · 0.45
updateContributionsMethod · 0.45
createTabsMethod · 0.45
handleRunMethod · 0.45
handleExportMethod · 0.45
handleBurnBootloaderMethod · 0.45
handleBoardInfoMethod · 0.45

Calls 1

removeMethod · 0.45

Tested by 1

testCrHandlingMethod · 0.36