From 0d8782e6a1dd76fbc1661d22f52d673cbed335bf Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Thu, 30 Jul 2009 13:54:51 -0500 Subject: Added timestamps to the Script Warning/Error floater. --- linden/indra/newview/llfloaterscriptdebug.cpp | 3 ++- linden/indra/newview/llfloaterscriptdebug.h | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'linden/indra') diff --git a/linden/indra/newview/llfloaterscriptdebug.cpp b/linden/indra/newview/llfloaterscriptdebug.cpp index bc774e7..e6962d2 100644 --- a/linden/indra/newview/llfloaterscriptdebug.cpp +++ b/linden/indra/newview/llfloaterscriptdebug.cpp @@ -223,7 +223,8 @@ void LLFloaterScriptDebugOutput::addLine(const std::string &utf8mesg, const std: setTitle(user_name); } - mHistoryEditor->appendColoredText(utf8mesg, false, true, color); + mHistoryEditor->appendTime(true); + mHistoryEditor->appendColoredText(utf8mesg, false, false, color); } //static diff --git a/linden/indra/newview/llfloaterscriptdebug.h b/linden/indra/newview/llfloaterscriptdebug.h index 59c0ba1..7c36c53 100644 --- a/linden/indra/newview/llfloaterscriptdebug.h +++ b/linden/indra/newview/llfloaterscriptdebug.h @@ -35,7 +35,7 @@ #include "llfloater.h" -class LLTextEditor; +class LLViewerTextEditor; class LLUUID; class LLFloaterScriptDebug : public LLMultiFloater @@ -73,7 +73,7 @@ public: static LLFloaterScriptDebugOutput* getFloaterByID(const LLUUID& id); protected: - LLTextEditor* mHistoryEditor; + LLViewerTextEditor* mHistoryEditor; typedef std::map instance_map_t; static instance_map_t sInstanceMap; -- cgit v1.1