|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Sun May 01, 2011 5:10 pm
Unwrapping |
I had a thought about this, in some cases the blocks of text are in a separate color..
Code: |
#COND {^{%s|}(%x)} {
$tagged=%yesno("Is the color tag still open from a different line?") //%yesno is not the best way to find this, surely
#IF (%1!=%proper(%1) AND $tagged) {
#CALL some way to append to previous line with no more than a single character of whitespace
#STATE 1
}
} {Within|Param=1} |
Something equitable to that could well work, at least in some cases. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sun May 01, 2011 5:44 pm |
Just add the lines to a stringlist, gagging as you go until you reach a point you can define as a print point. When you reach that point, either use a replace to turn "|" into " " or a #forall loop to put together a temporary variable that you print after the loop.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|