Override add() to check that TextView is created (programming error if not).
current_textview may be null when a code block is active, which is valid - code block text goes to the sourceview instead.