fixed line number and highlight pbs

Added new parameter about line height in the textarea
fixed the scroll mechanism and avoided the magic number error
calculation