I did not understand if you want to display files or allow users to edit them.
In any case, you may find ScintillaNET useful.
Well-known text editor, Notepad ++ uses Scintilla :)
You could grab the sources of notepad ++ at http://sourceforge.net/projects/notepad-plus/ , but it is written in C ++, so the API will be slightly different than what is in .NET.
EDIT
Notepad ++ is capable of displaying files about 100-200 MB in size. If you need better, you will need to implement some kind of paging technology / virtual mode (do not download the entire file, but only the part that will be displayed on the screen depending on the current position of the scroll bar)
Scintilla , , , DataGrid. , . , LogEntry, . , .