getVars function

get names of variables in a set of edits