1
Editor / match automatic highlight on NON matching text?
« Last post by Чебурашка on Today at 09:17:08 am »Hello,
I am doing a code refactoring in order to comply with a new coding standard I decided with my team.
One of my modifications is this: substitute a parameter of a procedure whose name was "o" (was a o: TObject) with "Aobject". Please nobody laugh on "o" (facepalm).
Now my problem is this: I did a replace on local file "o" to "Aobject" with case sensitive and whole word options checked and it works. But since I must be sure of each swap I need to give confirmation of each replace. The problem is that when a match is found, it is automatically selected for being replaced, but along with it, there is also a plenty of NON matches partially highlighted. Why is lazarus showing those invalid ones? What is the sense? Can I prevent this from happening?
The lazarus I am telling in this post is the one written below for Linux (2.0.10)
See attached picture.
I am doing a code refactoring in order to comply with a new coding standard I decided with my team.
One of my modifications is this: substitute a parameter of a procedure whose name was "o" (was a o: TObject) with "Aobject". Please nobody laugh on "o" (facepalm).
Now my problem is this: I did a replace on local file "o" to "Aobject" with case sensitive and whole word options checked and it works. But since I must be sure of each swap I need to give confirmation of each replace. The problem is that when a match is found, it is automatically selected for being replaced, but along with it, there is also a plenty of NON matches partially highlighted. Why is lazarus showing those invalid ones? What is the sense? Can I prevent this from happening?
The lazarus I am telling in this post is the one written below for Linux (2.0.10)
See attached picture.