Hi,
I occasionally need to hard wrap text, meaning that carriage returns are inserted to make the text wrap at a certain column. The Text bundle has a command to do this; it's called "Reformat to Column". Because of this unorthodox name, I always have trouble searching for it because I expect the command to have the word "hard" or "wrap" in it. Could it be changed? For example, I noticed that the "Statistics for Document" command has "(Word Count)" in parentheses because few people wanting to find a word count command would search for the word "statistics". And I suspect few people wanting to find a hard wrap command would search for the word "reformat". How about renaming the command to "Reformat to Column (Hard Wrap)"?
Trevor
On 30/11/2007, Trevor Harmon trevor@vocaro.com wrote:
I occasionally need to hard wrap text, meaning that carriage returns are inserted to make the text wrap at a certain column. The Text bundle has a command to do this; it's called "Reformat to Column".
Are you sure that's a standard command? I can't find it in the Text bundle on my installation, nor in the Subversion repository. Is it possible that it's a command you added yourself? If so, then of course you can rename it to whatever you like!
Robin
On Nov 30, 2007, at 2:09 PM, Robin Houston wrote:
Are you sure that's a standard command? I can't find it in the Text bundle on my installation, nor in the Subversion repository.
LOL you're right! Allan Odgaard wrote it for me:
http://comox.textdrive.com/pipermail/textmate/2006-November/015684.html
It was long enough ago that I completely forgot it's a custom command and not a built-in one. Funny...
Maybe I should submit it as a new addition to the Text bundle. I need it every now and then, and I imagine others would find it useful. Would anyone be interested in making the command "standard"? I think it's the same as the usual ^Q except that it asks for the column number instead of using the current window width.
Trevor