Update space text's viewlines even if no text selected. It's needed for
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 30 Nov 2011 15:10:44 +0000 (15:10 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 30 Nov 2011 15:10:44 +0000 (15:10 +0000)
commit343c2bb5aa8cc9c72f94c59a8b4a3bd39a67b8ff
treead478b46dcc1ca007824eeed0c3617bbb0ecfb48
parented65c463322ba1a1e110366eb121160a0f77586c
Update space text's viewlines even if no text selected. It's needed for
proper positioning to cursor when switching to text datablock in case
there was no datablock opened in text editor.
source/blender/editors/space_text/text_draw.c