MCPcopy Create free account
hub / github.com/beanshell/beanshell / historyUp

Method historyUp

src/bsh/util/AWTConsole.java:230–239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228 }
229
230 private void historyUp() {
231 if ( history.size() == 0 )
232 return;
233 if ( histLine == 0 ) // save current line
234 startedLine = line.toString();
235 if ( histLine < history.size() ) {
236 histLine++;
237 showHistoryLine();
238 }
239 }
240 private void historyDown() {
241 if ( histLine == 0 )
242 return;

Callers 1

typeMethod · 0.95

Calls 3

showHistoryLineMethod · 0.95
sizeMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected