Skip to content

Worksheet improvements #5277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 17, 2018
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Use a color that is theme-specific for the worksheet output
This way we can be sure that our output is readable in all themes.
  • Loading branch information
smarter committed Oct 17, 2018
commit 99ac0609ff72aa296b8d62859c4f05fec8d99168
5 changes: 4 additions & 1 deletion vscode-dotty/src/worksheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,10 @@ class Worksheet implements Disposable {
contentText: text,
margin: `0px 0px 0px ${margin}ch`,
fontStyle: "italic",
color: "light gray",
// It would make more sense to use the colors of commments in the
// current theme, but there's no API to access this currently
// (https://github.com/Microsoft/vscode/issues/32813).
color: new vscode.ThemeColor("terminal.ansiGreen"),
}
})
}
Expand Down