regLine method
Implementation
int regLine( ClipLineData line ){
int ret;
ClipLineData tmp = _newLine();
tmp._token = ClipToken();
if( (ret = line._token!.dup( tmp._token! )) != ClipGlobal.noErr ){
return ret;
}
if( line._num > 0 ){
tmp._num = line._num;
_nextNum = tmp._num + 1;
} else {
_nextNum++;
}
if( line._comment != null ){
tmp._comment = line._comment;
}
return ClipGlobal.noErr;
}