noteobj.cpp
changeset 675 e524edc45aff
parent 645 2abfdb7e85f4
child 693 07fead1e540b
     1.1 --- a/noteobj.cpp	Mon Jan 14 16:26:59 2008 +0000
     1.2 +++ b/noteobj.cpp	Wed Feb 27 16:09:06 2008 +0000
     1.3 @@ -84,6 +84,11 @@
     1.4  	rx.setPattern (""");
     1.5  	r.replace (rx,"\"");
     1.6  
     1.7 +	// Indent everything
     1.8 +	rx.setPattern ("^\n");
     1.9 +	r.replace (rx,indent);
    1.10 +	r=indent + r;	// Don't forget first line
    1.11 +
    1.12  /* FIXME	wrap text at width
    1.13  	if (fonthint !="fixed")
    1.14  	{