Giter VIP home page Giter VIP logo

Comments (11)

sdottaka avatar sdottaka commented on May 27, 2024

I tried to reproduce this issue as shown in the GIF animation below, but was unable to do so.
Which version of WinMerge are you using?
If it is not the latest version, please try the latest version.
#2279

from winmerge.

rxa1031 avatar rxa1031 commented on May 27, 2024

image

I highlight the text that needs to be replaced, then press CTRL + H, then change replace in to whole file. Finally I click at least one line above or on the extreme left of the line that has the first occurrence of the text that needs change. Then I press the shown button sequence.

from winmerge.

rxa1031 avatar rxa1031 commented on May 27, 2024

I confirm the issue is only observed when a part of the text to be searched is highlighted and then CTRL + H is pressed. As the search (and replace) movement is from top to bottom. I need to place the cursor either on the left side of the first word/text/sub-sting/string to be replaced or on any line that is above the first word/text/sub-sting/string to be replaced. I then click the Find Next button. Once the first replace text gets highlighted I start clicking the replace button, until I am done with all replaces.

from winmerge.

sdottaka avatar sdottaka commented on May 27, 2024

Although different from your video, I was able to reproduce the strange behavior shown in the video below.
I'll take a look at it later.

#2279_2

from winmerge.

rxa1031 avatar rxa1031 commented on May 27, 2024

Since I wanted to replace ndom, I am only highlighting ndom and then pressing CTRL + H

from winmerge.

rxa1031 avatar rxa1031 commented on May 27, 2024

The size of the captured video would have been greater than 10 MBs and hence could only a part of the whole process. My office laptop does not have an IT approved tool for video compression.

from winmerge.

sdottaka avatar sdottaka commented on May 27, 2024

Finally, I am now able to reproduce this issue as well.
To reproduce this problem, it was necessary to enable Automatic rescan in the Editor category of the Options window.

image

from winmerge.

rxa1031 avatar rxa1031 commented on May 27, 2024

Current used settings in my case (Automatic rescan is disabled):
image

from winmerge.

rxa1031 avatar rxa1031 commented on May 27, 2024

Used general settings:
image

from winmerge.

rxa1031 avatar rxa1031 commented on May 27, 2024
WinMerge_Bug_compressed.mp4

from winmerge.

sdottaka avatar sdottaka commented on May 27, 2024

I need to place the cursor either on the left side of the first word/text/sub-sting/string to be replaced or on any line that is above the first word/text/sub-sting/string to be replaced

Thank you for attaching the video. I missed the above. I was able to reproduce this issue as well.

I fixed this issue in commit d3ab50c.

You can download the latest CI artifacts from the URL below.

https://ci.appveyor.com/project/sdottaka/winmerge/build/artifacts
https://github.com/WinMerge/winmerge/actions/runs/8670205946

Thank you for your report.

from winmerge.

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.