void CCommands::SetApplicationObject(IApplication * pApplication)
{
// This function assumes pApplication has already been AddRef'd
- // for us, which CDSAddIn did in it's QueryInterface call
+ // for us, which CDSAddIn did in its QueryInterface call
// just before it called us.
m_pApplication = pApplication;
if (! m_pApplication)
{
// OLE automation object for com. with Vim
- // When the object goes out of scope, it's destructor destroys the OLE
+ // When the object goes out of scope, its destructor destroys the OLE
// connection;
// This is important to avoid blocking the object
// (in this memory corruption would be likely when terminating Vim
VimOle.ErrDiag();
}
-// Change directory to the directory the file 'FileName' is in or it's parent
+// Change directory to the directory the file 'FileName' is in or its parent
// directory according to the setting of the global 'g_ChangeDir':
// 'FileName' is expected to contain an absolute DOS path including the drive
// letter.
}
// Creates an instance of the Automation object and
-// obtains it's IDispatch interface.
+// obtains its IDispatch interface.
//
// Parameters:
// ProgId ProgID of Automation object
- Added an option to do a :cd before opening the file (having a file opened
by clicking it but finding out to be still in C:\Windows\system when trying to
open another file by ":e" can be annoying). Change directory can be
- done to the source file's directory or it's parent directory.
+ done to the source file's directory or its parent directory.
- Added some explanations to the error message for the CO_E_CLASSSTRING error
("Use OLE Vim and make sure to register...").