mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
debug: breakpoint decoration has no range, only use the margin decoration
fixes #20601
This commit is contained in:
@@ -239,7 +239,7 @@ export class DebugEditorModelManager implements IWorkbenchContribution {
|
||||
private createBreakpointDecorations(breakpoints: IBreakpoint[]): IModelDeltaDecoration[] {
|
||||
return breakpoints.map((breakpoint) => {
|
||||
const range = breakpoint.column ? new Range(breakpoint.lineNumber, breakpoint.column, breakpoint.lineNumber, breakpoint.column + 1)
|
||||
: new Range(breakpoint.lineNumber, 1, breakpoint.lineNumber, Number.MAX_VALUE);
|
||||
: new Range(breakpoint.lineNumber, 1, breakpoint.lineNumber, 1);
|
||||
return {
|
||||
options: this.getBreakpointDecorationOptions(breakpoint),
|
||||
range
|
||||
|
||||
Reference in New Issue
Block a user