Git Product home page Git Product logo

Comments (4)

AmionSky avatar AmionSky commented on May 20, 2024

Also 'Find' cycles back to the beginning, 'Replace' does not. (Unsure if its intended)

from notepads.

AmionSky avatar AmionSky commented on May 20, 2024

When pressing replace in Notepad, it always just selects the first match. Pressing replace again replaces it and moves the selection to the next match. Both VS and vscode seems to work the same way.

from notepads.

0x7c13 avatar 0x7c13 commented on May 20, 2024

Replace stops because it should gives user more control of what will be replaced. The idea of starting from selected index is also the same: It gives user fine control on what should be replaced. For example, you may only want to replace certain text in the last 20 lines of the file. In this case, it should not starts from first line and it should not do cycles as well. "Replace All" is a different story, so it starts from zero and actually replace all occurrence.

from notepads.

0x7c13 avatar 0x7c13 commented on May 20, 2024

Closing this thread since this is an indented behavior.

from notepads.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.