Nemerle.VisualStudio.Project.NemerleProjectNode.GetSpecificEditorType C# (CSharp) Method

GetSpecificEditorType() public method

public GetSpecificEditorType ( string mkDocument, System.Guid &guidEditorType ) : int
mkDocument string
guidEditorType System.Guid
return int
        public int GetSpecificEditorType(string mkDocument, out Guid guidEditorType)
        {
            // Ideally we should at this point initalize a File extension to
            // EditorFactory guid Map e.g. in the registry hive so that more
            // editors can be added without changing this part of the code.
            // Nemerle only makes usage of one Editor Factory and therefore
            // we will return that guid.
            //
            guidEditorType = NemerleEditorFactory.EditorFactoryGuid;
            return VSConstants.S_OK;
        }