Previous line or next line of the program

Check this post because it is a very similar question also posted yesterday: How to jump to a certain line in the program via Script or Assignment - #2 by eric.feldmann