Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ScmCommitWidget

Hierarchy

  • ReactWidget
    • ScmCommitWidget

Implements

  • StatefulWidget

Index

Constructors

  • new ScmCommitWidget(contextMenuRenderer: ContextMenuRenderer): ScmCommitWidget

Properties

contextMenuRenderer: ContextMenuRenderer
inputRef: RefObject<HTMLTextAreaElement> = ...

Don't modify DOM use React! only exposed for focusInput Use this.scmService.selectedRepository?.input.value as a single source of truth!

keybindings: KeybindingRegistry
scmService: ScmService
shouldScrollToRow: boolean = true
toDisposeOnRepositoryChange: DisposableCollection = ...
ID: string = 'scm-commit-widget'

Methods

  • createContainerAttributes(): HTMLAttributes<HTMLElement>
  • focus(): void
  • onActivateRequest(msg: Message): void
  • onAfterAttach(msg: Message): void
  • refreshOnRepositoryChange(): void
  • render(): ReactNode
  • setInputValue(event: string | FormEvent<HTMLTextAreaElement> | ChangeEvent<HTMLTextAreaElement>): void