提交 627562f1 编写于 作者: I isidor

debug: breakpoint decoration has no range, only use the margin decoration

fixes #20601
上级 08be8f25
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册