scanner.Scanner: rename NextLine() to NewLine()
Signed-off-by: Alejandro Mery <amery@geeks.cl>
This commit is contained in:
+2
-2
@@ -74,8 +74,8 @@ func (l *Scanner) Skip() {
|
|||||||
l.runes = 0
|
l.runes = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
// Count NewLine
|
// NewLine accounts a line break in the position of the cursor
|
||||||
func (l *Scanner) NextLine() {
|
func (l *Scanner) NewLine() {
|
||||||
l.cursor.Line++
|
l.cursor.Line++
|
||||||
l.cursor.Column = 1
|
l.cursor.Column = 1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user