On Tue, Mar 2, 2010 at 6:04 AM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote: > anevilyak@xxxxxxxxx wrote: >> +const uint32 kMaxTextClippingSize = 64 * 1024; >> >> namespace BPrivate { > > Two blank lines, and what Bruno said :-) Will fix, thankks :) > Even for small files, one would usually expect the file name to appear > when dragging a text file to a text control. Or maybe have BTextControl > insert the path, and BTextView insert the file -- a preview would be > nice then, though. How would you propose handling a preview in this case? Extracting a small chunk of the text and showing it highlighted in the view or.. ? Regards, Rene