[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Huge Text: What is the best way?

I need to display an internal String which might be up to 20 MB. Using the regular TextViewer seems to result in Performance issues, especially when switching between Editors. Is there an alternative useful component available? If not, what is the best way to deal with this situation, cause setText seems not really the best solution. Save to disk and then read from there?

A similar issue I need to solve as well, where I do not have the String in memory, but where I need to display the file-content. The files are log-files covering as well up 50-60 MB. What is the best way to display that kind of files?

Are there any kind of code-snippets for this available?