Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
Archivo: Style.cs Proyecto: jcaillon/3P
 /// <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);
 }