diff --git a/CodeCompletion/DomSyntaxTreeVisitor.cs b/CodeCompletion/DomSyntaxTreeVisitor.cs index 6c1ea2f19..23ec0973c 100644 --- a/CodeCompletion/DomSyntaxTreeVisitor.cs +++ b/CodeCompletion/DomSyntaxTreeVisitor.cs @@ -1720,6 +1720,8 @@ namespace CodeCompletion key = "auto " + key; else if (cl_def.attribute == class_attribute.Abstract) key = "abstract " + key; + else if (cl_def.attribute == class_attribute.Sealed) + key = "sealed " + key; if (key != null && returned_scope.body_loc != null) { returned_scope.head_loc = new location(returned_scope.body_loc.begin_line_num, returned_scope.body_loc.begin_column_num, returned_scope.body_loc.begin_line_num, returned_scope.body_loc.begin_column_num + key.Length, doc);