There are two ways to go to a specific line number in a document in RTextDoc:
In either case, the GoTo Dialog will appear, allowing you go to a specific line in a text document.