MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / insertText

Method insertText

ij/src/main/java/ij/plugin/frame/Editor.java:1319–1323  ·  view source on GitHub ↗
(String text)

Source from the content-addressed store, hash-verified

1317 }
1318
1319 public void insertText(String text) {
1320 if (ta==null) return;
1321 int start = ta.getSelectionStart( );
1322 ta.replaceRange(" "+text+"\n", start, start);
1323 }
1324
1325 public void keyTyped(KeyEvent e) {
1326 }

Callers 1

runMacroMethod · 0.95

Calls 1

getSelectionStartMethod · 0.45

Tested by

no test coverage detected