This commit is contained in:
Бондарев Иван 2018-01-09 19:46:16 +01:00
parent 97425e8b87
commit a58bbf844d

View file

@ -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);