equal
deleted
inserted
replaced
121 if ((keywords eq keywords1) && (completion eq completion1)) this |
121 if ((keywords eq keywords1) && (completion eq completion1)) this |
122 else new Outer_Syntax(keywords1, completion1, language_context, has_tokens) |
122 else new Outer_Syntax(keywords1, completion1, language_context, has_tokens) |
123 } |
123 } |
124 |
124 |
125 |
125 |
126 /* load commands */ |
126 /* command categories */ |
|
127 |
|
128 def is_theory_begin(name: String): Boolean = keywords.is_command_kind(name, Keyword.theory_begin) |
127 |
129 |
128 def load_command(name: String): Option[List[String]] = keywords.load_command(name) |
130 def load_command(name: String): Option[List[String]] = keywords.load_command(name) |
129 def load_commands_in(text: String): Boolean = keywords.load_commands_in(text) |
131 def load_commands_in(text: String): Boolean = keywords.load_commands_in(text) |
130 |
132 |
131 |
133 |
282 |
284 |
283 |
285 |
284 /* result structure */ |
286 /* result structure */ |
285 |
287 |
286 val spans = parse_spans(text) |
288 val spans = parse_spans(text) |
287 spans.foreach(span => add(Command(Document_ID.none, node_name, None, span))) |
289 spans.foreach(span => add(Command(Document_ID.none, node_name, Command.no_blobs, span))) |
288 result() |
290 result() |
289 } |
291 } |
290 } |
292 } |