content
The new content for the target range.
This can contain any number of lines. Implementation details: Trailing newlines are processed structurally to ensure proper absorption.
Use this when you can clearly see the start and end of a block (like a method or Javadoc) in the RAG message.
private Stringprivate intprivate intreasonvoidintThis can contain any number of lines. Implementation details: Trailing newlines are processed structurally to ensure proper absorption.
Performs range validation before removing the target lines and splicing in the new content.
apply in class AbstractLineEditlines - The current lines of the file.AgiToolException - if indices are out of bounds or validation fails.Returns the start line of the replacement range for sorting.
getSortLine in class AbstractLineEdit