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

Method replaceRange

src/bsh/util/JConsole.java:366–372  ·  view source on GitHub ↗
(Object s, int start, int	end)

Source from the content-addressed store, hash-verified

364 }
365
366 private String replaceRange(Object s, int start, int end) {
367 String st = s.toString();
368 text.select(start, end);
369 text.replaceSelection(st);
370 //text.repaint();
371 return st;
372 }
373
374 private void forceCaretMoveToEnd() {
375 if (text.getCaretPosition() < cmdStart) {

Callers 4

typeMethod · 0.95
showHistoryLineMethod · 0.95
typeMethod · 0.80
showHistoryLineMethod · 0.80

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected