Skip to content

worsksheet: clarify where the hidden output is #5605

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 1 commit into from
Dec 13, 2018
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
2 changes: 1 addition & 1 deletion vscode-dotty/src/worksheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class Worksheet implements Disposable {
hoverMessage: new vscode.MarkdownString().appendCodeblock(runResult)
}
const decorationMargin = this.margin - line.text.length
const decorationText = resultLines[0] + (resultLines.length > 1 ? `<${resultLines.length - 1} lines hidden>` : "")
const decorationText = resultLines[0] + (resultLines.length > 1 ? `<${resultLines.length - 1} lines hidden, hover to see full output>` : "")
const decorationType = this.createDecoration(decorationMargin, decorationText)
const decoration = new Decoration(decorationType, decorationOptions)
this.decorations.push(decoration)
Expand Down