Januk, Sorry for returning to an old thread but I have just now installed a Bat version that uses the new engine.
Summary: I want a "box quote" QT that force wraps all text onto 1 long (wrapped) line: E.g. hkldj sdflkjh sdljkhglkjhdsfg dl jhdfh klhsh lsfgdlsjkf lskfjhg kldjfhg sdjkfh dflkjh sdfhkljhlkj kljh lksjdfg Should become. ,----- [ ] | hkldj sdflkjh sdljkhglkjhdsfg dl jhdfh klhsh lsfgdlsjkf lskfjhg kldjfhg | sdjkfh dflkjh sdfhkljhlkj kljh lksjdfg `----- On 12-06-2003 09:33, you [J] wrote in <mid:[EMAIL PROTECTED]>: C>>> Of course you could easily combine boxquoting with wrapping (the QT C>>> Januk posted earlier on this list), PF>> That's the thing, _I_ cannot! :)) J> Sure *you* can. Remember that my wrapping QT now looks like: J> =====[Begin wrap]===== J> %IF:'%_FirstTime'='':'%- J> %___%_Wrap_Text(%Clipboard)%- J> %___%_FirstTime="No"'%- J> %- J> %IF:'%- J> %SETPATTREGEXP="(?is-m)[^\n]+"%- J> %REGEXPMATCH(%_Wrap_Text)'<>'':'%- J> %- J> %SETPATTREGEXP="(?is-m)^(.*?)((\n((\w{0,5}(\>\s*)+)?\s*\n)+)(.*)\s*$|\z)"%- J> %REGEXPBLINDMATCH(%_Wrap_Text)%- J> %- J> %_Paragraph_1(%Subpatt(1))%- J> %_Blank_Space(%Subpatt(3))%- J> %_Remainder_Of_Text(%Subpatt(7))%- J> %- J> %WRAPPED(%_Paragraph_1) J> %_Wrap_Text(%_Remainder_of_Text)%- J> %- J> %QINCLUDE(wrap_new)'%- Which was later corrected to ,----- [ ] | %QINCLUDE(wrap_new)'%- `----- J> =====[ End wrap]===== J> And that Carsten's unaltered boxquoting template looks like: J> =====[Begin bq]===== J> %REM=' bq - Paste as Boxquote J> written by Carsten Thoenges, December 2002 J> June 2003 - use new features of v1.63 beta 9 J> '%- J> %_TopAndTail="-----"%- J> %_TopCorner=","%- J> %_BottomCorner="`"%- J> %_Side="| "%- J> %_TitleFormat=" [ %CURSOR ]"%- J> %- J> %If:+%_FirstTime+=++:+%- J> %___%_FirstTime="No"%- J> %___%_TopCorner%_TopAndTail%_TitleFormat J> %___%_Text="%Clipboard"%- J> %___%SetPattRegExp='(?is)(\n)\z'%- J> %___%If:"%RegExpMatch(%_Text)"="":"%_Text='%_Text J> '"%- J> %___%QInclude(bq) J> %___%_BottomCorner%_TopAndTail%- J> +:+%- J> %___%SetPattRegExp='(?is)\A(.*?)\n(.*\n)\z'%- J> %___%RegExpBlindMatch(%_Text)%- J> %___%If:"%Subpatt(2)"<>"":"%- J> %______%_Side%SubPatt(1)%- J> %______%_Text='%Subpatt(2)' J> %______%QInclude(bq)%- J> %___":"%- J> %______%_Side%_Text%- J> %______%_FirstTime=''"%- J> =====[ End bq]===== J> Now in Carsten's QT, just replace %CLIPBOARD with %QInclude(wrap) and J> you're done. But, I'm not. I get the same result as with the "bq" QT. This is my "bqa" (block quote wrap all) template: ,----- [ bqa ] | %REM=' bq - Paste as Boxquote | written by Carsten Thoenges, December 2002 | June 2003 - use new features of v1.63 beta 9 | '%- | %_TopAndTail="-----"%- | %_TopCorner=","%- | %_BottomCorner="`"%- | %_Side="| "%- | %_TitleFormat=" [ %CURSOR ]"%- | %- | %If:+%_FirstTime+=++:+%- | %___%_FirstTime="No"%- | %___%_TopCorner%_TopAndTail%_TitleFormat | %___%_Text="%Qinclude(wrap)"%- | %___%SetPattRegExp='(?is)(\n)\z'%- | %___%If:"%RegExpMatch(%_Text)"="":"%_Text='%_Text | '"%- | %___%QInclude(bq) | %___%_BottomCorner%_TopAndTail%- | +:+%- | %___%SetPattRegExp='(?is)\A(.*?)\n(.*\n)\z'%- | %___%RegExpBlindMatch(%_Text)%- | %___%If:"%Subpatt(2)"<>"":"%- | %______%_Side%SubPatt(1)%- | %______%_Text='%Subpatt(2)' | %______%QInclude(bq)%- | %___":"%- | %______%_Side%_Text%- | %______%_FirstTime=''"%- `----- What am I doing wrong? [BTW, sorry for the unfinished message before: TB seems to have changed some keyboard shortcuts for 2.0] -- <greeting> Best regards </greeting> <author> Peter Fjelsten </author> <thebat version> 2.0 RC1 </thebat version> <os> Windows XP 5.1.2600 Service Pack 1</os> ________________________________________________________ Current beta is 2.0b6 | "Using TBBETA" information: http://www.silverstones.com/thebat/TBUDLInfo.html