Skip to content
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.

fix nightly highlighting #274

Merged
merged 1 commit into from
Jan 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions static/web.js
Original file line number Diff line number Diff line change
Expand Up @@ -549,12 +549,12 @@
return '<span class=ansi-' + COLOR_CODES[+colorCode] + '>' + text + '</span>';
}).replace(/\x1b\[1m([^\x1b]*)(?:\x1b\(B)?\x1b\[0?m/g, function(original, text) {
return "<strong>" + text + "</strong>";
}).replace(/(?:\x1b\(B)?\x1b\[0m/g, '');
}).replace(/(?:\x1b\(B)?\x1b\[0?m/g, '');
}

//This affects how mouse acts on the program output.
//Screenshots here: https://github.com/rust-lang/rust-playpen/pull/192#issue-145465630
//If mouse hovers on eg. "<anon>:3", temporarily show that line(3) into view by
//If mouse hovers on eg. "<anon>:3", temporarily show that line(3) into view by
//selecting it entirely and move editor's cursor to the beginning of it;
//Moves back to original view when mouse moved away.
//If mouse left click on eg. "<anon>:3" then the editor's cursor is moved
Expand Down