It has been a long time coming, but I've finally gotten the "unselectable regions" update ready for beta testing.
There are a few minor bugfixes, and a minor rearchitecture, but the primary change is the addition of the g:html_unselectable option. To use this option, assign it a string value containing one or more of the letters f, n, or t. This will have TOhtml use readonly input tags, with some javascript, to prevent selection of specific non-text regions of the generated file. The idea is that you can then copy the text from the browser, without also copying the specified regions. The regions are: f - fold column n - line numbers t - foldtext Soon, I intend to also add: d - diff filler text Please try it out and give me any feedback/bug reports. There should be no regressions, but I'm certainly interested if there are any. By default, if g:html_unselectable is not set, :TOhtml generates as if it was set to "f". I have not yet fully tested the html_unselectable option with very many other option settings. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
