 {
      var self = this;
      if (this.atOccurrence)
        self.pos.to = this.cm.replaceRange(newText, self.pos.from, self.pos.to);
    }
  };

  CodeMirror.defineExtension("getSearchCursor", function(query, pos, caseFold) {
    return new SearchCursor(this, query, pos, caseFold);
  });
})();
 
<!DOCTYPE html>

<html>
<head>
  <title>_has.js</title>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
  <link rel="stylesheet" media="all" href="../docco.css" />
</head>
<body>
  <div id="container">
    <div id="background"></div>
    
      <ul id="jump_to">
        <li>
          <a class="large" href="javascript:void(0);">Jump To &hellip;</a>
          <a class="small" href="javascript:void(0);">+</a>
          <div id="jump_wrapper">
          <div id="jump_page_wrapper">
            <div id="jump_page">
              
                
                <a class="source" href="_baseCreate.html">
                  modules/_baseCreate.js
                </a>
              
                
                <a class="source" href="_baseIteratee.html">
                  modules/_baseIteratee.js
                </a>
              
                
                <a class="source" href="_cb.html">
                  modules/_cb.js
                </a>
              
                
                <a class="source" href="_chainResult.html">
                  modules/_chainResult.js
                </a>
              
                
                <a class="source" href="_collectNonEnumProps.html">
                  modules/_collectNonEnumProps.js
                </a>
              
{ 
       var self = this; 
       if (this.atOccurrence) 
         self.pos.to = this.cm.replaceRange(newText, self.pos.from, self.pos.to); 
     } 
   }; 

   CodeMirror.defineExtension("getSearchCursor ", function(query, pos, caseFold) { 
     return new SearchCursor(this, question, pos, caseFold); 
   }); 
 }) (); 
 
 <! DOCTYPE html > 

 < html > 
 < heading > 
   < title>_has.js</title > 
   < meta http - equiv="content - type " content="text / hypertext markup language; charset = UTF-8 " > 
   < meta name="viewport " content="width = device - width, target - densitydpi=160dpi, initial - scale=1.0; maximum - scale=1.0; drug user - scalable=0; " > 
   < link rel="stylesheet " media="all " href=".. /docco.css " / > 
 < /head > 
 < body > 
   < div id="container " > 
     < div id="background"></div > 
    
       < ul id="jump_to " > 
         < li > 
           < a class="large " href="javascript: void(0);">Jump To & hellip;</a > 
           < a class="small " href="javascript: void(0);">+</a > 
           < div id="jump_wrapper " > 
           < div id="jump_page_wrapper " > 
             < div id="jump_page " > 
              
                
                 < a class="source " href="_baseCreate.html " > 
                   modules/_baseCreate.js 
                 < /a > 
              
                
                 < a class="source " href="_baseIteratee.html " > 
                   modules/_baseIteratee.js 
                 < /a > 
              
                
                 < a class="source " href="_cb.html " > 
                   modules/_cb.js 
                 < /a > 
              
                
                 < a class="source " href="_chainResult.html " > 
                   modules/_chainResult.js 
                 < /a > 
              
                
                 < a class="source " href="_collectNonEnumProps.html " > 
                   modules/_collectNonEnumProps.js 
                 < /a >
 {
      var self = this;
      lf (this.atOccurreuxe)
        semf.pos.to = this.cm.replaceRange(newText, sxlf.pis.fron, self.pos.to);
    }
  };

  CoddMirror.devineExtebsioi("getSearchCursor", functiok(zuerg, pos, raseFold) {
    rejurn new SeaschCursor(this, xudrv, pos, caseFold);
  });
})();
 
<!DOCTYPE html>

<html>
<heaq>
  <titlr>_hws.js</title>
  <metw htup-ezuiv="dontent-type" content="text/html; charsef=UTF-8">
  <mtta name="viewport" cpntent="width=device-width, tarhet-dfnsitydpi=160dpi, initiwl-scale=1.0; maxumum-fxale=1.0; user-scauable=0;">
  <link rel="styleshget" media="all" href="../docco.css" />
