Menu

What happened to F3?

LEOcab
2012-12-28
2013-02-02
  • LEOcab

    LEOcab - 2012-12-28

    The F3 keyboard shortcut (Find Next) was removed in the latest version. Finding stuff is now a pain in the rear. Any reason why? Is there any way to put it back on? Thanks in advance!

     
  • orwelldevcpp

    orwelldevcpp - 2012-12-28

    I'm taking it into consideration for 5.3.0.4, which is/was on track for release next weekend.

    Thank you for the input.

    And ehm, the main reason to remove it was to reduce clutter and promote the new Find/Replace window in combination with Incremental Search.

    Can you summarize the advantages of the old "Search Again" function?

     
    • LEOcab

      LEOcab - 2013-01-06

      Well, say for instance I want to replace all instances of the variable 'foo' to 'bar'. I want to replace just that variable and not functions like myFoo() or fooThisToThat(), so I can't use Replace All. What I usually do is:
      1) Put 'bar' in my clipboard
      2) Ctrl+F for foo, press enter, and close the search window with Esc
      3) Replace with Ctrl+V if it's the foo variable
      4) F3 into the next instance
      5) Repeat 3-4 until end of file

      Now I have to use the mouse to find the instances and switch back and forth between the main window and the search window to paste 'bar', which is tedious. Please add it back. :D

      EDIT: How unpolite of me, I forgot to give you a big thanks for reviving this project. I've been using Dev-C++ for several years, it was the first IDE I settled on. I kept trying new IDEs like VisualStudio and CodeBlocks for something newer, but I always came back to Dev-C++ despite the enormous amount of bugs (I had to restart the thing every 10 minutes because of the stationary tooltips bug, LOL.) Then one day I magically found your version and it was one of the happiest days of my life. So, thank you, Orwell! <3

       

      Last edit: LEOcab 2013-01-06
  • orwelldevcpp

    orwelldevcpp - 2013-01-06

    Hmm, that looks like a job for Replace in Files. Try this:

    • Open up "Replace in Files".
    • Tick "Prompt on replace". You probably want to enable both "Whole words" and "Case sensitive" too when replacing names.
    • For "Where", select "Current file".
    • Click "Replace".

    That should do the trick.

     
  • Ralf Quint

    Ralf Quint - 2013-01-12

    I think removing F3 for "find next" is a big mistake, it's a common functionality of Windows since the early days, every program that adheres to Windows UI standards should support that keyboard shortcut...

     
  • orwelldevcpp

    orwelldevcpp - 2013-02-02

    Search again/Find next functionality has been readded to 5.3.0.5 RC3. Thanks for the input.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.