tuned signature;
authorwenzelm
Thu, 21 Dec 2017 17:28:39 +0100
changeset 67244 318f44a5c164
parent 67243 6a93aaa3ed36
child 67245 caa4c9001009
tuned signature;
src/Tools/jEdit/src/document_model.scala
--- a/src/Tools/jEdit/src/document_model.scala	Thu Dec 21 16:29:03 2017 +0100
+++ b/src/Tools/jEdit/src/document_model.scala	Thu Dec 21 17:28:39 2017 +0100
@@ -427,8 +427,10 @@
     if (is_theory) None
     else Some(Document.Blob(content.bytes, content.chunk, pending_edits.nonEmpty))
 
+  def is_bibtex: Boolean = Bibtex.check_name(node_name)
+
   def bibtex_entries: List[Text.Info[String]] =
-    if (Bibtex.check_name(node_name)) content.bibtex_entries else Nil
+    if (is_bibtex) content.bibtex_entries else Nil
 
 
   /* edits */