fix: AvanteEdit command (#1799)

This commit is contained in:
yetone
2025-04-02 16:27:10 +08:00
committed by GitHub
parent 06757e8bf5
commit 0828d32346
6 changed files with 172 additions and 125 deletions

View File

@@ -7,6 +7,8 @@ local SelectionResult = {}
SelectionResult.__index = SelectionResult
-- Create a selection content and range
---@param filepath string Filepath of the selected content
---@param filetype string Filetype of the selected content
---@param content string Selected content
---@param range avante.Range Selection range
function SelectionResult:new(filepath, filetype, content, range)