tag completion at arbitrary positions