Thanks for reporting this. Search was including declaration and closing lines that Studio normally hides from the member editor, such as Sub Button1_Opening() and End Sub.
I’ve fixed this for the next release. Hidden wrappers are excluded, while useful names, types and default values remain searchable with clearer previews.
The three results for For e As Integer = 1 To 100 are expected: search shows one row per occurrence, and that line contains the variable e plus two more matches in Integer.