예제 #1
0
 private bool IsLineWithComment()
 {
     if (LineCHN.Replace(TestComment(), "").Replace(" ", "") != "")
     {
         return(true);
     }
     return(false);
 }
예제 #2
0
 private bool IsSpaceLine()
 {
     if (LineCHN.Replace(" ", "") == "")
     {
         return(true);
     }
     return(false);
 }
예제 #3
0
 private bool IsComment()
 {
     try { if (LineCHN.Replace(" ", "").Substring(0, 1) == "#")
           {
               return(true);
           }
     }
     catch { }
     return(false);
 }
예제 #4
0
 public bool IsEditable()
 {
     if (IsSpaceLine())
     {
         return(false);
     }
     if (LineCHN.Replace(" ", "") == "l_english:")
     {
         return(false);
     }
     if (IsComment())
     {
         return(false);
     }
     return(true);
 }
예제 #5
0
 private bool IsLineWithComment()
 {
     return(LineCHN.Replace(TestComment(), "").Replace(" ", "") != "");
 }
예제 #6
0
 private bool IsSpaceLine()
 {
     return(string.IsNullOrEmpty(LineCHN.Trim()));
 }
예제 #7
0
 public void FixError()
 {
     LineCHN = VariableName + "\"" + LineCHN.Replace(VariableName, "") + "\"";
 }