Hi,

I want to profile C block code adding begin/end trace at start and end of block.

        public string Separator
        {
            set 
            {
                Trace.Write(string.Format("{0}::{1}", this.GetType().Name, 
MethodBase.GetCurrentMethod().Name));
                mSeparator = value;
            }

I have done a macro you can see in the attached gif that transform into that 
code.

            set 
            {
                Trace.Write(string.Format("{0}::{1} BEGIN", 
this.GetType().Name, MethodBase.GetCurrentMethod().Name));
                mSeparator = value;
                Trace.Write(string.Format("{0}::{1} END", this.GetType().Name, 
MethodBase.GetCurrentMethod().Name));
            }
           



How can I do to hide display of search result in order to make it faster ?

Thank you

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to