docs and naming fix

This commit is contained in:
Vsevolod Chernetskyi 2025-02-25 16:50:53 +02:00
parent 8df96a5995
commit d270d5e3dd
2 changed files with 5 additions and 5 deletions

View file

@ -269,15 +269,15 @@ abstract class BufferCompletionSource extends Completions.CompletionSourceFuse {
/**
* Provide identifier, which will be used before tab title in the completion option.
* @param index of a tab calculated by Tridactyl
* @param index of the tab calculated by Tridactyl
* @param tab Tab
*/
protected abstract titlePrefix(index: number, tab: browser.tabs.Tab): number
/**
* Provide value, which will be used on tab completion (i.e. when user selects tab option using <Space> or <Enter>).
* @param index of a tab calculated by Tridactyl
* @param tab Tab
* @param titlePrefix identifier user before tab title
* @param isAlternative marker if completion value is for previous tab
*/
protected abstract completionValue(
titlePrefix: number,

View file

@ -6230,6 +6230,6 @@ export async function tstmoveafter(tabId: string) {
* Attach current tree as a child to the selected parent.
*/
//#background
export async function tstattach(tabId: string) {
treestyletab.attachTree(Number(tabId))
export async function tstattach(parentTabId: string) {
treestyletab.attachTree(Number(parentTabId))
}