Skip to content

Commit d3ab0d5

Browse files
authored
Merge pull request #5 from frogneko/patch/devstream/docs/rewrite-lines-rewrite-all
Add documentation for rewrite lines & rewrite all actions
2 parents 06daf06 + 594e37e commit d3ab0d5

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/content/docs/reference/features/edit-active-document.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ export const attribs = {
1616

1717
<CenterIcon Icon={NeuroPilotEdit} credits="Edit active document logo by KTrain5369" attribs={attribs} />
1818

19+
20+
## Limitations
21+
22+
There is a 100,000 character limit for all editing actions.
23+
1924
## Cursor
2025

2126
*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
4651
A special variant of the Insert Text action that automatically adds below a line rather than at the cursor.
4752
By default it inserts below the cursor.
4853

54+
## Rewrite Lines
55+
56+
Rewrites the specified line range with the given content.
57+
58+
## Rewrite All
59+
60+
Completely rewrites the contents of the file and places the cursor at the start of the file.
61+
4962
## Undo
5063

5164
This allows Neuro to undo the last editing action.

0 commit comments

Comments
 (0)