mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Use DocumentController over document_t
This commit is contained in:
@@ -288,7 +288,7 @@ void run (bundle_command_t const& command, ng::buffer_t const& buffer, ng::range
|
||||
else
|
||||
{
|
||||
if(document && document->is_open())
|
||||
baseEnv = ng::editor_for_document(document)->variables(baseEnv, document->path_attributes());
|
||||
baseEnv = ng::editor_for_document(document)->variables(baseEnv, to_s([controller scopeAttributes]));
|
||||
else if(document)
|
||||
baseEnv = document->variables(baseEnv);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user