Finding Mark Bug

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
4 posts • Page 1 of 1
AGorbatykh
Posts:59
Joined: Thu Dec 17, 2015 1:01 pm

Finding Mark Bug

Post by AGorbatykh »

WinCC OA 3.13
If you use "Mark" when selected text is the same text in a Find bar, so it'll work fine -> 125 marks. (pic1)
If you use "Mark" when selected text isn't the same text in Find bar (Timerage != timerage != TIMERANGE), so it'll be the single mark. (pic2)
Image Image

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Finding Mark Bug

Post by mkoller »

What you see is the feature to limit the "mark" (or also the "find") operation to the currently selected text.
E.g. you can select the body of a function (double click on the starting brace) and then click "Mark" and it will only mark all occurences of the
text to find inside the selected text.
In your case, the selected text is just one word, therefore the Mark just selects this one.

AGorbatykh
Posts:59
Joined: Thu Dec 17, 2015 1:01 pm

Re: Finding Mark Bug

Post by AGorbatykh »

but it's not the single "timerage" in this file, as like "TIMERANGE", but it's mark as like single. Image

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Finding Mark Bug

Post by mkoller »

As I said: it searches in the selected Text. What could be improved is to ignore the case when checking if the selected text is the same as the pattern (or only when the case should be ignored as defined by the user), which isn't done currently. So Mark a Word in the whole script without selection finds all, then click Next and Mark again and now it probably finds only the marked one if the case does not match with the pattern.

4 posts • Page 1 of 1