change ui_active_states to return also active states from sub-documents

(0) -1000 -300 -100 -30 -10 -1 +1 tip

mercurial