Closed Almenon closed 6 years ago
Wolf should truncate if the content is too long.
Shouldn't be too hard to fix ~ right before displaying the message you would do something like:
// get maxStringLength from settings. if(preview.length > maxStringLength){ preview = preview.slice(0,maxStringLength) + "..." }
The user could still hover over the preview to see the box with the full content
Reasoning; The user may read in a very large file and you dont want to spend a bunch of time writing the contents to the screen
Closed in v0.3.7! Set the cutoff point with the wolf.maxLineLength setting. Thanks again, cheers.
wolf.maxLineLength
Wolf should truncate if the content is too long.
Shouldn't be too hard to fix ~ right before displaying the message you would do something like:
The user could still hover over the preview to see the box with the full content
Reasoning; The user may read in a very large file and you dont want to spend a bunch of time writing the contents to the screen