From 594e37e070273b60c273088cd56088bd009afb0c Mon Sep 17 00:00:00 2001 From: frogneko Date: Sat, 30 Aug 2025 15:03:02 +0300 Subject: [PATCH] Add documentation for rewrite lines & rewrite all actions --- .../reference/features/edit-active-document.mdx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/content/docs/reference/features/edit-active-document.mdx b/src/content/docs/reference/features/edit-active-document.mdx index b632f3d..ee1b33a 100644 --- a/src/content/docs/reference/features/edit-active-document.mdx +++ b/src/content/docs/reference/features/edit-active-document.mdx @@ -16,6 +16,11 @@ export const attribs = { + +## Limitations + +There is a 100,000 character limit for all editing actions. + ## Cursor *See also: [Reference/Cursor](/docs/reference/cursor)* @@ -46,6 +51,14 @@ For all other options, Neuro can choose to use either glob patterns or regex to A special variant of the Insert Text action that automatically adds below a line rather than at the cursor. By default it inserts below the cursor. +## Rewrite Lines + +Rewrites the specified line range with the given content. + +## Rewrite All + +Completely rewrites the contents of the file and places the cursor at the start of the file. + ## Undo This allows Neuro to undo the last editing action.