Draw the current text view size in the titlebar during resize operations.
commit9ccde7f8828bed4271e2da7af40022bd808cce33
authorTim Allen <screwtape@froup.com>
Fri, 26 Oct 2007 04:14:41 +0000 (26 14:14 +1000)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Fri, 26 Oct 2007 16:05:55 +0000 (26 18:05 +0200)
treeb6e1cff4cda48ecbf9a4200f6bc45b1f20a643b9
parent0a0db73ae00c19665182900c48bf7dc6d5676fca
Draw the current text view size in the titlebar during resize operations.

It seems that NSWindows get notfied of each step of the live-resize, but
NSViews get notified of the start and end events. So, we make MMTextView
forward these notifications to the window controller, and let the window
controller figure out when to change the title.

Signed-off-by: Tim Allen <screwtape@froup.com>
src/MacVim/MMTextView.m
src/MacVim/MMWindowController.h
src/MacVim/MMWindowController.m