54 m_FileContent.Clear();
95 for (
int i = 0;
i < m_FileContent.Count(); ++
i)
113 AddNewLineNoSave(
text);
119 if (m_LineLimit > -1)
121 if (m_LineLimit == 0)
131 m_FileContent.RemoveOrdered(0);
135 m_FileContent.Insert(
text);
140 return m_FileContent;
class PluginLocalEnscriptHistory extends PluginLocalHistoryBase GetSubFolderName()
TStringArray GetFileContent()
static void FileRename(string source_name, string dest_name)
void ~PluginFileHandler()
void AddNewLineNoSave(string text)
string GetSubFolderName()
ref TStringArray m_FileContent
void AddText(string text)
static bool FileDelete(string file)
static bool FileDuplicate(string source_name, string dest_name)
override string GetFileName()
array< string > TStringArray
proto void CloseFile(FileHandle file)
Close the File.
proto native bool MakeDirectory(string name)
Makes a directory.
proto native bool CopyFile(string sourceName, string destName)
copy file. destName must be "$profile:" or "$saves:" location
proto int FGets(FileHandle file, string var)
Get line from file, every next call of this function returns next line.
proto FileHandle OpenFile(string name, FileMode mode)
Opens File.
proto bool FileExist(string name)
Check existence of file.
proto native bool DeleteFile(string name)
delete file. Works only on "$profile:" and "$saves:" locations
proto void FPrintln(FileHandle file, void var)
Write to file and add new line.
static const string Empty