I would like the find/replace GUI tool to have an option to use the contents
of a noun to use for find and the contents of another noun for replace.

It can be very useful to do a search during editing and have the search
contain chars like LF or TAB somewhere in the string.

While we are at it I find the find in files GUI tool also very helpful.

Often I find that I am looking for somethings in many files and I get a lot
of results.

I know what I am looking for is in one of the files that have been found.

I would then like to do a new search but this time only using the results
from the results of the former search.


2011/2/10 Tikkanz <[email protected]>

> Working with a big file like that I'd be more inclined to use J
> directly rather than GUI Find/Replace.
>
> mystring rplc LF;' ';'.';LF
>
> Are you essentially asking whether the Find/Replace should actually
> just be a GUI interface for rplc?
>
> 2011/2/9 Björn Helgason <[email protected]>:
> > I am working with a file and editing it under J7 GTK
> >
> > When I copied the file in all the words came in on one word per line.
> >
> > I wanted to change this removing the LF and replacing them with space.
> > I put the cursor after a word and used copy and in the find window I
> pasted
> > in and opened up replace and put a space in.
> >
> > After a long time it finished and I had one very long line.
> > The file was over 20.000 lines long before the operation.
> >
> > I then did a similar operation with . and replacing that with . and LF
> >
> > Having this working like this is fine.
> >
> > What I do like to know if I can control better if/when I want to use
> > LF/TAB/CR and other invisible char in find/replace?
> >
> > Working with copy/paste on invisible chars is not very easy.
> >
> > --
> > Björn Helgason, Verkfræðingur
> > Fornustekkum II
> > 781 Hornafirði,
> > t-póst: [email protected]
> > gsm: +3546985532
> > sími: +3544781286
> > http://groups.google.com/group/J-Programming
> >
> >
> > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
> >
> > góður kennari getur stigið á tær án þess að glansinn fari af skónum
> >          /|_      .-----------------------------------.
> >         ,'  .\  /  | Með léttri lund verður        |
> >     ,--'    _,'   | Dagurinn í dag                     |
> >    /       /       | Enn betri en gærdagurinn  |
> >   (   -.  |        `-----------------------------------'
> >   |     ) |         (\_ _/)
> >  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
> >   `. )----'        (")_(") ☃☠
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: [email protected]
gsm: +3546985532
sími: +3544781286
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |         (\_ _/)
  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
   `. )----'        (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to