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

Method historyUp

src/bsh/util/JConsole.java:417–426  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

415 }
416
417 private void historyUp() {
418 if ( history.size() == 0 )
419 return;
420 if ( histLine == 0 ) // save current line
421 startedLine = getCmd();
422 if ( histLine < history.size() ) {
423 histLine++;
424 showHistoryLine();
425 }
426 }
427
428 private void historyDown() {
429 if ( histLine == 0 )

Callers 1

typeMethod · 0.95

Calls 3

getCmdMethod · 0.95
showHistoryLineMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected