Skip to content

Commit

Permalink
Rename inlineBreakpoint -> getInlineBreakpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
  • Loading branch information
tolusha authored and akosyakov committed Jan 1, 2020
1 parent fb72b57 commit 5cea594
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
});
registry.registerCommand(DebugCommands.INLINE_BREAKPOINT, {
execute: () => this.editors.addInlineBreakpoint(),
isEnabled: () => !!this.editors.model && !this.editors.inlineBreakpoint()
isEnabled: () => !!this.editors.model && !this.editors.getInlineBreakpoint()
});
registry.registerCommand(DebugCommands.ADD_CONDITIONAL_BREAKPOINT, {
execute: () => this.editors.addBreakpoint('condition'),
Expand Down
2 changes: 1 addition & 1 deletion packages/debug/src/browser/editor/debug-editor-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export class DebugEditorService {
return this.model && this.model.getBreakpoint(position);
}

inlineBreakpoint(position?: monaco.Position): DebugSourceBreakpoint | undefined {
getInlineBreakpoint(position?: monaco.Position): DebugSourceBreakpoint | undefined {
return this.model && this.model.getInlineBreakpoint(position);
}

Expand Down

0 comments on commit 5cea594

Please sign in to comment.