Jim:

Have you considered inserting token characters that can be used as
itemdelimiters?  In a stitching application I am working on now, I am using
a ` character to delimit streams of text into sections to do just the block
manipulation you describe.  I further delimit sections into subsections with
a tab delimiter, and subs into subsubs with comma delimiters.  I prefilter
the stream and substitute legitimate tick marks (and tabs and commas) with
alias strings, which I filter back out on output.   It is kludgey, but it
works well for me.

Mark

-----Original Message-----
From: Jim Witte [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 9:38 PM
To: [EMAIL PROTECTED]
Subject: Easier way to do text-movement algorithm?


>   I'm making an source code rearrangement application...
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to