Community
Participate
Working Groups
Often times, attribute values may contain some kind of qualified value like "foo.bar.Button". When you have several options like "foo.bar.Button" "foo.bar.Input", "foo.bar.Anchor" and so on. That's a lot of typing if your qualified names are long, when it might be easier to just filter on "Button".
Created attachment 181322 [details] patch
Looks good, but fAlternateMatch.substring(0, length) could be a problem if the word length is already greater than the alternate match's length.
Created attachment 181398 [details] updated patch Ah, nice catch. I also fixed this in the unlikely scenario where if the display string is null, and an alternate match is provided, we'll use it.
Thanks for the review.