fix event enumeration to start at 1, not 0  
add basic text-input line element type