<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 08/03/2016 10:28, Dennis wrote:<br>
    </div>
    <blockquote cite="mid:56DEA93F.6060005@avidsoft.com.hk" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <font size="+1">When source files become big, the search function
        becomes very important.<br>
        Does anyone share my desire for the Search function in Lazarus
        to be smart enough to skip those commented out texts?<br>
        <br>
        I often comment out a portion of the source files before
        permanently deleting it (after I am really sure the new code is
        better than the old ones).<br>
        <br>
        I hope the IDE will one day be smart enough to skip those
        commented text.<br>
        <br>
        Also, sometimes I use meaningful english words as my routine and
        variable names. A search on those names will then also return
        those words in my commented txt.  </font><br>
    </blockquote>
    <br>
    You can use find identifier references. IIRC that can skip comments.
    But it also skips identifiers of the same name, if they are not the
    same (e.g a field of equal name defined in a different class, or
    local var)<br>
    <br>
    Another method with similar results, is to add "deprecated 'find
    me';" to the identifier you are interested, and compile.<br>
  </body>
</html>