Text is now an object which contains a members attribute being the previous lines array