                 self.addToPageContents(contentValue: contentValue)
                 contentValue = ""
             } else {
-                // old line.
+                //
+                old line.
                 contentValue.append(content)
                 contentValue.append("\n")
             }

            self.addToPageContents(contentValue: contentValue)
        }
        
        leavesView.reloadData()
    }
    

        for lineStr in array {
            if (Double(lineStr.characters.count) <= letersPerLine) {
                contents.append(lineStr)
            }
            
            var temp = lineStr
            while temp.characters.count > 20 {
                let subText = (temp as NSString).substring(to: 20)
                contents.append(subText)
                temp = (temp as NSString).substring(from: 20)
            }
            
            if (temp != "") {
                contents.append(temp)
            }
        }
        
