Article View: news.software.readers
Article #148207Re: [Dialog] Script for indenting paragraph without line breaks?
From: Scott Marquardt
Date: Fri, 14 May 2004 07:03
Date: Fri, 14 May 2004 07:03
106 lines
5858 bytes
5858 bytes
Julia Thorne opined thusly on May 12: > On Tue, 11 May 2004 22:51:59 -0500, Scott Marquardt wrote: > >> But what I really like to do is this. If I paste in a couple hundred >> words, in order to indent them like this I need to whack a tab on the >> first line, then end/enter/end/enter/end/enter and so forth, till I'm done >> indenting the whole thing. Oh, for a script that just formats whatever >> paragraph my insertion point's in! > > Yeah... that paragraph above has lines that are too long now, You know, I'd noticed that it didn't seem to deal with line length right. You're right. Here, I typed this entire paragraph, then went to the first line and typed tab/tab/tab/tab/end/enter/end/enter/etc. Well hang on, I want some filler here. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. Weird! Why on earth wouldn't it wrap the lines after I hit tab, on its own, /before/ I whacked Enter at the end of the lines? When a naturally wrapping paragraph is begun with tabs or autoindented with tabs, the end of the line doesn't naturally wrap! Here's another test: 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 OK, that was a natural wrap. Now this, with one tab: 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 Aaargh! What's that push a couple characters further to the right? Now two tabs: 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 Even further! OK, three: 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 Some crazy stuff. So here, four tabs then the end/enter/end/enter thing: 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 1 3 5 7 Weird. Weird because I don't understand it. > but > -Special->ReformatParagraph- takes out the spaces between the ">" > quoting character and the beginning of each line, destroying the > formatting. I use Dialog more for email than Usenet, and I often > need to preserve someone's formatting when replying or forwarding. > This problem happens with outlines, ASCII art diagrams, etc. > > Even replacing the ">+spaces" with something like "> :" at > the beginning of each line doesn't help; Special->ReformatParagraph > deletes the spaces & tabs between the two quoting chars, giving: > > ">: But what I really like to do "... > >> Ultimately, a flyout menu on the special/reformat paragraph menu >> option would allow for various typical ways of reformatting text -- >> including some of the cleanup options afforded by some text utilities >> out there. > > Yes! Just a menu option to -Indent- the highlighted text would > be great. Yes. "Paste as custom quote" lets you indent things, but there needs to be something to take a continuous natural wrapping paragraph and indent it with line breaks at the end of each line. > And another option to -Remove- indenting, making the > highlighted text left justified. Heck, I'd like something that would let me do a side-by-side pair of columns. That, though, is asking way too much, I admit. > Please, don't anybody suggest that this would be easy if I sent > emails in HTML! I won't use MS Outhouse Excuse! ;-) No kidding! -- Scott Almost summer! http://snipurl.com/trebuchet
Technical Details
Message-ID:
<f1pv95v620th.dlg@marquardts.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.berkeley.edu!ucberkeley!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<37awmmmhe1p0.dlg@marquardts.org> <YHvoc.15321643$Of.2559581@news.easynews.com>Show Full Headers
Complete Article Headers
Message-ID: <f1pv95v620th.dlg@marquardts.org>
Subject: Re: [Dialog] Script for indenting paragraph without line breaks?
Date: Fri, 14 May 2004 02:03:38 -0500
From: Scott Marquardt <wasREMOVEket5@hotmail.com>
References: <37awmmmhe1p0.dlg@marquardts.org> <YHvoc.15321643$Of.2559581@news.easynews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.berkeley.edu!ucberkeley!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.readers
Organization: Posted via Supernews, http://www.supernews.com
User-Agent: 40tude_Dialog/2.0.12.1 (4aa039e9.116.363)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Face: +4v"1sT~"D^B?.Du2A9&7U6zN_oEDc|ZSTLREaGrJ2WbH#8^E:C^h{S+b^H2S:+|~"1ZZyE
)x8&OL";
2rh+Ej3y3InL}j{40=0a6aOUwK=@_~}TCH}Qmj?+A=<U\\p$=W::3\`8y.)!f_>0Ixs"1W
,TK#xYPSN<K=rb.:~1)d1RZ^UVA"J9]}g~+{*I0v3L; Y"+8$yI'LEi\@;
z`E|MK.OtbE?3'rY|3!#f H:$3M1mHm-S#&u7A2XC%2t0A; {Zxg!\M95fqix(kr1{SW12
X-Complaints-To: abuse@supernews.com
Lines: 106