# HG changeset patch # User wenzelm # Date 1263230798 -3600 # Node ID 104298db6abf8998d45efd4906c04c2ff2335199 # Parent fd6801e8794450bc407a6877905f70a2386e397f Outer_Lex.is_ignored; diff -r fd6801e87944 -r 104298db6abf src/Tools/jEdit/src/proofdocument/command.scala --- a/src/Tools/jEdit/src/proofdocument/command.scala Mon Jan 11 18:26:13 2010 +0100 +++ b/src/Tools/jEdit/src/proofdocument/command.scala Mon Jan 11 18:26:38 2010 +0100 @@ -38,7 +38,7 @@ /* classification */ def is_command: Boolean = !span.isEmpty && span.first.is_command - def is_ignored: Boolean = span.forall(tok => tok.is_space || tok.is_comment) + def is_ignored: Boolean = span.forall(_.is_ignored) def is_malformed: Boolean = !is_command && !is_ignored def name: String = if (is_command) span.first.content else ""