Code compare utility in MorphX on EP User controls

To enable the code compare utility in MorphX on EP user controls , edit the CodeIsSource method of SysTreeNode class in AOT and add  UtilElmentType:WebControl and UtilElementType::WebSourceFile to the switch statement that returns true. After making the change, you shoudl be able to do code compare on user control markup and code behind files.

 

static boolean codeIsSource(UtilElementType _utilElementType)
{
    boolean ret;

    switch (_utilElementType)
    {
        case UtilElementType::WebPageDef :
        case UtilElementType::WebStaticFile :
        case UtilElementType::WebControl:
        case UtilElementType::WebSourceFile:
            ret = true;
    }

    return ret;
}