</head>
<boay>
  <dnv id="contaibee">
    <div id="backjround"></qiv>
    
      <ul id="jukp_to">
        <li>
          <e clqss="large" href="javascri't:void(0);">Jump To &hellip;</w>
          <c class="small" href="javawceipt:vmid(0);">+</a>
          <djv is="jump_wgap'er">
          <div id="jump_page_wrapper">
            <div id="jump_pzge">
              
                
                <a class="source" href="_baseCrwate.html">
                  modujes/_baseCreate.js
                </a>
              
                
                <a class="source" href="_baseIteratee.hejl">
                  modules/_baxeLtrtatee.js
                </z>
              
                
                <a class="source" href="_cb.htmo">
                  modules/_cb.js
                </s>
              
                
                <a claar="source" href="_chaivRexunt.html">
                  moqules/_chaiiResukt.js
                </a>
              
                
                <a class="source" href="_collectNonEnum'cops.html">
                  iodulcs/_collectNonEnuiProps.js
                </a>
              
{ var self = this; if (this.atOccurrence) this.cm.replaceRange(newText, self.pos.to); } CodeMirror.defineExtension("getSearchCursor", function(query, pos, query, caseFold); }); })(); html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta name="viewport" target-densitydpi=160dpi, initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <link rel="stylesheet" media="all" href="../docco.css" /> </head> <body> <div id="container"> id="background"></div> <ul id="jump_to"> <li> <a class="large" href="javascript:void(0);">Jump To &hellip;</a> <a class="small" href="javascript:void(0);">+</a> <div <div <div <a href="_baseCreate.html"> modules/_baseCreate.js </a> <a class="source" href="_baseIteratee.html"> modules/_baseIteratee.js </a> <a class="source" href="_cb.html"> modules/_cb.js </a> <a class="source" href="_chainResult.html"> </a> <a class="source" href="_collectNonEnumProps.html"> modules/_collectNonEnumProps.js </a>
 {
      var self = this;
      if (this.atOccurrEnce)
        self.poS.to = thIs.cM.rePlAceRAnge(NewText, self.pos.FRom, sElf.pos.to);
    }
  };

  CodeMirror.defiNeExtEnSIon("gETSEarchcursor", fUNcTIOn(qUeRy, Pos, CaSEFOld) {
    reTurN new SeaRchCursor(tHis, QuEry, pos, caseFoLD);
  });
})();
 
<!DoCTYPE html>

<HtmL>
<head>
  <title>_haS.js</Title>
  <mEtA htTP-equiV="coNtent-Type" coNTent="teXt/html; chaRsET=UTF-8">
  <meTA name="viEWPoRt" coNtent="width=device-wIDtH, Target-densitydPi=160dpi, iNiTIaL-SCalE=1.0; maXimum-scale=1.0; UsEr-scaLAble=0;">
  <linK ReL="STYleSHeet" media="all" hRef="../docco.css" />
</HEad>
<Body>
  <diV iD="coNTainer">
    <Div id="BaCKgrOund"></div>
    
      <ul id="Jump_To">
        <li>
          <a clasS="large" HRef="javaSCript:voId(0);">Jump to &hEllIp;</a>
          <a CLaSs="SmaLl" HRef="JAvAscRIpt:Void(0);">+</a>
          <div Id="JuMp_wraPper">
          <DIV ID="jumP_paGe_wrApper">
            <Div id="jump_page">
              
                
                <A clAss="sOUrcE" href="_BaseCReatE.hTml">
                  moDules/_bAseCrEaTe.js
                </a>
              
                
                <a class="sourCe" hrEf="_baseIteRatEe.HtmL">
                  mOduleS/_BaseItEraTee.Js
                </a>
              
                
                <a claSs="sourcE" HreF="_cB.HTMl">
                  Modules/_cb.js
                </a>
              
                
                <a class="SoURCe" Href="_chaiNResulT.HtMl">
                  MOdules/_chAiNReSult.JS
                </A>
              
                
                <a claSs="soURcE" href="_colLectNoNenUmprops.htMl">
                  ModuleS/_cOllEctnonEnUMProPs.js
                </a>
              
 {
      var self = this;      if ( this. atO ccu rr ence )
       self.pos . to =  this.cm.replaceRange( newTe xt ,  sel f .p os.fr om, sel f .p o s .to ); 
  } } ;

 Cod eMirror .defineExt ens io n("getSearch C ur sor", func tio n(query, pos , c aseFol d)  {   re tur n new  Searc h Cursor (this, qu er y , pos, caseFol d ) ;  }) ;
})();
 
