mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-10 23:36:22 -04:00
docs and naming fix
This commit is contained in:
parent
8df96a5995
commit
d270d5e3dd
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue