handle hidden editor states and workspace.refresh()