Hyper_Notepad_OnLoad();
Hyper_Notepad_OnEvent();
Hyper_Notepad_OnShow();
Hyper_Notepad_OnHide();
Hyper_NotepadEditBox:SetFocus();
this:Hide();
Hyper_MessageFrame:Show();
local scrollBar = getglobal(this:GetParent():GetParent():GetName().."ScrollBar")
this:GetParent():GetParent():UpdateScrollChildRect();
local min;
local max;
min, max = scrollBar:GetMinMaxValues();
if ( max > 0 and (this.max ~= max) ) then
this.max = max;
scrollBar:SetValue(max);
end
Hyper_Notepad_UpdateText();
HideUIPanel(Hyper_MessageFrame);
this:Hide();
Hyper_NotepadEditBox:Show();
Hyper_NotepadEditBox:SetFocus(1);
this:SetAllPoints(Hyper_NotepadEditBox);
this:AddMessage(Hyper_NotepadEditBox:GetText(),1.0,1.0,1.0,999)
Hyper_NotepadEditBox:SetFocus();