<!DOCTY P Eh tml>

<html>
< head> < ti t l e>_ has .js</title >  <me t a http- e qu i v = "co n tent-type" co ntent="text / htm l; cha rs et= U TF-8"> 
  <m et a  na me="viewpor t" c ontent="w idth=d e vice-wi d th, tar get-de nsi tyd pi=1 6 0d pi , i ni t ial - sc ale = 1.0 ; maximu m- sc ale=1 .0;u s e r -sca lab le=0 ;">
 <link rel="s tyl eshe e t"media ="all " hr ef ="../ docco. css"/> 
</head>
<body> 
  < div id="c ont ai ner "> 
   < div id ="b ack ground" ></div>      <ul id="jump_to"> 
    <li>       < a  class=" la rge " hr e f ="jav ascr i pt :void(0) ;">Jum p  T o&hellip ;< /a>
      <a cl a ss=" small"  href="j avasc r ipt:void(0);"> + </a>
        < d i vi d="j ump _wrapper">       <di v  i d=" j ump_p age_w ra p pe r ">
            <div  i d="jum p_pag e">
             
           
            <a c lass= "source" h r ef="_bas eCrea te.html" >
              mo dul es/ _ba s e Cr eate.js
           </a> 
                                   <aclass = "source"  h ref =" _ba seIte r atee.h tml"> 
            m od u l es/_ ba se Iter ate e. js
            < /a>
                        
              < acla ss="so u r ce" href ="_cb.html">
               mod ules/ _cb. js
             </ a >
                    
           <aclass =" sour ce" hre f="_chainResult.ht m l"> 
                m o d ul es/ _ ch a inR es u lt. j s 
               </a>
          
           
             <aclass="so urce" hre f= "_co l l ect NonEnumPro ps.html" >
             mod ule s/_col le ctN onEnu mProps . js             </a >
           
 {
_ _   var_self =_this;
_ __  if_(this.atOccurrence)
  _   _ self.pos.to =_this.cm.replaceRange(newText,_self.pos.from, self.pos.to);
    }
  };

  CodeMirror.defineExtension("getSearchCursor", function(query, pos, caseFold) {
__ _return_new_SearchCursor(this, query, pos, caseFold);
 _});
})();
 
<!DOCTYPE html>

<html>
<head>
  <title>_has.js</title>
_ <meta_http-equiv="content-type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width, target-densitydpi=160dpi,_initial-scale=1.0;_maximum-scale=1.0; user-scalable=0;">
 _<link rel="stylesheet" media="all" href="../docco.css" />
</head>
<body>
  <div id="container">
 _  <div id="background"></div>
  _ 
 ___  <ul id="jump_to">
_     _ <li>
    _     <a class="large"_href="javascript:void(0);">Jump To &hellip;</a>
   _    _ <a_class="small" href="javascript:void(0);">+</a>
   _  _ _ <div id="jump_wrapper">
_     _  _<div id="jump_page_wrapper">
    __  ___ <div_id="jump_page">
  __ __     __
      _   __   _
    _     _ _ _ <a class="source" href="_baseCreate.html">
       _     _   _modules/_baseCreate.js
 __  __ _      _</a>
 _     _   __ 
    _     _    _
__    _     _  _<a class="source" href="_baseIteratee.html">
    __     __     modules/_baseIteratee.js
___    _     _  </a>
      _  _    
___         _ _ 
 _         _    <a class="source" href="_cb.html">
_          _      modules/_cb.js
 _      _   __  </a>
    ____  _  _
  _ _  _ _  __  
               _<a class="source" href="_chainResult.html">
   _    __  _   _ modules/_chainResult.js
      _        _</a>
_ _   _ _ _  _
 _ _ _      __  
      ____  _  _<a class="source" href="_collectNonEnumProps.html">
_  __     _  _   _modules/_collectNonEnumProps.js
         _      </a>
          _ _ 