Refactor, make selecting elements from the model select the corresponding line from the editor as well default tip

use a parameter to avoid temporarily changing member variables

(0) -300 -100 -30 -10 -2 tip

mercurial