Try applying this expression to the scale property of of the solid that is behind each text layer:
//begin expression
textLayer = thisComp.layer("A Text Layer");
scalePerLine = 70;
//scalePerLine is how much to increment scale by for each newline
//--
newLineChar = '\r';
newLines = 0;
for( i = 0 ; i < textLayer.text.sourceText.length; i++ ){
if( textLayer.text.sourceText.charAt( i ) == newLineChar){
newLines++;
}
}
//--
[value[0] , value[1] + newLines * scalePerLine ]
//end expression
Just make sure textLayer refers to the right text layer. Then adjust scalePerLine until you have the desired look.
However, there are a few problems with this expresson. First of all, whenever a new line of text is added the scale property increases linearly when in fact it should increase according to some kind of exponiential function. This is beacuse, to make a layer n pixels bigger, you can't just add n to scale. I don't have time to fix this right now, but if anyone wants to give it a try feel welcome to.
~Colin
http://www.colinbraley.com