The Zeus editor can be customized this way using its template function as follows.
Step 1: Create a file c: \ temp \ test.tpl that looks like this:
#ifndef $Word_H #define $Word_H class $Word { public: $Word (const X& x, const Y& Y); ~$Word (); void PerformXYZ (int Count); }; #endif $Word::$Word (const X& x, const Y& Y) { } $Word::~$Word () { } void $Word::PerformXYZ (int Count) { }
Step 2: Using the template, the Options menu to add the following template:
$ExpandTemplate<c:\temp\test.tpl>
Step 3: Using the menu "File", "New", enter the word "Bar", place the cursor on the word "Bar" and run the newly created template, and you will get this text:
#ifndef Bar_H #define Bar_H class Bar { public: Bar (const X& x, const Y& Y); ~Bar (); void PerformXYZ (int Count); }; #endif Bar::Bar (const X& x, const Y& Y) { } Bar::~Bar () { } void Bar::PerformXYZ (int Count) { }
jussij
source share