add check for active editor and selections before entering the loop
add check for active editor and selections before entering the loop

meganrogge/template-string-converter,meganrogge/template-string-converter