Make sure buffers and variables are initialized before they're used

Inspired by TortoiseSVN revision 24272

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Code deduplication move core of OnIndicator*view to BaseView as well as UseBlock

handle some more exotic case of wrong EOLs

rename texttype and lineendings attributes to prefix convention and make them protected

Based on TortoiseSVN revision 24276

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Remove the LVS_EX_DOUBLEBUFFER fallback define

It was needed with older SDKs

Based on TortoiseSVN revision 24279

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>