MCPcopy Index your code
hub / github.com/beanshell/beanshell / showHistoryLine

Method showHistoryLine

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

Source from the content-addressed store, hash-verified

434 }
435
436 private void showHistoryLine() {
437 String showline;
438 if ( histLine == 0 )
439 showline = startedLine;
440 else
441 showline = (String)history.elementAt( history.size() - histLine );
442
443 replaceRange( showline, cmdStart, textLength() );
444 text.setCaretPosition(textLength());
445 text.repaint();
446 }
447
448 String ZEROS = "000";
449

Callers 2

historyUpMethod · 0.95
historyDownMethod · 0.95

Calls 4

replaceRangeMethod · 0.95
textLengthMethod · 0.95
setCaretPositionMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected