From a4b9ba8e601d1f2d0693a7edcd2fb4dd75fc583e Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 10 Jul 2000 12:26:15 +0000 Subject: Moved EntryMemory from Scintilla to SciTE as it is only used there. --- include/PropSet.h | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'include/PropSet.h') diff --git a/include/PropSet.h b/include/PropSet.h index 16b460ed8..f3dbd4659 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -136,39 +136,6 @@ public: void Read(const char *filename, const char *directoryForImports); }; -// This is a fixed length list of strings suitable for display in combo boxes -// as a memory of user entries -template -class EntryMemory { - SString entries[sz]; -public: - void Insert(SString s) { - for (int i=0;i0;j--) { - entries[j] = entries[j-1]; - } - entries[0] = s; - return; - } - } - for (int k=sz-1;k>0;k--) { - entries[k] = entries[k-1]; - } - entries[0] = s; - } - int Length() const { - int len = 0; - for (int i=0;i