Fix #28087: Opening files in the text editor ignores the last newline '\n'
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 26 Jul 2011 08:13:27 +0000 (08:13 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 26 Jul 2011 08:13:27 +0000 (08:13 +0000)
commit7c9033d606a35dd4311e9f84b06b013e5cb7712a
treedc0e2c008be76ac9d10c4e410863e36e94d2a71f
parent9e1a5531274e6b00b877ef924994ceae8ba956e3
Fix #28087: Opening files in the text editor ignores the last newline '\n'

It was tricky conversion of file buffer to text lines. Should work fine now.
source/blender/blenkernel/intern/text.c