src/Pure/General/completion.scala
changeset 75195 596e77cda169
parent 75194 5a9932dbaf1f
child 75197 29e11ce79a52
--- a/src/Pure/General/completion.scala	Thu Mar 03 12:40:37 2022 +0100
+++ b/src/Pure/General/completion.scala	Thu Mar 03 13:08:25 2022 +0100
@@ -320,7 +320,7 @@
   /* abbreviations */
 
   private def symbol_abbrevs: Thy_Header.Abbrevs =
-    for ((sym, abbr) <- Symbol.abbrevs.toList) yield (abbr, sym)
+    for ((sym, abbr) <- Symbol.symbols.abbrevs.toList) yield (abbr, sym)
 
   private val antiquote = "@{"
 
@@ -346,7 +346,7 @@
 {
   /* keywords */
 
-  private def is_symbol(name: String): Boolean = Symbol.names.isDefinedAt(name)
+  private def is_symbol(name: String): Boolean = Symbol.symbols.names.isDefinedAt(name)
   private def is_keyword(name: String): Boolean = !is_symbol(name) && keywords(name)
   private def is_keyword_template(name: String, template: Boolean): Boolean =
     is_keyword(name) && (words_map.getOrElse(name, name) != name) == template
@@ -367,7 +367,7 @@
   def add_symbols: Completion =
   {
     val words =
-      Symbol.names.toList.flatMap({ case (sym, (name, argument)) =>
+      Symbol.symbols.names.toList.flatMap({ case (sym, (name, argument)) =>
         val word = "\\" + name
         val seps =
           if (argument == Symbol.Argument.cartouche) List("")