author | wenzelm |
Sat, 12 Oct 2013 00:10:07 +0200 | |
changeset 54328 | ffa4e0b1701e |
parent 54327 | 148903e47b26 |
child 54329 | e0fa4bd16c80 |
--- a/src/Pure/PIDE/document.scala Fri Oct 11 23:12:04 2013 +0200 +++ b/src/Pure/PIDE/document.scala Sat Oct 12 00:10:07 2013 +0200 @@ -416,7 +416,7 @@ case Some(st) => val command = st.command val node = version.nodes(command.node_name) - Some((node, command)) + if (node.commands.contains(command)) Some((node, command)) else None } def the_version(id: Document_ID.Version): Version = versions.getOrElse(id, fail)