Added TextLineState enum.