int Read () { int c; if ((c = text.Read ()) == -1) return -1; if (c == '\n') { LinePosition = 1; LineNumber++; } else { LinePosition++; } return c; }