mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-19 14:22:19 +01:00
translate to a 1-based location for the marker service (#208161)
This commit is contained in:
+4
-1
@@ -91,7 +91,10 @@ export class CellDiagnostics extends Disposable {
|
||||
return {
|
||||
severity: 8,
|
||||
message: message,
|
||||
...location,
|
||||
startLineNumber: location.startLineNumber + 1,
|
||||
startColumn: location.startColumn + 1,
|
||||
endLineNumber: location.endLineNumber + 1,
|
||||
endColumn: location.endColumn + 1,
|
||||
source: 'Cell Execution Error'
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user