fixed: several code generation smart tags do not disappear if the cursor moves from a relevant symbol to an empty space