fix error in syntax of translation with parameter
Correct various problems with renumbering. Now tests ok.
Add sensible error reporting which will never be triggered
Allow -1 in go_to_line meaning "end" - also lighten the error handling
Thrash around finding a bug that ended up being missing parens on endEditBlock!!