Refactoring. Split Views internal buffer in lines.