From 4d2bd0796c839b25ed9b96319957d02fbe452aca Mon Sep 17 00:00:00 2001 From: yipstanley Date: Fri, 18 Jan 2019 20:28:53 -0500 Subject: yuck --- src/util/SelectionManager.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/util') diff --git a/src/util/SelectionManager.ts b/src/util/SelectionManager.ts index 52c92d174..2a63248c4 100644 --- a/src/util/SelectionManager.ts +++ b/src/util/SelectionManager.ts @@ -28,4 +28,12 @@ export namespace SelectionManager { export function IsSelected(doc: DocumentView): boolean { return manager.SelectedDocuments.indexOf(doc) !== -1; } + + export function DeselectAll(): void { + manager.SelectedDocuments = [] + } + + export function SelectedDocuments(): Array { + return manager.SelectedDocuments; + } } \ No newline at end of file -- cgit v1.2.3-70-g09d2