noteobj.cpp
changeset 663 827d334d55f1
parent 645 2abfdb7e85f4
child 693 07fead1e540b
     1.1 --- a/noteobj.cpp	Fri Feb 01 15:28:35 2008 +0000
     1.2 +++ b/noteobj.cpp	Fri Feb 01 15:28:35 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  	{