19 Error(
"Cannot call GetFileName on Base class PluginLocalHistoryBase" );
27 m_FileContent.Insert(text);
35 for (
int i = 0; i < m_FileContent.Count(); i++)
37 string history_record = m_FileContent.Get(i);
38 history_record.
Replace(
"\\n",
"\n");
39 console_history.Insert( history_record );
41 return console_history;
46 int count = m_FileContent.Count();
51 ret = m_FileContent.
Get(count - 1);
TStringArray GetLastLine()
override string GetFileName()
void ~PluginLocalHistoryBase()
void PluginLocalHistoryBase()
TStringArray GetAllLines()
void AddNewLine(string text)
void Error(string err)
Messagebox with error message.
array< string > TStringArray
const string STRING_EMPTY
proto int Replace(string sample, string replace)
Replace all occurrances of 'sample' in 'str' by 'replace'.
proto string Get(int index)
Gets n-th character from string.