Object found in response messages defining an editing instruction for a span of text in source code. The effect of this instruction is to replace the text starting at start and ending one character before end with newText. For an insertion, the text span is empty. For a deletion, newText is empty.
Object found in response messages defining an editing instruction for a span of text in source code. The effect of this instruction is to replace the text starting at start and ending one character before end with newText. For an insertion, the text span is empty. For a deletion, newText is empty.
(end code-edit)
One character past last character of the text span to edit.
Returns: Location
One character past last character of the text span to edit. **Returns:** `Location`
(new-text code-edit)
Replace the span defined above with this string (may be the empty string).
Returns: string
Replace the span defined above with this string (may be the empty string). **Returns:** `string`
(set-end! code-edit value)
One character past last character of the text span to edit.
One character past last character of the text span to edit.
(set-new-text! code-edit value)
Replace the span defined above with this string (may be the empty string).
Replace the span defined above with this string (may be the empty string).
(set-start! code-edit value)
First character of the text span to edit.
First character of the text span to edit.
(start code-edit)
First character of the text span to edit.
Returns: Location
First character of the text span to edit. **Returns:** `Location`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close