fluffy icon indicating copy to clipboard operation
fluffy copied to clipboard

Add an option to line wrap text to fit in the viewport

Open shazeline opened this issue 8 years ago • 1 comments

For example, this is hard to read as-is, but would be much easier to read if it was line wrapped.

shazeline avatar May 12 '17 22:05 shazeline

This sounds like a good idea to me. I'm thinking maybe a checkbox or dropdown at the top to toggle it on/off?

One challenge in implementation might be getting the line numbers of the left to match up with the wrapped text. I'm not quite sure how to implement that off the top of my head, it might require some refactoring.

Just to provide a couple interim workarounds:

  • You can currently click "raw text" to have your browser format it (probably with line wrapping), though you of course lose some of the niceties like syntax highlighting.
  • If you're only pasting text (and not code), maybe you could use Markdown, e.g. https://i.fluffy.cc/00VHrtW3pc0FS4TDdzKlclkD4dQWBNLb.html

chriskuehl avatar May 12 '17 23:05 chriskuehl