[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gzz] Encapsulating enfilade/string matching in CellTexter?
From: |
Tuomas Lukka |
Subject: |
Re: [Gzz] Encapsulating enfilade/string matching in CellTexter? |
Date: |
Fri, 26 Jul 2002 00:47:48 +0300 |
User-agent: |
Mutt/1.4i |
> That would
> mean having VStreamCellTexter.setText() match the new string against the
> old text instead of simply using one *new* text span.
At first, I thought that this would be a great idea...
> text = cell.t()
> text = callExternalEditor(text)
> cell.setText(text)
>
> Then, cell.t() would have to put in the image spans as special tags
> (e.g., <<IMAGE:328o78234>> or what-you-like) into the returned string--
> that's an interface change.
But this solution is not acceptable.
Also, the problem with using setText() is that you don't really know
where the text came from; you should only use setText if you're setting
it from scratch.
Tuomas