add line number to code area

still some strange “tearing” issues with creating lines lower than
current screen will show (causing scrollbar to extend)