*/
public void addLine(string str, char line_end)
{
- this.ret += (this.line_end == 0 ? "" : this.last_line_end) + "\n";
+ this.ret += (this.last_line_end == 0 ? "" : this.last_line_end) + "\n";
+ this.last_line_end = line_end;
this.cur_line += str.split("\n").length;
this.ret += str;
}
+ public void closeLine()
+ {
+ this.last_line_end = 0;
+ }
/* public void addMultiLine(str= "")
{