diff --git a/Frameworks/document/src/document.h b/Frameworks/document/src/document.h index 68483c22..e49c3cc7 100644 --- a/Frameworks/document/src/document.h +++ b/Frameworks/document/src/document.h @@ -247,8 +247,7 @@ namespace document bool is_open () const { return _open_count != 0 && !_open_callback; } std::string file_type () const; - std::string path_attributes () const { return _path_attributes; } - scope::scope_t scope () const { return file_type() + " " + path_attributes(); } + scope::scope_t scope () const { return file_type() + " " + _path_attributes; } settings_t const settings () const { return settings_for_path(virtual_path(), scope(), path::parent(_path), variables(std::map(), false)); } std::map variables (std::map map, bool sourceFileSystem = true) const;