iedit a function
iedit state you can:
F to limit the scope to the current function
L to limit the scope to the current line
J to increase the scope (starting from the current line) one line below
K to increase the scope one line above
navigate between the occurrences with n and N and TAB to remove an occurrence.