feat: extend NextEditOutcome type to include final cursor position and the editable region start and end lines
This commit is contained in:
parent
e3b61b9890
commit
263e340d07
1 changed files with 3 additions and 0 deletions
|
|
@ -53,7 +53,10 @@ export interface NextEditOutcome extends TabAutocompleteOptions {
|
|||
originalEditableRange: string;
|
||||
completion: string;
|
||||
cursorPosition: { line: number; character: number };
|
||||
finalCursorPosition: { line: number; character: number };
|
||||
accepted?: boolean;
|
||||
editableRegionStartLine: number;
|
||||
editableRegionEndLine: number;
|
||||
}
|
||||
|
||||
export interface PromptMetadata {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue