[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[StrongED] Re: S&R window
In article <e23cb39556.fjgraute@xxxxxxxxx>,
Fred Graute <fjgraute@xxxxxxxxx> wrote:
> > I can calculate both strings then drop the calculation on Transfer and
> > release it into the S&R window. I have just tried this with a simple
> > case. I tried using |i as the TAB but, weirdly StrongED simply accepts
> > the | as the TAB character.
> It looks like Transfer2 will indeed do the job (I never liked Transfer2
> though, the way it works kept getting in the way).
Yes TF2 can be a nuisance - if you don't turn it off! It needs a
configuration to determine whether it's on/off on load.
But when it's useful it is very useful!
[Snip]
> > But it looks like this may be my simplest solution.
> Maybe not, I've been playing around with modifying BlockToBuffer() (the
> function tied to F7) so that it inserts a block into multiple icons. The
> block is a single line of text with Tabs separating the text for each
> icon.
That sounds very useful indeed!
> Moving the caret to the next icon took a bit of head scratching as
> inserting a Tab into the keyboard buffer didn't work. Solution was to
> mimic cursor down by inserting 138 without escaping it with 0.
Possibly related to the fact that |i did not produce a TAB? The i bit
ended up in the text. |m does produce a return.
> Now both search and replace string can be inserted by creating a line
> that looks like: <search string> <tab> <replace string>
> Selecting that line, opening S&R dialogue and pressing F7.
> I still need to figure out how this will work exactly (add a parameter
> to BlockToBuffer, new function, something else) but that shouldn't be
> too hard.
I look forward to it - I think it will be a valuable enhancement. Nearly
as good as being able to tie previous S&R pairs together!
Thanks Fed for yor sustained interest in StronggED.
--
Richard Torrens.
http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
and more!
--=20
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxx
List archives at http://www.Torrens.org/RO/StrongED/index.html