You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
It can be solved by changing the regex from '(?[^\\^]*)\^' to '(?\d+): '
but this way some linting errors are not detected anymore, such as:
not having the start tag of the root element
deleting closing > from a closing element.
Steps:
Play a bit with a bad xml file
Atom Version: 0.209.0 System: linux 4.0.5-1-ARCH Thrown From: linter package, v0.12.7
Stack Trace
Uncaught TypeError: Invalid Point: (12, NaN)
At /usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/point.js:65
TypeError: Invalid Point: (12, NaN)
at Function.module.exports.Point.assertValid (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/point.js:65:15)
at TextBuffer.module.exports.TextBuffer.clipPosition (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:956:13)
at TextBuffer.module.exports.TextBuffer.clipRange (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:944:20)
at TextBuffer.module.exports.TextBuffer.markRange (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:674:46)
at DisplayBuffer.module.exports.DisplayBuffer.markBufferRange (/usr/share/atom/resources/app.asar/src/display-buffer.js:1381:41)
at TextEditor.module.exports.TextEditor.markBufferRange (/usr/share/atom/resources/app.asar/src/text-editor.js:1265:59)
at LinterView.createMarker (/home/arch/.config/atom/packages/linter/lib/linter-view.coffee:190:22)
at LinterView.display (/home/arch/.config/atom/packages/linter/lib/linter-view.coffee:227:17)
at LinterView.processMessage (/home/arch/.config/atom/packages/linter/lib/linter-view.coffee:178:8)
at LinterView.processMessage (/home/arch/.config/atom/packages/linter/lib/linter-view.coffee:1:1)
at /home/arch/.config/atom/packages/linter/lib/linter-view.coffee:164:14
at LinterXmllint.Linter.processMessage (/home/arch/.config/atom/packages/linter/lib/linter.coffee:241:5)
at /home/arch/.config/atom/packages/linter/lib/linter.coffee:173:8
at triggerExitCallback (/usr/share/atom/resources/app.asar/src/buffered-process.js:213:47)
at /usr/share/atom/resources/app.asar/src/buffered-process.js:227:18
at Socket.<anonymous> (/usr/share/atom/resources/app.asar/src/buffered-process.js:98:18)
at emitOne (events.js:82:20)
at Socket.emit (events.js:166:7)
at Pipe.close (net.js:464:12)
Background: steelbrain/linter#560
(this is issue #13 after maxbrunsfeld’s help in atom/atom#7077 )
It can be solved by changing the regex from '(?[^\\^]*)\^' to '(?\d+): '
but this way some linting errors are not detected anymore, such as:
Steps:
Atom Version: 0.209.0
System: linux 4.0.5-1-ARCH
Thrown From: linter package, v0.12.7
Stack Trace
Uncaught TypeError: Invalid Point: (12, NaN)
Commands
Config
Installed Packages
The text was updated successfully, but these errors were encountered: