{#each sources as source}
{
goToFileAndLine(source);
}}
selected={source === file_path}
>
{source}
{/each}
beancountFormat(editor)}>
{_("Align Amounts")}
{#snippet right()}
{/snippet}
toggleComment(editor)}>
{_("Toggle Comment (selection)")}
{#snippet right()}
{/snippet}
unfoldAll(editor)}>
{_("Open all folds")}
{#snippet right()}
{/snippet}
foldAll(editor)}>
{_("Close all folds")}
{#snippet right()}
{/snippet}
{#if insertEntryOptions.length}
{#each insertEntryOptions as opt}
{
goToFileAndLine(opt.filename, opt.lineno - 1);
}}
>
{opt.re}
{#snippet right()}
{opt.date}
{/snippet}
{/each}
{/if}
{@render children()}