Remark
// create by kim 20140805 public void Remark_insertChangeHeader(Editor e) { userinfo userInfo; ; e.unmark(); e.gotoLine(1); e.gotoCol(1); select name from userInfo where userInfo.id == curUserId(); e.insertLines('// '+ strUpr(enum2Value(currentAOLayer())) +' Changed on ' + date2str(today(),123,2,1,3,1,4, DateFlags::FormatAll ) + ' at ' + time2str(timenow(), 1, 1) + ' by ' + curuserid() + ' ' + userInfo.name + '\n'); }
// create by kim 20140805 void Remark_BeginOrigAndEnd(Editor e) { userinfo userInfo; int startLine = e.selectionStartLine(); int endLine = e.selectionEndLine(); ; select name from userInfo where userInfo.id == curUserId(); e.gotoCol(1); e.unmark(); e.gotoLine(startline); e.insertLines('\t// '+strUpr(enum2str(currentAOLayer()))+ ' on ' + date2str(today(),321,2,3,2,3,4 ) + ' at ' + time2str(timeNow(), 1, 1) + ' Changed by ' +curUserId()+ ' ' + userInfo.name + ' -Begin\n'); e.insertLines('\t/*' +' Original\n'); e.gotoLine(endline+3); e.insertLines('\t*/' + '\n'); e.insertLines('\t// '+strUpr(enum2str(currentAOLayer()))+' on ' + date2str(today(),321,2,3,2,3,4 ) + ' at ' + time2str(timeNow(), 1, 1) + ' Changed by ' +curUserId()+ ' ' + userInfo.name + ' -End\n'); }
// create by kim 20140805 public void Remark_insertCreateHeader(Editor e) { userinfo userInfo; ; e.unmark(); e.gotoLine(1); e.gotoCol(1); select name from userInfo where userInfo.id == curUserId(); e.insertLines('// '+ strUpr(enum2Value(currentAOLayer())) +' Created on ' + date2str(today(),123,2,1,3,1,4, DateFlags::FormatAll ) + ' at ' + time2str(timenow(), 1, 1) + ' by ' + curuserid() + ' ' + userInfo.name + '\n'); }
// create by kim 20140805 void Remark_BeginAndEnd(Editor e) { userinfo userInfo; int startLine = e.selectionStartLine(); int endLine = e.selectionEndLine(); ; select name from userInfo where userInfo.id == curUserId(); e.gotoCol(1); e.unmark(); e.gotoLine(startline); e.insertLines('\t// '+strUpr(enum2str(currentAOLayer()))+ ' on ' + date2str(today(),321,2,3,2,3,4 ) + ' at ' + time2str(timeNow(), 1, 1) + ' Changed by ' +curUserId()+ ' ' + userInfo.name + ' -Begin\n'); e.gotoLine(endline+2); e.insertLines('\t// '+strUpr(enum2str(currentAOLayer()))+' on ' + date2str(today(),321,2,3,2,3,4 ) + ' at ' + time2str(timeNow(), 1, 1) + ' Changed by ' +curUserId()+ ' ' + userInfo.name + ' -End\n'); }