src/Palete/ValaSymbolBuilder.vala
authorAlan Knowles <alan@roojs.com>
Wed, 8 May 2024 23:07:24 +0000 (07:07 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 8 May 2024 23:07:24 +0000 (07:07 +0800)
src/Palete/ValaSymbolBuilder.vala

index 894939f..cc2165b 100644 (file)
@@ -402,7 +402,8 @@ namespace Palete {
                                //sf.context = context;
                                var cont = jfile.toSourceCode();
                                GLib.debug("File %s content = %d", jfile.path, cont.length);
-                               this.filemanager.factory(jfile); // make sure it's initialized.
+                               var f = this.filemanager.factory(jfile); // make sure it's initialized.
+                               f.updated_ids.clear();
                                var sf = new Vala.SourceFile (
                                        context, // needs replacing when you use it...
                                        Vala.SourceFileType.SOURCE,