Skip to content

Commit

Permalink
Highlight file:// URIs correctly in REPL
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfbecker committed Nov 8, 2016
1 parent e998a29 commit 9cbfd08
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class ReplExpressionsRenderer implements IRenderer {
// group 3: line number
// group 4: column number
// eg: at Context.<anonymous> (c:\Users\someone\Desktop\mocha-runner\test\test.js:26:11)
/((\/|[a-zA-Z]:\\)?[^\(\)<>\'\"\[\]:]+):(\d+)(?::(\d+))?/
/(?:file:\/\/)?((\/|[a-zA-Z]:\\)?[^\(\)<>\'\"\[\]:]+):(\d+)(?::(\d+))?/
];

private static LINE_HEIGHT_PX = 18;
Expand Down

0 comments on commit 9cbfd08

Please sign in to comment.