Commit 7a560529 authored by Jérome Perrin's avatar Jérome Perrin

monaco_editor: fix offset in pylint diagnostics

when fixing coding style in 0b8b8475 (administration,core: wrong
location when reporting pylint errors, 2024-05-25) it became wrong here.
parent cd3d1baa
......@@ -242,8 +242,8 @@ $script.onload = function() {
"pylint",
data["annotations"].map(annotation => {
return {
startLineNumber: annotation.row + 1,
endLineNumber: annotation.row + 1,
startLineNumber: annotation.row,
endLineNumber: annotation.row,
startColumn: annotation.col,
endColumn: Infinity,
message: annotation.text,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment