ScriptUO
Scripting Resources & Utilities => ScriptUO Application => Bug discussion => Topic started by: Cerveza on February 26, 2009, 05:21:28 AM
-
If you search for a term and it's listed twice on the same line, the display will correctly show the line twice, but the same term is hilighted in each.
Search for bank
707: set %doi_bank_retries %doi_bank_retries + 1
707: set %doi_bank_retries %doi_bank_retries + 1
When it really should look like:
707: set %doi_bank_retries %doi_bank_retries + 1
707: set %doi_bank_retries %doi_bank_retries + 1
-
Nice catch Cerv.
-
Ya, I've been meaning to fix that one. It worked in version 131, but after I switched to the new editor control, I broke it. I'll remember to fix that one someday....
-
I know this is an old topic but looking at the lines of code I don't see a difference other than where the green banks are. Will someone who understands scripting elaborate a little for those of us with little knowledge on the subject?
-
I was pointing out that when doing a search for the word BANK on a line where the word appears more then once, SUO would list the SAME word as the found item.
Here's another example:
42 onlyindreams is a member of ScriptUO which has a member named onlyindreams
If I were to do a search on a document with that line in it, the correct "found" items should be like this:
42 onlyindreams is a member of ScriptUO which has a member named onlyindreams
42 onlyindreams is a member of ScriptUO which has a member named onlyindreams
You see how it found two instances of the term "onlyindreams" ? SUO was doing this:
42 onlyindreams is a member of ScriptUO which has a member named onlyindreams
42 onlyindreams is a member of ScriptUO which has a member named onlyindreams
Which is kinda correct because it *did* find two instances, it just hilighted the first one found twice instead of hilighting each one.
-
So it should be highlighting the beginning and end of the phrase rather than the beginning of both? Like brackets for the code?
-
Right, show me the two separate found items instead of the same found item twice.