RE: [gtkmm] Filling a TextView from a text file?



> From: Barnaby Gray [mailto:bee pickle me uk] 
> Use istream::get or similar to read blocks of data from the text file
> and insert it into the TextView - obviously you'll have to be careful
> with encodings though, and avoiding splitting utf-8 characters between
> blocks (in which case reading line by line, might be easier).

You might also look at regexxer's source, because it must do the same thing
somehow.

Murray Cumming
murrayc usa net
www.murrayc.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]