Like Greg, this is not a request. I was attempting to explain what I thought Lee was talking about. Obviously line wrapping (and line breaking as you type) are in Geany. Those are modes of operation. 2 other editors (jEdit and emacs) have the after-the-fact paragraph format function. I load up one of these to do the job when needed; especially useful when editing some HTML files, or preparing a document to look reasonable when printed.
Wherever the cursor is when started, the process goes back to the previous blank line and formats ( breaks lines ) to the next blank line. It often (usually) means manually entering a blank line or two before performing the operation to isolate the area in question, to contain the effect.
It's really no big deal, but since I use Geany for html, php, c, c++, java, etc. as well as text files, I'd be happy not to need to fire up another editor just for this one function; but I don't mind doing it because it doesn't happen often.
That's all.
chuck
Enrico Tröger wrote:
On Wed, 28 Jan 2009 15:22:25 -0800, chuck ctl@arrowtwins.com wrote:
Hey,
still not sure whether Lee was asking for line wrapping or line breaking.
Added item. This operation is a one-time thing. It is not a mode of operation as is line wrapping. Once done, it affects only the text that was there when it was done. New text just goes into the buffer as always. It can extend beyond the line-break marker or not. A subsequent 'format' action will then affect all text existing at that time. The line-break column may bwe changed before the format and the new width will be active for that one operation.
You noticed we already have line breaking since 0.15? It works differently from what you suggest, it is line-breaking as you type :). I think the code could be more or less easily modified to work also on the whole document at once.
Regards, Enrico
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany