VCS[git]: Limit text size to be displayed.

in VCSBaseEditor  and BaseTextEditor::createNew to the size
used for limiting file size.

Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
Task-number: QTCREATORBUG-1847
This commit is contained in:
Friedemann Kleint
2010-07-12 14:15:38 +02:00
parent ab8a8c018d
commit 36f5545f5a
5 changed files with 26 additions and 2 deletions

View File

@@ -294,6 +294,8 @@ protected:
bool canInsertFromMimeData(const QMimeData *source) const;
void insertFromMimeData(const QMimeData *source);
static QString msgTextTooLarge(quint64 size);
private:
void maybeSelectLine();