Beispiel #1
0
 public static bool isComment(IntelluaSource source, int pos)
 {
     int style = source.getStyleAt(pos);
     switch (style)
     {
         case 1:
         case 2:
             return true;
     }
     return false;
 }
Beispiel #2
0
        public static bool isComment(IntelluaSource source, int pos)
        {
            int style = source.getStyleAt(pos);

            switch (style)
            {
            case 1:
            case 2:
                return(true);
            }
            return(false);
        }
Beispiel #3
0
 public static bool isString(IntelluaSource source, int pos)
 {
     int style = source.getStyleAt(pos);
     switch (style)
     {
         case 6:
         case 7:
         case 12:
             return true;
     }
     return false;
 }
Beispiel #4
0
        public static bool isString(IntelluaSource source, int pos)
        {
            int style = source.getStyleAt(pos);

            switch (style)
            {
            case 6:
            case 7:
            case 12:
                return(true);
            }
            return(false);
        }