MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / replaceRange

Method replaceRange

src/main/java/fielded/EditorUtils.java:126–129  ·  view source on GitHub ↗
(int start, int end, String to)

Source from the content-addressed store, hash-verified

124 }
125
126 public void replaceRange(int start, int end, String to)
127 {
128 editor.sendJavaScriptNow("cm.getDoc().replaceRange(\""+to+"\", cm.posFromIndex("+start+"), cm.posFromIndex("+end+"))");
129 }
130
131 public void insertAtStart(String insertion)
132 {

Callers 15

IncrementMethod · 0.95
taps.jsFile · 0.80
AutocompleteFunction · 0.80
ImportFunction · 0.80
interventions.jsFile · 0.80
killFunction · 0.80
pasteFunction · 0.80
setFunction · 0.80
insertFloatSliderFunction · 0.80
insertFloatSliderHereFunction · 0.80
insertXYSliderFunction · 0.80

Calls 1

sendJavaScriptNowMethod · 0.80

Tested by

no test coverage detected