API: edit widgets now support limiting line length via set/getEditMaxLength (fixes #33)