hrev47088 adds 1 changeset to branch 'master' old head: 638510600cfdafa0cd97ccf8189a1e3375b84818 new head: f5c284eeed90fe140403abf733259adfcfd28d59 overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=f5c284e+%5E6385106 ---------------------------------------------------------------------------- f5c284e: Style fixes to BTextView [ John Scipione <jscipione@xxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev47088 Commit: f5c284eeed90fe140403abf733259adfcfd28d59 URL: http://cgit.haiku-os.org/haiku/commit/?id=f5c284e Author: John Scipione <jscipione@xxxxxxxxx> Date: Wed Apr 2 00:29:06 2014 UTC ---------------------------------------------------------------------------- 1 file changed, 15 insertions(+), 10 deletions(-) src/kits/interface/TextView.cpp | 25 +++++++++++++++---------- ---------------------------------------------------------------------------- diff --git a/src/kits/interface/TextView.cpp b/src/kits/interface/TextView.cpp index 62b79e0..15492ef 100644 --- a/src/kits/interface/TextView.cpp +++ b/src/kits/interface/TextView.cpp @@ -253,8 +253,9 @@ static property_info sPropertyList[] = { BTextView::BTextView(BRect frame, const char* name, BRect textRect, - uint32 resizeMask, uint32 flags) - : BView(frame, name, resizeMask, + uint32 resizeMask, uint32 flags) + : + BView(frame, name, resizeMask, flags | B_FRAME_EVENTS | B_PULSE_NEEDED | B_INPUT_METHOD_AWARE) { _InitObject(textRect, NULL, NULL); @@ -262,9 +263,10 @@ BTextView::BTextView(BRect frame, const char* name, BRect textRect, BTextView::BTextView(BRect frame, const char* name, BRect textRect, - const BFont* initialFont, const rgb_color* initialColor, - uint32 resizeMask, uint32 flags) - : BView(frame, name, resizeMask, + const BFont* initialFont, const rgb_color* initialColor, + uint32 resizeMask, uint32 flags) + : + BView(frame, name, resizeMask, flags | B_FRAME_EVENTS | B_PULSE_NEEDED | B_INPUT_METHOD_AWARE) { _InitObject(textRect, initialFont, initialColor); @@ -272,8 +274,9 @@ BTextView::BTextView(BRect frame, const char* name, BRect textRect, BTextView::BTextView(const char* name, uint32 flags) - : BView(name, flags | B_FRAME_EVENTS | B_PULSE_NEEDED - | B_INPUT_METHOD_AWARE) + : + BView(name, + flags | B_FRAME_EVENTS | B_PULSE_NEEDED | B_INPUT_METHOD_AWARE) { _InitObject(Bounds(), NULL, NULL); } @@ -281,15 +284,17 @@ BTextView::BTextView(const char* name, uint32 flags) BTextView::BTextView(const char* name, const BFont* initialFont, const rgb_color* initialColor, uint32 flags) - : BView(name, flags | B_FRAME_EVENTS | B_PULSE_NEEDED - | B_INPUT_METHOD_AWARE) + : + BView(name, + flags | B_FRAME_EVENTS | B_PULSE_NEEDED | B_INPUT_METHOD_AWARE) { _InitObject(Bounds(), initialFont, initialColor); } BTextView::BTextView(BMessage* archive) - : BView(archive) + : + BView(archive) { CALLED(); BRect rect;