I'm trying to write an indent-macro with ultraedit (9.10) that stuffs a SELECTION
so that all equal-signs are under 1 column:
example: assume that those 5 lines are selected:
int iReturn = KO_GIG_FALSE;
int iAvStatus = NULL_INTEGER;
int iDoktKey = NULL_INTEGER;
int iZeilen = GetNumRowsBO(pboDokOut, DOKUMENT_BO_DOK_T_DOKT_KEY);
int iLauf = NULL_INTEGER;
after macro run, we will see ALL = signs in the same column:
int iReturn = KO_GIG_FALSE;
int iAvStatus = NULL_INTEGER;
int iDoktKey = NULL_INTEGER;
int iZeilen = GetNumRowsBO(pboDokOut, DOKUMENT_BO_DOK_T_DOKT_KEY);
int iLauf = NULL_INTEGER;
Don't know how to get this.
The approach is clear: go through selection and determin max. col. of "=" sign.
go through selection once more and add the needed number of blanks before =
Any help apperciated.
Thanks, Alex



