/// <summary> /// Is the caret not in : a string, a comment /// </summary> /// <returns></returns> public static bool IsNormalContext(UdlStyles context) { return(context != UdlStyles.Comment && context != UdlStyles.Delimiter1 && context != UdlStyles.Delimiter2 && context != UdlStyles.Delimiter4 && context != UdlStyles.Delimiter5 && context != UdlStyles.Delimiter7 && context != UdlStyles.Delimiter8); }
/// <summary> /// Is the caret not in : a string, a comment /// </summary> /// <returns></returns> public static bool IsNormalContext(UdlStyles context) { return (context != UdlStyles.Comment && context != UdlStyles.Delimiter1 && context != UdlStyles.Delimiter2 && context != UdlStyles.Delimiter4 && context != UdlStyles.Delimiter5 && context != UdlStyles.Delimiter7 && context != UdlStyles.Delimiter8); }