source insight

macro zxyPasteLine()
{
hbufCur = GetCurrentBuf();
runcmd("Paste Line")
runcmd("Cursor Down")
}

 

macro jumptosymbolIn()
{
    hbuf = GetCurrentBuf()
    record=GetSymbolLocationFromLn(hbuf, GetBufLnCur(hbuf))
    JumpToLocation(record)
    if(record.ichName=="0")
    {
        runcmd("Cursor Left")
        runcmd("Select Word")
    }
}

posted @ 2017-08-13 05:11  zxyblog  阅读(175)  评论(0编辑  收藏  举报