Find and Replace

Status: New request

Created by titen96 15 Jun 2010 00:04

rating: +6+x

i think a feature that can replace certain words with others would be good


wdavatar?user=leiger
leiger

15 Jun 2010 00:26. Edited 1 times. (Edit, Permalink)
That's usually called Find and Replace (or just Find if not replacing with anything). I've edited the title of this page.

I agree, FaR is one of my most-used features of other text editors. There should be some thing in Java designed for this that I can tap into as well, so hopefully it'll be easy to do.

Included page "inc:signature" does not exist (create it now)

wdavatar?user=titen96
titen96

15 Jun 2010 01:46. Edited 0 times. (Edit, Permalink)
yeah i thought that it is almost a requirement for most text editors now too

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

15 Jun 2010 15:59. Edited 0 times. (Edit, Permalink)
Actually, it might be "Search and Replace". Not sure.

Couldn't find anything in the offline doc's for Java so I didn't get this done. Doing a quick search tonight now that I have Internet access again.

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

02 Jul 2010 15:09. Edited 0 times. (Edit, Permalink)
Have looked into this and from what I can tell there's no built-in classes or methods for this that I can find… which is surprising.

It should be easy enough for me to write the code that can do this from scratch (would only take about an hour at most, including testing) the hardest part will be making all of the components in the dialog box line up properly… as a dialog box would be needed for the GUI part of this. Overall it would probably take 2-3 hours.

So whilst it's not too long, I'll put this off for a bit and focus on some other things - like keyboard shortcuts for saving - which keep annoying me every time I use STE (and so I'm guessing those things annoy others as well).

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

19 Oct 2010 06:15. Edited 0 times. (Edit, Permalink)
I've added a 'find' feature in version 3. You can manually replace the text yourself for every match it finds if you want.

In a future version I'll include a proper find-and-replace option.

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

23 Oct 2010 00:25. Edited 0 times. (Edit, Permalink)
TODO:

  • "Match case" checkbox (current: always matches case exactly)
  • "Wrap around" checkbox (current: disabled, when reaching bottom of document it stops searching)
  • Replace with another word (current: not possible)

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

28 Mar 2011 16:09. Edited 1 times. (Edit, Permalink)
As "Find" / Search is working, and you can manually replace the text that way, there is an easy work around for this.

So whilst I definitely want to add the feature, I'm going to remove the 'Accepted' status, and work on other wishes first. This will be completed eventually (possibly v4.00)

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

30 Mar 2011 13:59. Edited 0 times. (Edit, Permalink)
Similar wish that is also worth looking at: Enhance “Find” Feature

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

24 Sep 2012 02:35. Edited 0 times. (Edit, Permalink)
Moved to 4.xx feedback list

Included page "inc:signature" does not exist (create it now)

Post Reply

Add reply on "Find and Replace"

CSS Theme, Images and Code on this website are © Shane Smith 2010-2012. All forum posts by users and documentation licensed under Creative Commons BY-NC-SA 3.0 License.