It seems Chrome converts text files into simple html files, with text
wrapped in <pre> tags. While this makes formatting the files simple, it
also constricts the formatting of the text to what you can specify in
CSS.
If Webkit supported the text-wrap CSS property, I could easily create an
extension which set all elements (or even just <pre> elements) in text
files to 'text-wrap: none', which would keep all lines from wrapping.
Unfortunately, it seems like no browser currently supports text-wrap, so
there's no easy fix (at least, none that I'm aware of).
--
Ben
If you can set an application to be the default for text files (for
instance, I think you can right click a text file on Windows, click
'Open With...', and there may be a checkbox you can click to make the
application you choose the default. I'm pretty sure you can do that on
Ubuntu (in Gnome, maybe KDE) too.
If you can't do that, you may have to install an application which does
this for you, or an extension with an NPAPI plugin (but I don't know if
one exists with this functionality), or edit the Windows registry
directly (but I don't recommend that).
--
Ben
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.