class MyClass : public foo
{
}
#endif
When invoked with the parameter myincl, AddIncl.LX
adds
the following code
to your source text:
#ifndef __MYINCL_HPP__
#include <myincl.hpp>
#endif
If no parameter is given, AddIncl.LX opens a window
and
ask the user to enter
a file name
C.LXS
-----
This macro is invoked automatically when saving a
C/CPP/H/HPP
file. It calls
the macro SETDATE.LX (Se documentation there).
You'll have to set the given parameter to your own
needs
!!!
ClsFunc.LX
----------
Searches backwards from the current point to the next
reachable function. Then
it tries to find out the class name for that function.
If not found, the user must enter a class name.
Then it asks the user for a return type and the
function
name.
An empty function with a small comment (CommeSma.LX is
used !!!) will be
inserted.
Example:
If the previous function is:
void MyClass::MyFunc1()
{
DoNothing();
}
and the user enters MyClass &MyFunc2
then the macro creates
--------------------------- MyFunc2
--------------------------------------------
void MyClass::MyFunc2()
{
IFUNCTRACE_DEVELOP();
}
for you.
CommeBig.LX
-----------
The user will have to enter a comment. Then three lines
will be created like
/******************************************************************************/
/*
MyComment
*/
/******************************************************************************/
CommeSma.LX
-----------
Same as CommeBig.LX, but it creates one line like this:
//--------------------------------- my comment
---------------------------------
EmptyCls.LX
-----------
Creates an empty class sceleton. The user will be asked
for the class name and
the base class name. If he enters MyClass and BaseClass
the macro creates
/******************************************************************************/
/* Class
MyClass
*/
/******************************************************************************/
class MyClass : public BaseClass
{
typedef BaseClass Inherited;
public:
MyClass();
~MyClass();
protected:
private:
};
FindBrac.LX
-----------
Searches for a matching bracket and positions the
cursor
on it.
NewSrc.LX
---------
Creates new source code files. If the user enters only
a base name, two files
will be created. One with .CPP and one with .HPP.
The files contains a header and the .HPP or .H file
contains
a #ifndef #define
sequence
ProfSys.LXU
-----------
This macro will be executed on editor startup. It
contains
customizations
RC.LXS
------
Same as C.LXS, but for RC-files
SetDate.LX
----------
Searches for a given string in the current file. If it
was found, a date string
will be placed directly after the found string. The
existing
string will be
overwritten.
SplitPar.LX
-----------
Only useable for VACPP3.0. It is usefull to split the
parameter into two lines
TruncCom.LX
-----------
Truncates the current line if it has more than 80 chars