xref: /OpenGrok/opengrok-indexer/src/test/resources/analysis/pascal/sample_xref.html (revision 81c77aae50b0c5fb86763a472574ba88b0b7f2a8)
1<!DOCTYPE html>
2<html lang="en">
3<head>
4<meta charset="UTF-8">
5<title>sampleFile - OpenGrok cross reference for /sampleFile</title></head><body>
6<script type="text/javascript">/* <![CDATA[ */
7function get_sym_list(){return [["Function","xf",[["AddEditor",96],["AddEditor",149],["GetCompletionComments",81],["GetCompletionComments",350],["GetCompletionValues",82],["GetCompletionValues",357],["GetCompletions",80],["GetCompletions",343],["GetEditorCount",83],["GetEditorCount",364],["GetNthEditor",84],["GetNthEditor",369],["RemoveEditor",97],["RemoveEditor",479],["TCustomSynAutoComplete.AddEditor",149],["TCustomSynAutoComplete.GetCompletionComments",350],["TCustomSynAutoComplete.GetCompletionValues",357],["TCustomSynAutoComplete.GetCompletions",343],["TCustomSynAutoComplete.GetEditorCount",364],["TCustomSynAutoComplete.GetNthEditor",369],["TCustomSynAutoComplete.RemoveEditor",479]]],["Procedure","xf",[["AddCompletion",99],["AddCompletion",137],["CompletionListChanged",78],["CompletionListChanged",168],["Create",93],["DefineProperties",79],["DefineProperties",199],["Destroy",94],["Execute",100],["Execute",207],["ExecuteCompletion",101],["ExecuteCompletion",229],["Notification",90],["Notification",377],["ParseCompletionList",103],["ParseCompletionList",390],["SaveEntry",396],["SetAutoCompleteList",85],["SetAutoCompleteList",500],["SetEditor",86],["SetEditor",506],["SynEditCommandHandler",87],["SynEditCommandHandler",518],["TCustomSynAutoComplete.AddCompletion",137],["TCustomSynAutoComplete.CompletionListChanged",168],["TCustomSynAutoComplete.Create",173],["TCustomSynAutoComplete.DefineProperties",199],["TCustomSynAutoComplete.Destroy",185],["TCustomSynAutoComplete.Execute",207],["TCustomSynAutoComplete.ExecuteCompletion",229],["TCustomSynAutoComplete.Notification",377],["TCustomSynAutoComplete.ParseCompletionList",390],["TCustomSynAutoComplete.SetAutoCompleteList",500],["TCustomSynAutoComplete.SetEditor",506],["TCustomSynAutoComplete.SynEditCommandHandler",518]]]];} /* ]]> */</script><a class="l" name="1" href="#1">1</a><span class='fold-space'>&nbsp;</span><span class="c">{-------------------------------------------------------------------------------
8<a class="l" name="2" href="#2">2</a><span class='fold-space'>&nbsp;</span>The contents of this file are subject to the Mozilla Public License
9<a class="l" name="3" href="#3">3</a><span class='fold-space'>&nbsp;</span>Version 1.1 (the &quot;License&quot;); you may not use this file except in compliance
10<a class="l" name="4" href="#4">4</a><span class='fold-space'>&nbsp;</span>with the License. You may obtain a copy of the License at
11<a class="l" name="5" href="#5">5</a><span class='fold-space'>&nbsp;</span><a href="http://www.mozilla.org/MPL/">http://www.mozilla.org/MPL/</a>
12<a class="l" name="6" href="#6">6</a><span class='fold-space'>&nbsp;</span>
13<a class="l" name="7" href="#7">7</a><span class='fold-space'>&nbsp;</span>Software distributed under the License is distributed on an &quot;AS IS&quot; basis,
14<a class="l" name="8" href="#8">8</a><span class='fold-space'>&nbsp;</span>WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
15<a class="l" name="9" href="#9">9</a><span class='fold-space'>&nbsp;</span>the specific language governing rights and limitations under the License.
16<a class="hl" name="10" href="#10">10</a><span class='fold-space'>&nbsp;</span>
17<a class="l" name="11" href="#11">11</a><span class='fold-space'>&nbsp;</span>The Original Code is: <a href="/source/s?path=SynEditAutoComplete.pas">SynEditAutoComplete.pas</a>, released 2000-06-25.
18<a class="l" name="12" href="#12">12</a><span class='fold-space'>&nbsp;</span>
19<a class="l" name="13" href="#13">13</a><span class='fold-space'>&nbsp;</span>The Initial Author of the Original Code is Michael Hieke.
20<a class="l" name="14" href="#14">14</a><span class='fold-space'>&nbsp;</span>Portions written by Michael Hieke are Copyright 2000 Michael Hieke.
21<a class="l" name="15" href="#15">15</a><span class='fold-space'>&nbsp;</span>Portions written by Cyrille de Brebisson (from <a href="/source/s?path=mwCompletionProposal.pas">mwCompletionProposal.pas</a>) are
22<a class="l" name="16" href="#16">16</a><span class='fold-space'>&nbsp;</span>Copyright 1999 Cyrille de Brebisson.
23<a class="l" name="17" href="#17">17</a><span class='fold-space'>&nbsp;</span>Unicode translation by Ma&#235;l H&#246;rz.
24<a class="l" name="18" href="#18">18</a><span class='fold-space'>&nbsp;</span>All Rights Reserved.
25<a class="l" name="19" href="#19">19</a><span class='fold-space'>&nbsp;</span>
26<a class="hl" name="20" href="#20">20</a><span class='fold-space'>&nbsp;</span>Contributors to the SynEdit and mwEdit projects are listed in the
27<a class="l" name="21" href="#21">21</a><span class='fold-space'>&nbsp;</span><a href="/source/s?path=Contributors.txt">Contributors.txt</a> file.
28<a class="l" name="22" href="#22">22</a><span class='fold-space'>&nbsp;</span>
29<a class="l" name="23" href="#23">23</a><span class='fold-space'>&nbsp;</span>Alternatively, the contents of this file may be used under the terms of the
30<a class="l" name="24" href="#24">24</a><span class='fold-space'>&nbsp;</span>GNU General Public License Version 2 or later (the &quot;GPL&quot;), in which case
31<a class="l" name="25" href="#25">25</a><span class='fold-space'>&nbsp;</span>the provisions of the GPL are applicable instead of those above.
32<a class="l" name="26" href="#26">26</a><span class='fold-space'>&nbsp;</span>If you wish to allow use of your version of this file only under the terms
33<a class="l" name="27" href="#27">27</a><span class='fold-space'>&nbsp;</span>of the GPL and not to allow others to use your version of this file
34<a class="l" name="28" href="#28">28</a><span class='fold-space'>&nbsp;</span>under the MPL, indicate your decision by deleting the provisions above and
35<a class="l" name="29" href="#29">29</a><span class='fold-space'>&nbsp;</span>replace them with the notice and other provisions required by the GPL.
36<a class="hl" name="30" href="#30">30</a><span class='fold-space'>&nbsp;</span>If you do not delete the provisions above, a recipient may use your version
37<a class="l" name="31" href="#31">31</a><span class='fold-space'>&nbsp;</span>of this file under either the MPL or the GPL.
38<a class="l" name="32" href="#32">32</a><span class='fold-space'>&nbsp;</span>
39<a class="l" name="33" href="#33">33</a><span class='fold-space'>&nbsp;</span>$Id: <a href="/source/s?path=SynEditAutoComplete.pas">SynEditAutoComplete.pas</a>,v 1.10.2.4 2008/09/14 16:24:58 maelh Exp $
40<a class="l" name="34" href="#34">34</a><span class='fold-space'>&nbsp;</span>
41<a class="l" name="35" href="#35">35</a><span class='fold-space'>&nbsp;</span>You may retrieve the latest version of this file at the SynEdit home page,
42<a class="l" name="36" href="#36">36</a><span class='fold-space'>&nbsp;</span>located at <a href="http://SynEdit.SourceForge.net">http://SynEdit.SourceForge.net</a>
43<a class="l" name="37" href="#37">37</a><span class='fold-space'>&nbsp;</span>
44<a class="l" name="38" href="#38">38</a><span class='fold-space'>&nbsp;</span>Known Issues:
45<a class="l" name="39" href="#39">39</a><span class='fold-space'>&nbsp;</span>-------------------------------------------------------------------------------}</span>
46<a class="hl" name="40" href="#40">40</a><span class='fold-space'>&nbsp;</span>
47<a class="l" name="41" href="#41">41</a><span class='fold-space'>&nbsp;</span><span class="c">{$IFNDEF QSYNEDITAUTOCOMPLETE}</span>
48<a class="l" name="42" href="#42">42</a><span class='fold-space'>&nbsp;</span><b>unit</b> <a class="d" name="SynEditAutoComplete"/><a href="/source/s?refs=SynEditAutoComplete" class="d intelliWindow-symbol" data-definition-place="def">SynEditAutoComplete</a>&#59;
49<a class="l" name="43" href="#43">43</a><span class='fold-space'>&nbsp;</span><span class="c">{$ENDIF}</span>
50<a class="l" name="44" href="#44">44</a><span class='fold-space'>&nbsp;</span>
51<a class="l" name="45" href="#45">45</a><span class='fold-space'>&nbsp;</span><span class="c">{$I SynEdit.inc}</span>
52<a class="l" name="46" href="#46">46</a><span class='fold-space'>&nbsp;</span>
53<a class="l" name="47" href="#47">47</a><span class='fold-space'>&nbsp;</span><b>interface</b>
54<a class="l" name="48" href="#48">48</a><span class='fold-space'>&nbsp;</span>
55<a class="l" name="49" href="#49">49</a><span class='fold-space'>&nbsp;</span><b>uses</b>
56<a class="hl" name="50" href="#50">50</a><span class='fold-space'>&nbsp;</span>  <span class="c">{$IFDEF SYN_CLX}</span>
57<a class="l" name="51" href="#51">51</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=Qt" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Qt</a>,
58<a class="l" name="52" href="#52">52</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=QMenus" class="intelliWindow-symbol" data-definition-place="undefined-in-file">QMenus</a>,
59<a class="l" name="53" href="#53">53</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=Types" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Types</a>,
60<a class="l" name="54" href="#54">54</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=QSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">QSynEdit</a>,
61<a class="l" name="55" href="#55">55</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=QSynEditKeyCmds" class="intelliWindow-symbol" data-definition-place="undefined-in-file">QSynEditKeyCmds</a>,
62<a class="l" name="56" href="#56">56</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=QSynUnicode" class="intelliWindow-symbol" data-definition-place="undefined-in-file">QSynUnicode</a>,
63<a class="l" name="57" href="#57">57</a><span class='fold-space'>&nbsp;</span>  <span class="c">{$ELSE}</span>
64<a class="l" name="58" href="#58">58</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=Windows" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Windows</a>,
65<a class="l" name="59" href="#59">59</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=Menus" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Menus</a>,
66<a class="hl" name="60" href="#60">60</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=SynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">SynEdit</a>,
67<a class="l" name="61" href="#61">61</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=SynEditKeyCmds" class="intelliWindow-symbol" data-definition-place="undefined-in-file">SynEditKeyCmds</a>,
68<a class="l" name="62" href="#62">62</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=SynUnicode" class="intelliWindow-symbol" data-definition-place="undefined-in-file">SynUnicode</a>,
69<a class="l" name="63" href="#63">63</a><span class='fold-space'>&nbsp;</span>  <span class="c">{$ENDIF}</span>
70<a class="l" name="64" href="#64">64</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=Classes" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Classes</a>&#59;
71<a class="l" name="65" href="#65">65</a><span class='fold-space'>&nbsp;</span>
72<a class="l" name="66" href="#66">66</a><span class='fold-space'>&nbsp;</span><b>type</b>
73<a class="l" name="67" href="#67">67</a><span class='fold-space'>&nbsp;</span>  <a class="d" name="TCustomSynAutoComplete"/><a href="/source/s?refs=TCustomSynAutoComplete" class="d intelliWindow-symbol" data-definition-place="def">TCustomSynAutoComplete</a> = <b>class</b>(<a href="/source/s?defs=TComponent" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TComponent</a>)
74<a class="l" name="68" href="#68">68</a><span class='fold-space'>&nbsp;</span>  <b>protected</b>
75<a class="l" name="69" href="#69">69</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FAutoCompleteList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FAutoCompleteList</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a>&#59;
76<a class="hl" name="70" href="#70">70</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FCompletions" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletions</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a>&#59;
77<a class="l" name="71" href="#71">71</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FCompletionComments" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletionComments</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a>&#59;
78<a class="l" name="72" href="#72">72</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FCompletionValues" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletionValues</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a>&#59;
79<a class="l" name="73" href="#73">73</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditor</a>: <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>&#59;
80<a class="l" name="74" href="#74">74</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FEditors" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditors</a>: <a href="/source/s?defs=TList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TList</a>&#59;
81<a class="l" name="75" href="#75">75</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FEOTokenChars" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEOTokenChars</a>: <a href="/source/s?defs=UnicodeString" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UnicodeString</a>&#59;
82<a class="l" name="76" href="#76">76</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FCaseSensitive" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCaseSensitive</a>: <a href="/source/s?defs=Boolean" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Boolean</a>&#59;
83<a class="l" name="77" href="#77">77</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FParsed" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FParsed</a>: <a href="/source/s?defs=Boolean" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Boolean</a>&#59;
84<a class="l" name="78" href="#78">78</a><span class='fold-space'>&nbsp;</span>    <b>procedure</b> <a class="xf" name="CompletionListChanged"/><a href="/source/s?refs=CompletionListChanged" class="xf intelliWindow-symbol" data-definition-place="def">CompletionListChanged</a>(<a href="/source/s?defs=Sender" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Sender</a>: <a href="/source/s?defs=TObject" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TObject</a>)&#59;
85<a class="l" name="79" href="#79">79</a><span class='fold-space'>&nbsp;</span>    <b>procedure</b> <a class="xf" name="DefineProperties"/><a href="/source/s?refs=DefineProperties" class="xf intelliWindow-symbol" data-definition-place="def">DefineProperties</a>(<a href="/source/s?defs=Filer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Filer</a>: <a href="/source/s?defs=TFiler" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TFiler</a>)&#59; <b>override</b>&#59;
86<span id='scope_id_d5e94100' class='scope-head'><span class='scope-signature'>GetCompletionsnull</span><a class="hl" name="80" href="#80">80</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_d5e94100_fold_icon'><span class='fold-icon'>&nbsp;</span></a>    <b>function</b> <a class="xf" name="GetCompletions"/><a href="/source/s?refs=GetCompletions" class="xf intelliWindow-symbol" data-definition-place="def">GetCompletions</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a>&#59;
87<span id='scope_id_56034174' class='scope-head'><span class='scope-signature'>GetCompletionCommentsnull</span><a class="l" name="81" href="#81">81</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_56034174_fold_icon'><span class='fold-icon'>&nbsp;</span></a>    <b>function</b> <a class="xf" name="GetCompletionComments"/><a href="/source/s?refs=GetCompletionComments" class="xf intelliWindow-symbol" data-definition-place="def">GetCompletionComments</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a>&#59;
88<span id='scope_id_52b2f2c1' class='scope-head'><span class='scope-signature'>GetCompletionValuesnull</span><a class="l" name="82" href="#82">82</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_52b2f2c1_fold_icon'><span class='fold-icon'>&nbsp;</span></a>    <b>function</b> <a class="xf" name="GetCompletionValues"/><a href="/source/s?refs=GetCompletionValues" class="xf intelliWindow-symbol" data-definition-place="def">GetCompletionValues</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a>&#59;
89<span id='scope_id_14dc2c4e' class='scope-head'><span class='scope-signature'>GetEditorCountnull</span><a class="l" name="83" href="#83">83</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_14dc2c4e_fold_icon'><span class='fold-icon'>&nbsp;</span></a>    <b>function</b> <a class="xf" name="GetEditorCount"/><a href="/source/s?refs=GetEditorCount" class="xf intelliWindow-symbol" data-definition-place="def">GetEditorCount</a>: <a href="/source/s?defs=Integer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Integer</a>&#59;
90<span id='scope_id_7d5c2cdc' class='scope-head'><span class='scope-signature'>GetNthEditornull</span><a class="l" name="84" href="#84">84</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_7d5c2cdc_fold_icon'><span class='fold-icon'>&nbsp;</span></a>    <b>function</b> <a class="xf" name="GetNthEditor"/><a href="/source/s?refs=GetNthEditor" class="xf intelliWindow-symbol" data-definition-place="def">GetNthEditor</a>(<a href="/source/s?defs=Index" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Index</a>: <a href="/source/s?defs=Integer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Integer</a>): <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>&#59;
91</span><a class="l" name="85" href="#85">85</a><span class='fold-space'>&nbsp;</span>    <b>procedure</b> <a class="xf" name="SetAutoCompleteList"/><a href="/source/s?refs=SetAutoCompleteList" class="xf intelliWindow-symbol" data-definition-place="def">SetAutoCompleteList</a>(<a href="/source/s?defs=Value" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Value</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a>)&#59; <b>virtual</b>&#59;
92<a class="l" name="86" href="#86">86</a><span class='fold-space'>&nbsp;</span>    <b>procedure</b> <a class="xf" name="SetEditor"/><a href="/source/s?refs=SetEditor" class="xf intelliWindow-symbol" data-definition-place="def">SetEditor</a>(<a href="/source/s?defs=Value" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Value</a>: <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>)&#59;
93<a class="l" name="87" href="#87">87</a><span class='fold-space'>&nbsp;</span>    <b>procedure</b> <a class="xf" name="SynEditCommandHandler"/><a href="/source/s?refs=SynEditCommandHandler" class="xf intelliWindow-symbol" data-definition-place="def">SynEditCommandHandler</a>(<a href="/source/s?defs=Sender" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Sender</a>: <a href="/source/s?defs=TObject" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TObject</a>&#59; <a href="/source/s?defs=AfterProcessing" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AfterProcessing</a>: <a href="/source/s?defs=Boolean" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Boolean</a>&#59;
94<a class="l" name="88" href="#88">88</a><span class='fold-space'>&nbsp;</span>      <b>var</b> <a href="/source/s?defs=Handled" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Handled</a>: <a href="/source/s?defs=Boolean" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Boolean</a>&#59; <b>var</b> <a href="/source/s?defs=Command" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Command</a>: <a href="/source/s?defs=TSynEditorCommand" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TSynEditorCommand</a>&#59; <b>var</b> <a href="/source/s?defs=AChar" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AChar</a>: <a href="/source/s?defs=WideChar" class="intelliWindow-symbol" data-definition-place="undefined-in-file">WideChar</a>&#59;
95<a class="l" name="89" href="#89">89</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=Data" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Data</a>, <a href="/source/s?defs=HandlerData" class="intelliWindow-symbol" data-definition-place="undefined-in-file">HandlerData</a>: <a href="/source/s?defs=Pointer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Pointer</a>)&#59;
96<a class="hl" name="90" href="#90">90</a><span class='fold-space'>&nbsp;</span>    <b>procedure</b> <a class="xf" name="Notification"/><a href="/source/s?refs=Notification" class="xf intelliWindow-symbol" data-definition-place="def">Notification</a>(<a href="/source/s?defs=AComponent" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AComponent</a>: <a href="/source/s?defs=TComponent" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TComponent</a>&#59; <a href="/source/s?defs=Operation" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Operation</a>: <a href="/source/s?defs=TOperation" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TOperation</a>)&#59;
97<a class="l" name="91" href="#91">91</a><span class='fold-space'>&nbsp;</span>      <b>override</b>&#59;
98<a class="l" name="92" href="#92">92</a><span class='fold-space'>&nbsp;</span>  <b>public</b>
99<a class="l" name="93" href="#93">93</a><span class='fold-space'>&nbsp;</span>    <b>constructor</b> <a class="xf" name="Create"/><a href="/source/s?refs=Create" class="xf intelliWindow-symbol" data-definition-place="def">Create</a>(<a href="/source/s?defs=AOwner" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AOwner</a>: <a href="/source/s?defs=TComponent" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TComponent</a>)&#59; <b>override</b>&#59;
100<a class="l" name="94" href="#94">94</a><span class='fold-space'>&nbsp;</span>    <b>destructor</b> <a class="xf" name="Destroy"/><a href="/source/s?refs=Destroy" class="xf intelliWindow-symbol" data-definition-place="def">Destroy</a>&#59; <b>override</b>&#59;
101<a class="l" name="95" href="#95">95</a><span class='fold-space'>&nbsp;</span>
102<span id='scope_id_7abb87d8' class='scope-head'><span class='scope-signature'>AddEditornull</span><a class="l" name="96" href="#96">96</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_7abb87d8_fold_icon'><span class='fold-icon'>&nbsp;</span></a>    <b>function</b> <a class="xf" name="AddEditor"/><a href="/source/s?refs=AddEditor" class="xf intelliWindow-symbol" data-definition-place="def">AddEditor</a>(<a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>: <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>): <a href="/source/s?defs=Boolean" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Boolean</a>&#59;
103<span id='scope_id_c7b8b756' class='scope-head'><span class='scope-signature'>RemoveEditornull</span><a class="l" name="97" href="#97">97</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_c7b8b756_fold_icon'><span class='fold-icon'>&nbsp;</span></a>    <b>function</b> <a class="xf" name="RemoveEditor"/><a href="/source/s?refs=RemoveEditor" class="xf intelliWindow-symbol" data-definition-place="def">RemoveEditor</a>(<a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>: <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>): <a href="/source/s?defs=Boolean" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Boolean</a>&#59;
104</span><a class="l" name="98" href="#98">98</a><span class='fold-space'>&nbsp;</span>
105<a class="l" name="99" href="#99">99</a><span class='fold-space'>&nbsp;</span>    <b>procedure</b> <a class="xf" name="AddCompletion"/><a href="/source/s?refs=AddCompletion" class="xf intelliWindow-symbol" data-definition-place="def">AddCompletion</a>(<b>const</b> <a href="/source/s?defs=AToken" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AToken</a>, <a href="/source/s?defs=AValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AValue</a>, <a href="/source/s?defs=AComment" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AComment</a>: <a href="/source/s?defs=UnicodeString" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UnicodeString</a>)&#59;
106<a class="hl" name="100" href="#100">100</a><span class='fold-space'>&nbsp;</span>    <b>procedure</b> <a class="xf" name="Execute"/><a href="/source/s?refs=Execute" class="xf intelliWindow-symbol" data-definition-place="def">Execute</a>(<a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>: <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>)&#59; <b>virtual</b>&#59;
107<a class="l" name="101" href="#101">101</a><span class='fold-space'>&nbsp;</span>    <b>procedure</b> <a class="xf" name="ExecuteCompletion"/><a href="/source/s?refs=ExecuteCompletion" class="xf intelliWindow-symbol" data-definition-place="def">ExecuteCompletion</a>(<b>const</b> <a href="/source/s?defs=AToken" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AToken</a>: <a href="/source/s?defs=UnicodeString" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UnicodeString</a>&#59; <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>: <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>)&#59;
108<a class="l" name="102" href="#102">102</a><span class='fold-space'>&nbsp;</span>      <b>virtual</b>&#59;
109<a class="l" name="103" href="#103">103</a><span class='fold-space'>&nbsp;</span>    <b>procedure</b> <a class="xf" name="ParseCompletionList"/><a href="/source/s?refs=ParseCompletionList" class="xf intelliWindow-symbol" data-definition-place="def">ParseCompletionList</a>&#59; <b>virtual</b>&#59;
110<a class="l" name="104" href="#104">104</a><span class='fold-space'>&nbsp;</span>  <b>public</b>
111<a class="l" name="105" href="#105">105</a><span class='fold-space'>&nbsp;</span>    <b>property</b> <a class="d" name="AutoCompleteList"/><a href="/source/s?refs=AutoCompleteList" class="d intelliWindow-symbol" data-definition-place="def">AutoCompleteList</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a> <b>read</b> <a href="/source/s?defs=FAutoCompleteList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FAutoCompleteList</a>
112<a class="l" name="106" href="#106">106</a><span class='fold-space'>&nbsp;</span>      <b>write</b> <a href="/source/s?defs=SetAutoCompleteList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">SetAutoCompleteList</a>&#59;
113<a class="l" name="107" href="#107">107</a><span class='fold-space'>&nbsp;</span>    <b>property</b> <a class="d" name="CaseSensitive"/><a href="/source/s?refs=CaseSensitive" class="d intelliWindow-symbol" data-definition-place="def">CaseSensitive</a>: <a href="/source/s?defs=Boolean" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Boolean</a> <b>read</b> <a href="/source/s?defs=FCaseSensitive" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCaseSensitive</a> <b>write</b> <a href="/source/s?defs=FCaseSensitive" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCaseSensitive</a>&#59;
114<a class="l" name="108" href="#108">108</a><span class='fold-space'>&nbsp;</span>    <b>property</b> <a class="d" name="Completions"/><a href="/source/s?refs=Completions" class="d intelliWindow-symbol" data-definition-place="def">Completions</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a> <b>read</b> <a href="/source/s?defs=GetCompletions" class="intelliWindow-symbol" data-definition-place="undefined-in-file">GetCompletions</a>&#59;
115<a class="l" name="109" href="#109">109</a><span class='fold-space'>&nbsp;</span>    <b>property</b> <a class="d" name="CompletionComments"/><a href="/source/s?refs=CompletionComments" class="d intelliWindow-symbol" data-definition-place="def">CompletionComments</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a> <b>read</b> <a href="/source/s?defs=GetCompletionComments" class="intelliWindow-symbol" data-definition-place="undefined-in-file">GetCompletionComments</a>&#59;
116<a class="hl" name="110" href="#110">110</a><span class='fold-space'>&nbsp;</span>    <b>property</b> <a class="d" name="CompletionValues"/><a href="/source/s?refs=CompletionValues" class="d intelliWindow-symbol" data-definition-place="def">CompletionValues</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a> <b>read</b> <a href="/source/s?defs=GetCompletionValues" class="intelliWindow-symbol" data-definition-place="undefined-in-file">GetCompletionValues</a>&#59;
117<a class="l" name="111" href="#111">111</a><span class='fold-space'>&nbsp;</span>    <b>property</b> <a class="d" name="Editor"/><a href="/source/s?refs=Editor" class="d intelliWindow-symbol" data-definition-place="def">Editor</a>: <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a> <b>read</b> <a href="/source/s?defs=FEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditor</a> <b>write</b> <a href="/source/s?defs=SetEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">SetEditor</a>&#59;
118<a class="l" name="112" href="#112">112</a><span class='fold-space'>&nbsp;</span>    <b>property</b> <a class="d" name="EditorCount"/><a href="/source/s?refs=EditorCount" class="d intelliWindow-symbol" data-definition-place="def">EditorCount</a>: <a href="/source/s?defs=Integer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Integer</a> <b>read</b> <a href="/source/s?defs=GetEditorCount" class="intelliWindow-symbol" data-definition-place="undefined-in-file">GetEditorCount</a>&#59;
119<a class="l" name="113" href="#113">113</a><span class='fold-space'>&nbsp;</span>    <b>property</b> <a href="/source/s?defs=Editors" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Editors</a>[<a href="/source/s?defs=Index" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Index</a>: <a href="/source/s?defs=Integer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Integer</a>]: <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a> <b>read</b> <a href="/source/s?defs=GetNthEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">GetNthEditor</a>&#59;
120<a class="l" name="114" href="#114">114</a><span class='fold-space'>&nbsp;</span>    <b>property</b> <a class="d" name="EndOfTokenChr"/><a href="/source/s?refs=EndOfTokenChr" class="d intelliWindow-symbol" data-definition-place="def">EndOfTokenChr</a>: <a href="/source/s?defs=UnicodeString" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UnicodeString</a> <b>read</b> <a href="/source/s?defs=FEOTokenChars" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEOTokenChars</a> <b>write</b> <a href="/source/s?defs=FEOTokenChars" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEOTokenChars</a>&#59;
121<a class="l" name="115" href="#115">115</a><span class='fold-space'>&nbsp;</span>  end&#59;
122<a class="l" name="116" href="#116">116</a><span class='fold-space'>&nbsp;</span>
123<a class="l" name="117" href="#117">117</a><span class='fold-space'>&nbsp;</span>  <a class="d" name="TSynAutoComplete"/><a href="/source/s?refs=TSynAutoComplete" class="d intelliWindow-symbol" data-definition-place="def">TSynAutoComplete</a> = <b>class</b>(<a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>)
124<a class="l" name="118" href="#118">118</a><span class='fold-space'>&nbsp;</span>  <b>published</b>
125<a class="l" name="119" href="#119">119</a><span class='fold-space'>&nbsp;</span>    <b>property</b> <a class="d intelliWindow-symbol" href="#AutoCompleteList" data-definition-place="defined-in-file">AutoCompleteList</a>&#59;
126<a class="hl" name="120" href="#120">120</a><span class='fold-space'>&nbsp;</span>    <b>property</b> <a class="d intelliWindow-symbol" href="#CaseSensitive" data-definition-place="defined-in-file">CaseSensitive</a>&#59;
127<a class="l" name="121" href="#121">121</a><span class='fold-space'>&nbsp;</span>    <b>property</b> <a class="d intelliWindow-symbol" href="#Editor" data-definition-place="defined-in-file">Editor</a>&#59;
128<a class="l" name="122" href="#122">122</a><span class='fold-space'>&nbsp;</span>    <b>property</b> <a class="d intelliWindow-symbol" href="#EndOfTokenChr" data-definition-place="defined-in-file">EndOfTokenChr</a>&#59;
129<a class="l" name="123" href="#123">123</a><span class='fold-space'>&nbsp;</span>  end&#59;
130<a class="l" name="124" href="#124">124</a><span class='fold-space'>&nbsp;</span>
131<a class="l" name="125" href="#125">125</a><span class='fold-space'>&nbsp;</span><b>implementation</b>
132<a class="l" name="126" href="#126">126</a><span class='fold-space'>&nbsp;</span>
133<a class="l" name="127" href="#127">127</a><span class='fold-space'>&nbsp;</span><b>uses</b>
134<a class="l" name="128" href="#128">128</a><span class='fold-space'>&nbsp;</span><span class="c">{$IFDEF SYN_CLX}</span>
135<a class="l" name="129" href="#129">129</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=QSynEditTypes" class="intelliWindow-symbol" data-definition-place="undefined-in-file">QSynEditTypes</a>,
136<a class="hl" name="130" href="#130">130</a><span class='fold-space'>&nbsp;</span><span class="c">{$ELSE}</span>
137<a class="l" name="131" href="#131">131</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=SynEditTypes" class="intelliWindow-symbol" data-definition-place="undefined-in-file">SynEditTypes</a>,
138<a class="l" name="132" href="#132">132</a><span class='fold-space'>&nbsp;</span><span class="c">{$ENDIF}</span>
139<a class="l" name="133" href="#133">133</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=SysUtils" class="intelliWindow-symbol" data-definition-place="undefined-in-file">SysUtils</a>&#59;
140<a class="l" name="134" href="#134">134</a><span class='fold-space'>&nbsp;</span>
141<a class="l" name="135" href="#135">135</a><span class='fold-space'>&nbsp;</span><span class="c">{ TCustomSynAutoComplete }</span>
142<a class="l" name="136" href="#136">136</a><span class='fold-space'>&nbsp;</span>
143<a class="l" name="137" href="#137">137</a><span class='fold-space'>&nbsp;</span><b>procedure</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="AddCompletion"/><a href="/source/s?refs=AddCompletion" class="xf intelliWindow-symbol" data-definition-place="def">AddCompletion</a>(<b>const</b> <a href="/source/s?defs=AToken" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AToken</a>, <a href="/source/s?defs=AValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AValue</a>, <a href="/source/s?defs=AComment" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AComment</a>: <a href="/source/s?defs=UnicodeString" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UnicodeString</a>)&#59;
144<a class="l" name="138" href="#138">138</a><span class='fold-space'>&nbsp;</span>begin
145<a class="l" name="139" href="#139">139</a><span class='fold-space'>&nbsp;</span>  <b>if</b> <a href="/source/s?defs=AToken" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AToken</a> &lt;&gt; <span class="s">&apos;<a href="http://example.com">http://example.com</a>&apos;</span> <b>then</b>
146<a class="hl" name="140" href="#140">140</a><span class='fold-space'>&nbsp;</span>  begin
147<a class="l" name="141" href="#141">141</a><span class='fold-space'>&nbsp;</span>    <b>if</b> (<a href="/source/s?defs=FAutoCompleteList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FAutoCompleteList</a>.<a href="/source/s?defs=Count" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Count</a> = <span class="n">0</span>) <b>and</b> (<a href="/source/s?defs=FCompletions" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletions</a>.<a href="/source/s?defs=Count" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Count</a> = <span class="n">0</span>) <b>then</b>
148<a class="l" name="142" href="#142">142</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=FParsed" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FParsed</a> := <a href="/source/s?defs=True" class="intelliWindow-symbol" data-definition-place="undefined-in-file">True</a>&#59;
149<a class="l" name="143" href="#143">143</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FCompletions" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletions</a>.<a href="/source/s?defs=Add" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Add</a>(<a href="/source/s?defs=AToken" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AToken</a>)&#59;
150<a class="l" name="144" href="#144">144</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FCompletionComments" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletionComments</a>.<a href="/source/s?defs=Add" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Add</a>(<a href="/source/s?defs=AComment" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AComment</a>)&#59;
151<a class="l" name="145" href="#145">145</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FCompletionValues" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletionValues</a>.<a href="/source/s?defs=Add" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Add</a>(<a href="/source/s?defs=AValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AValue</a>)&#59;
152<a class="l" name="146" href="#146">146</a><span class='fold-space'>&nbsp;</span>  end&#59;
153<a class="l" name="147" href="#147">147</a><span class='fold-space'>&nbsp;</span>end&#59;
154<a class="l" name="148" href="#148">148</a><span class='fold-space'>&nbsp;</span>
155<span id='scope_id_8bf7491f' class='scope-head'><span class='scope-signature'>AddEditornull</span><a class="l" name="149" href="#149">149</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_8bf7491f_fold_icon'><span class='fold-icon'>&nbsp;</span></a><b>function</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="AddEditor"/><a href="/source/s?refs=AddEditor" class="xf intelliWindow-symbol" data-definition-place="def">AddEditor</a>(<a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>: <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>): <a href="/source/s?defs=Boolean" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Boolean</a>&#59;
156</span><a class="hl" name="150" href="#150">150</a><span class='fold-space'>&nbsp;</span><b>var</b>
157<a class="l" name="151" href="#151">151</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>: <a href="/source/s?defs=Integer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Integer</a>&#59;
158<a class="l" name="152" href="#152">152</a><span class='fold-space'>&nbsp;</span>begin
159<a class="l" name="153" href="#153">153</a><span class='fold-space'>&nbsp;</span>  <b>if</b> <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a> &lt;&gt; <b>nil</b> <b>then</b>
160<a class="l" name="154" href="#154">154</a><span class='fold-space'>&nbsp;</span>  begin
161<a class="l" name="155" href="#155">155</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> := <a href="/source/s?defs=FEditors" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditors</a>.<a href="/source/s?defs=IndexOf" class="intelliWindow-symbol" data-definition-place="undefined-in-file">IndexOf</a>(<a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>)&#59;
162<a class="l" name="156" href="#156">156</a><span class='fold-space'>&nbsp;</span>    <b>if</b> <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> = <span class="n">-1</span> <b>then</b>
163<a class="l" name="157" href="#157">157</a><span class='fold-space'>&nbsp;</span>    begin
164<a class="l" name="158" href="#158">158</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>.<a href="/source/s?defs=FreeNotification" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FreeNotification</a>(<a href="/source/s?defs=Self" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Self</a>)&#59;
165<a class="l" name="159" href="#159">159</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=FEditors" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditors</a>.<a href="/source/s?defs=Add" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Add</a>(<a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>)&#59;
166<a class="hl" name="160" href="#160">160</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>.<a href="/source/s?defs=RegisterCommandHandler" class="intelliWindow-symbol" data-definition-place="undefined-in-file">RegisterCommandHandler</a>(<a href="/source/s?defs=SynEditCommandHandler" class="intelliWindow-symbol" data-definition-place="undefined-in-file">SynEditCommandHandler</a>, <b>nil</b>)&#59;
167<a class="l" name="161" href="#161">161</a><span class='fold-space'>&nbsp;</span>    end&#59;
168<a class="l" name="162" href="#162">162</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=Result" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Result</a> := <a href="/source/s?defs=True" class="intelliWindow-symbol" data-definition-place="undefined-in-file">True</a>&#59;
169<a class="l" name="163" href="#163">163</a><span class='fold-space'>&nbsp;</span>  end
170<a class="l" name="164" href="#164">164</a><span class='fold-space'>&nbsp;</span>  <b>else</b>
171<a class="l" name="165" href="#165">165</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=Result" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Result</a> := <a href="/source/s?defs=False" class="intelliWindow-symbol" data-definition-place="undefined-in-file">False</a>&#59;
172<a class="l" name="166" href="#166">166</a><span class='fold-space'>&nbsp;</span>end&#59;
173<a class="l" name="167" href="#167">167</a><span class='fold-space'>&nbsp;</span>
174<a class="l" name="168" href="#168">168</a><span class='fold-space'>&nbsp;</span><b>procedure</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="CompletionListChanged"/><a href="/source/s?refs=CompletionListChanged" class="xf intelliWindow-symbol" data-definition-place="def">CompletionListChanged</a>(<a href="/source/s?defs=Sender" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Sender</a>: <a href="/source/s?defs=TObject" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TObject</a>)&#59;
175<a class="l" name="169" href="#169">169</a><span class='fold-space'>&nbsp;</span>begin
176<a class="hl" name="170" href="#170">170</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FParsed" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FParsed</a> := <a href="/source/s?defs=False" class="intelliWindow-symbol" data-definition-place="undefined-in-file">False</a>&#59;
177<a class="l" name="171" href="#171">171</a><span class='fold-space'>&nbsp;</span>end&#59;
178<a class="l" name="172" href="#172">172</a><span class='fold-space'>&nbsp;</span>
179<a class="l" name="173" href="#173">173</a><span class='fold-space'>&nbsp;</span><b>constructor</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="d intelliWindow-symbol" href="#Create" data-definition-place="defined-in-file">Create</a>(<a href="/source/s?defs=AOwner" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AOwner</a>: <a href="/source/s?defs=TComponent" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TComponent</a>)&#59;
180<a class="l" name="174" href="#174">174</a><span class='fold-space'>&nbsp;</span>begin
181<a class="l" name="175" href="#175">175</a><span class='fold-space'>&nbsp;</span>  <b>inherited</b> <a class="d intelliWindow-symbol" href="#Create" data-definition-place="defined-in-file">Create</a>(<a href="/source/s?defs=AOwner" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AOwner</a>)&#59;
182<a class="l" name="176" href="#176">176</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FAutoCompleteList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FAutoCompleteList</a> := <a href="/source/s?defs=TUnicodeStringList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStringList</a>.<a class="d intelliWindow-symbol" href="#Create" data-definition-place="defined-in-file">Create</a>&#59;
183<a class="l" name="177" href="#177">177</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=TUnicodeStringList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStringList</a>(<a href="/source/s?defs=FAutoCompleteList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FAutoCompleteList</a>).<a href="/source/s?defs=OnChange" class="intelliWindow-symbol" data-definition-place="undefined-in-file">OnChange</a> := <a href="/source/s?defs=CompletionListChanged" class="intelliWindow-symbol" data-definition-place="undefined-in-file">CompletionListChanged</a>&#59;
184<a class="l" name="178" href="#178">178</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FCompletions" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletions</a> := <a href="/source/s?defs=TUnicodeStringList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStringList</a>.<a class="d intelliWindow-symbol" href="#Create" data-definition-place="defined-in-file">Create</a>&#59;
185<a class="l" name="179" href="#179">179</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FCompletionComments" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletionComments</a> := <a href="/source/s?defs=TUnicodeStringList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStringList</a>.<a class="d intelliWindow-symbol" href="#Create" data-definition-place="defined-in-file">Create</a>&#59;
186<a class="hl" name="180" href="#180">180</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FCompletionValues" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletionValues</a> := <a href="/source/s?defs=TUnicodeStringList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStringList</a>.<a class="d intelliWindow-symbol" href="#Create" data-definition-place="defined-in-file">Create</a>&#59;
187<a class="l" name="181" href="#181">181</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FEditors" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditors</a> := <a href="/source/s?defs=TList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TList</a>.<a class="d intelliWindow-symbol" href="#Create" data-definition-place="defined-in-file">Create</a>&#59;
188<a class="l" name="182" href="#182">182</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FEOTokenChars" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEOTokenChars</a> := <span class="s">&apos;()[]{}.&apos;&apos;&apos;</span>&#59;
189<a class="l" name="183" href="#183">183</a><span class='fold-space'>&nbsp;</span>end&#59;
190<a class="l" name="184" href="#184">184</a><span class='fold-space'>&nbsp;</span>
191<a class="l" name="185" href="#185">185</a><span class='fold-space'>&nbsp;</span><b>destructor</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="d intelliWindow-symbol" href="#Destroy" data-definition-place="defined-in-file">Destroy</a>&#59;
192<a class="l" name="186" href="#186">186</a><span class='fold-space'>&nbsp;</span>begin
193<a class="l" name="187" href="#187">187</a><span class='fold-space'>&nbsp;</span>  <a class="d intelliWindow-symbol" href="#Editor" data-definition-place="defined-in-file">Editor</a> := <b>nil</b>&#59;
194<a class="l" name="188" href="#188">188</a><span class='fold-space'>&nbsp;</span>  <b>while</b> <a class="d intelliWindow-symbol" href="#EditorCount" data-definition-place="defined-in-file">EditorCount</a> &gt; <span class="n">0</span> <b>do</b>
195<a class="l" name="189" href="#189">189</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=RemoveEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">RemoveEditor</a>(<a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>(<a href="/source/s?defs=FEditors" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditors</a>.<a href="/source/s?defs=Last" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Last</a>))&#59;
196<a class="hl" name="190" href="#190">190</a><span class='fold-space'>&nbsp;</span>
197<a class="l" name="191" href="#191">191</a><span class='fold-space'>&nbsp;</span>  <b>inherited</b> <a class="d intelliWindow-symbol" href="#Destroy" data-definition-place="defined-in-file">Destroy</a>&#59;
198<a class="l" name="192" href="#192">192</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FEditors" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditors</a>.<a href="/source/s?defs=Free" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Free</a>&#59;
199<a class="l" name="193" href="#193">193</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FCompletions" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletions</a>.<a href="/source/s?defs=Free" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Free</a>&#59;
200<a class="l" name="194" href="#194">194</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FCompletionComments" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletionComments</a>.<a href="/source/s?defs=Free" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Free</a>&#59;
201<a class="l" name="195" href="#195">195</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FCompletionValues" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletionValues</a>.<a href="/source/s?defs=Free" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Free</a>&#59;
202<a class="l" name="196" href="#196">196</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FAutoCompleteList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FAutoCompleteList</a>.<a href="/source/s?defs=Free" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Free</a>&#59;
203<a class="l" name="197" href="#197">197</a><span class='fold-space'>&nbsp;</span>end&#59;
204<a class="l" name="198" href="#198">198</a><span class='fold-space'>&nbsp;</span>
205<a class="l" name="199" href="#199">199</a><span class='fold-space'>&nbsp;</span><b>procedure</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="DefineProperties"/><a href="/source/s?refs=DefineProperties" class="xf intelliWindow-symbol" data-definition-place="def">DefineProperties</a>(<a href="/source/s?defs=Filer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Filer</a>: <a href="/source/s?defs=TFiler" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TFiler</a>)&#59;
206<a class="hl" name="200" href="#200">200</a><span class='fold-space'>&nbsp;</span>begin
207<a class="l" name="201" href="#201">201</a><span class='fold-space'>&nbsp;</span>  <b>inherited</b>&#59;
208<a class="l" name="202" href="#202">202</a><span class='fold-space'>&nbsp;</span><span class="c">{$IFNDEF UNICODE}</span>
209<a class="l" name="203" href="#203">203</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=UnicodeDefineProperties" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UnicodeDefineProperties</a>(<a href="/source/s?defs=Filer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Filer</a>, <a href="/source/s?defs=Self" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Self</a>)&#59;
210<a class="l" name="204" href="#204">204</a><span class='fold-space'>&nbsp;</span><span class="c">{$ENDIF}</span>
211<a class="l" name="205" href="#205">205</a><span class='fold-space'>&nbsp;</span>end&#59;
212<a class="l" name="206" href="#206">206</a><span class='fold-space'>&nbsp;</span>
213<a class="l" name="207" href="#207">207</a><span class='fold-space'>&nbsp;</span><b>procedure</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="Execute"/><a href="/source/s?refs=Execute" class="xf intelliWindow-symbol" data-definition-place="def">Execute</a>(<a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>: <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>)&#59;
214<a class="l" name="208" href="#208">208</a><span class='fold-space'>&nbsp;</span><b>var</b>
215<a class="l" name="209" href="#209">209</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>: <a href="/source/s?defs=UnicodeString" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UnicodeString</a>&#59;
216<a class="hl" name="210" href="#210">210</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>, <a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a>: <a href="/source/s?defs=Integer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Integer</a>&#59;
217<a class="l" name="211" href="#211">211</a><span class='fold-space'>&nbsp;</span>begin
218<a class="l" name="212" href="#212">212</a><span class='fold-space'>&nbsp;</span>  <b>if</b> <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a> &lt;&gt; <b>nil</b> <b>then</b>
219<a class="l" name="213" href="#213">213</a><span class='fold-space'>&nbsp;</span>  begin
220<a class="l" name="214" href="#214">214</a><span class='fold-space'>&nbsp;</span>    <span class="c">// get token</span>
221<a class="l" name="215" href="#215">215</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a> := <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>.<a href="/source/s?defs=LineText" class="intelliWindow-symbol" data-definition-place="undefined-in-file">LineText</a>&#59;
222<a class="l" name="216" href="#216">216</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a> := <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>.<a href="/source/s?defs=CaretX" class="intelliWindow-symbol" data-definition-place="undefined-in-file">CaretX</a>&#59;
223<a class="l" name="217" href="#217">217</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> := <a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a> - <span class="n">1</span>&#59;
224<a class="l" name="218" href="#218">218</a><span class='fold-space'>&nbsp;</span>    <b>if</b> <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> &lt;= <a href="/source/s?defs=Length" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Length</a>(<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>) <b>then</b>
225<a class="l" name="219" href="#219">219</a><span class='fold-space'>&nbsp;</span>    begin
226<a class="hl" name="220" href="#220">220</a><span class='fold-space'>&nbsp;</span>      <b>while</b> (<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> &gt; <span class="n">0</span>) <b>and</b> (<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>] &gt; <span class="s">&apos; &apos;</span>) <b>and</b> (<a href="/source/s?defs=Pos" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Pos</a>(<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>], <a href="/source/s?defs=FEOTokenChars" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEOTokenChars</a>) = <span class="n">0</span>) <b>do</b>
227<a class="l" name="221" href="#221">221</a><span class='fold-space'>&nbsp;</span>        <a href="/source/s?defs=Dec" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Dec</a>(<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>)&#59;
228<a class="l" name="222" href="#222">222</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=Inc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Inc</a>(<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>)&#59;
229<a class="l" name="223" href="#223">223</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a> := <a href="/source/s?defs=Copy" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Copy</a>(<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>, <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>, <a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a> - <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>)&#59;
230<a class="l" name="224" href="#224">224</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=ExecuteCompletion" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ExecuteCompletion</a>(<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>, <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>)&#59;
231<a class="l" name="225" href="#225">225</a><span class='fold-space'>&nbsp;</span>    end&#59;
232<a class="l" name="226" href="#226">226</a><span class='fold-space'>&nbsp;</span>  end&#59;
233<a class="l" name="227" href="#227">227</a><span class='fold-space'>&nbsp;</span>end&#59;
234<a class="l" name="228" href="#228">228</a><span class='fold-space'>&nbsp;</span>
235<a class="l" name="229" href="#229">229</a><span class='fold-space'>&nbsp;</span><b>procedure</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="ExecuteCompletion"/><a href="/source/s?refs=ExecuteCompletion" class="xf intelliWindow-symbol" data-definition-place="def">ExecuteCompletion</a>(<b>const</b> <a href="/source/s?defs=AToken" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AToken</a>: <a href="/source/s?defs=UnicodeString" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UnicodeString</a>&#59;
236<a class="hl" name="230" href="#230">230</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>: <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>)&#59;
237<a class="l" name="231" href="#231">231</a><span class='fold-space'>&nbsp;</span><b>var</b>
238<a class="l" name="232" href="#232">232</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>, <a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a>, <a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a>, <a href="/source/s?defs=IndentLen" class="intelliWindow-symbol" data-definition-place="undefined-in-file">IndentLen</a>: <a href="/source/s?defs=Integer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Integer</a>&#59;
239<a class="l" name="233" href="#233">233</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>: <a href="/source/s?defs=UnicodeString" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UnicodeString</a>&#59;
240<a class="l" name="234" href="#234">234</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=IdxMaybe" class="intelliWindow-symbol" data-definition-place="undefined-in-file">IdxMaybe</a>, <a href="/source/s?defs=NumMaybe" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NumMaybe</a>: <a href="/source/s?defs=Integer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Integer</a>&#59;
241<a class="l" name="235" href="#235">235</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=p" class="intelliWindow-symbol" data-definition-place="undefined-in-file">p</a>: <a href="/source/s?defs=TBufferCoord" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TBufferCoord</a>&#59;
242<a class="l" name="236" href="#236">236</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=NewCaretPos" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NewCaretPos</a>: <a href="/source/s?defs=Boolean" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Boolean</a>&#59;
243<a class="l" name="237" href="#237">237</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=Temp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Temp</a>: <a href="/source/s?defs=TUnicodeStringList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStringList</a>&#59;
244<a class="l" name="238" href="#238">238</a><span class='fold-space'>&nbsp;</span>begin
245<a class="l" name="239" href="#239">239</a><span class='fold-space'>&nbsp;</span>  <b>if</b> <b>not</b> <a href="/source/s?defs=FParsed" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FParsed</a> <b>then</b>
246<a class="hl" name="240" href="#240">240</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=ParseCompletionList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ParseCompletionList</a>&#59;
247<a class="l" name="241" href="#241">241</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a> := <a href="/source/s?defs=Length" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Length</a>(<a href="/source/s?defs=AToken" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AToken</a>)&#59;
248<a class="l" name="242" href="#242">242</a><span class='fold-space'>&nbsp;</span>  <b>if</b> (<a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a> &gt; <span class="n">0</span>) <b>and</b> (<a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a> &lt;&gt; <b>nil</b>) <b>and</b> <b>not</b> <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>.<a href="/source/s?defs=ReadOnly" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ReadOnly</a>
249<a class="l" name="243" href="#243">243</a><span class='fold-space'>&nbsp;</span>    <b>and</b> (<a href="/source/s?defs=FCompletions" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletions</a>.<a href="/source/s?defs=Count" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Count</a> &gt; <span class="n">0</span>) <b>then</b>
250<a class="l" name="244" href="#244">244</a><span class='fold-space'>&nbsp;</span>  begin
251<a class="l" name="245" href="#245">245</a><span class='fold-space'>&nbsp;</span>    <span class="c">// find completion for this token - not all chars necessary if unambiguous</span>
252<a class="l" name="246" href="#246">246</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> := <a href="/source/s?defs=FCompletions" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletions</a>.<a href="/source/s?defs=Count" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Count</a> - <span class="n">1</span>&#59;
253<a class="l" name="247" href="#247">247</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=IdxMaybe" class="intelliWindow-symbol" data-definition-place="undefined-in-file">IdxMaybe</a> := <span class="n">-1</span>&#59;
254<a class="l" name="248" href="#248">248</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=NumMaybe" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NumMaybe</a> := <span class="n">0</span>&#59;
255<a class="l" name="249" href="#249">249</a><span class='fold-space'>&nbsp;</span>    <b>if</b> <a href="/source/s?defs=FCaseSensitive" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCaseSensitive</a> <b>then</b>
256<a class="hl" name="250" href="#250">250</a><span class='fold-space'>&nbsp;</span>    begin
257<a class="l" name="251" href="#251">251</a><span class='fold-space'>&nbsp;</span>      <b>while</b> <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> &gt; <span class="n">-1</span> <b>do</b>
258<a class="l" name="252" href="#252">252</a><span class='fold-space'>&nbsp;</span>      begin
259<a class="l" name="253" href="#253">253</a><span class='fold-space'>&nbsp;</span>        <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a> := <a href="/source/s?defs=FCompletions" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletions</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>]&#59;
260<a class="l" name="254" href="#254">254</a><span class='fold-space'>&nbsp;</span>        <b>if</b> <a href="/source/s?defs=WideCompareStr" class="intelliWindow-symbol" data-definition-place="undefined-in-file">WideCompareStr</a>(<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>, <a href="/source/s?defs=AToken" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AToken</a>) = <span class="n">0</span> <b>then</b>
261<a class="l" name="255" href="#255">255</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=Break" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Break</a>
262<a class="l" name="256" href="#256">256</a><span class='fold-space'>&nbsp;</span>        <b>else</b> <b>if</b> <a href="/source/s?defs=WideCompareStr" class="intelliWindow-symbol" data-definition-place="undefined-in-file">WideCompareStr</a>(<a href="/source/s?defs=Copy" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Copy</a>(<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>, <span class="n">1</span>, <a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a>), <a href="/source/s?defs=AToken" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AToken</a>) = <span class="n">0</span> <b>then</b>
263<a class="l" name="257" href="#257">257</a><span class='fold-space'>&nbsp;</span>        begin
264<a class="l" name="258" href="#258">258</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=Inc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Inc</a>(<a href="/source/s?defs=NumMaybe" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NumMaybe</a>)&#59;
265<a class="l" name="259" href="#259">259</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=IdxMaybe" class="intelliWindow-symbol" data-definition-place="undefined-in-file">IdxMaybe</a> := <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>&#59;
266<a class="hl" name="260" href="#260">260</a><span class='fold-space'>&nbsp;</span>        end&#59;
267<a class="l" name="261" href="#261">261</a><span class='fold-space'>&nbsp;</span>        <a href="/source/s?defs=Dec" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Dec</a>(<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>)&#59;
268<a class="l" name="262" href="#262">262</a><span class='fold-space'>&nbsp;</span>      end&#59;
269<a class="l" name="263" href="#263">263</a><span class='fold-space'>&nbsp;</span>    end
270<a class="l" name="264" href="#264">264</a><span class='fold-space'>&nbsp;</span>    <b>else</b>
271<a class="l" name="265" href="#265">265</a><span class='fold-space'>&nbsp;</span>    begin
272<a class="l" name="266" href="#266">266</a><span class='fold-space'>&nbsp;</span>      <b>while</b> <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> &gt; <span class="n">-1</span> <b>do</b>
273<a class="l" name="267" href="#267">267</a><span class='fold-space'>&nbsp;</span>      begin
274<a class="l" name="268" href="#268">268</a><span class='fold-space'>&nbsp;</span>        <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a> := <a href="/source/s?defs=FCompletions" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletions</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>]&#59;
275<a class="l" name="269" href="#269">269</a><span class='fold-space'>&nbsp;</span>        <b>if</b> <a href="/source/s?defs=WideCompareText" class="intelliWindow-symbol" data-definition-place="undefined-in-file">WideCompareText</a>(<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>, <a href="/source/s?defs=AToken" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AToken</a>) = <span class="n">0</span> <b>then</b>
276<a class="hl" name="270" href="#270">270</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=Break" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Break</a>
277<a class="l" name="271" href="#271">271</a><span class='fold-space'>&nbsp;</span>        <b>else</b> <b>if</b> <a href="/source/s?defs=WideCompareText" class="intelliWindow-symbol" data-definition-place="undefined-in-file">WideCompareText</a>(<a href="/source/s?defs=Copy" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Copy</a>(<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>, <span class="n">1</span>, <a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a>), <a href="/source/s?defs=AToken" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AToken</a>) = <span class="n">0</span> <b>then</b>
278<a class="l" name="272" href="#272">272</a><span class='fold-space'>&nbsp;</span>        begin
279<a class="l" name="273" href="#273">273</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=Inc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Inc</a>(<a href="/source/s?defs=NumMaybe" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NumMaybe</a>)&#59;
280<a class="l" name="274" href="#274">274</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=IdxMaybe" class="intelliWindow-symbol" data-definition-place="undefined-in-file">IdxMaybe</a> := <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>&#59;
281<a class="l" name="275" href="#275">275</a><span class='fold-space'>&nbsp;</span>        end&#59;
282<a class="l" name="276" href="#276">276</a><span class='fold-space'>&nbsp;</span>        <a href="/source/s?defs=Dec" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Dec</a>(<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>)&#59;
283<a class="l" name="277" href="#277">277</a><span class='fold-space'>&nbsp;</span>      end&#59;
284<a class="l" name="278" href="#278">278</a><span class='fold-space'>&nbsp;</span>    end&#59;
285<a class="l" name="279" href="#279">279</a><span class='fold-space'>&nbsp;</span>    <b>if</b> (<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> = <span class="n">-1</span>) <b>and</b> (<a href="/source/s?defs=NumMaybe" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NumMaybe</a> = <span class="n">1</span>) <b>then</b>
286<a class="hl" name="280" href="#280">280</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> := <a href="/source/s?defs=IdxMaybe" class="intelliWindow-symbol" data-definition-place="undefined-in-file">IdxMaybe</a>&#59;
287<a class="l" name="281" href="#281">281</a><span class='fold-space'>&nbsp;</span>    <b>if</b> <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> &gt; <span class="n">-1</span> <b>then</b>
288<a class="l" name="282" href="#282">282</a><span class='fold-space'>&nbsp;</span>    begin
289<a class="l" name="283" href="#283">283</a><span class='fold-space'>&nbsp;</span>      <span class="c">// select token in editor</span>
290<a class="l" name="284" href="#284">284</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=p" class="intelliWindow-symbol" data-definition-place="undefined-in-file">p</a> := <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>.<a href="/source/s?defs=CaretXY" class="intelliWindow-symbol" data-definition-place="undefined-in-file">CaretXY</a>&#59;
291<a class="l" name="285" href="#285">285</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>.<a href="/source/s?defs=BeginUpdate" class="intelliWindow-symbol" data-definition-place="undefined-in-file">BeginUpdate</a>&#59;
292<a class="l" name="286" href="#286">286</a><span class='fold-space'>&nbsp;</span>      <b>try</b>
293<a class="l" name="287" href="#287">287</a><span class='fold-space'>&nbsp;</span>        <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>.<a href="/source/s?defs=BlockBegin" class="intelliWindow-symbol" data-definition-place="undefined-in-file">BlockBegin</a> := <a href="/source/s?defs=BufferCoord" class="intelliWindow-symbol" data-definition-place="undefined-in-file">BufferCoord</a>(<a href="/source/s?defs=p" class="intelliWindow-symbol" data-definition-place="undefined-in-file">p</a>.<a href="/source/s?defs=Char" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Char</a> - <a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a>, <a href="/source/s?defs=p" class="intelliWindow-symbol" data-definition-place="undefined-in-file">p</a>.<a href="/source/s?defs=Line" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Line</a>)&#59;
294<a class="l" name="288" href="#288">288</a><span class='fold-space'>&nbsp;</span>        <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>.<a href="/source/s?defs=BlockEnd" class="intelliWindow-symbol" data-definition-place="undefined-in-file">BlockEnd</a> := <a href="/source/s?defs=p" class="intelliWindow-symbol" data-definition-place="undefined-in-file">p</a>&#59;
295<a class="l" name="289" href="#289">289</a><span class='fold-space'>&nbsp;</span>        <span class="c">// indent the completion string if necessary, determine the caret pos</span>
296<a class="hl" name="290" href="#290">290</a><span class='fold-space'>&nbsp;</span>        <a href="/source/s?defs=IndentLen" class="intelliWindow-symbol" data-definition-place="undefined-in-file">IndentLen</a> := <a href="/source/s?defs=p" class="intelliWindow-symbol" data-definition-place="undefined-in-file">p</a>.<a href="/source/s?defs=Char" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Char</a> - <a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a> - <span class="n">1</span>&#59;
297<a class="l" name="291" href="#291">291</a><span class='fold-space'>&nbsp;</span>        <a href="/source/s?defs=p" class="intelliWindow-symbol" data-definition-place="undefined-in-file">p</a> := <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>.<a href="/source/s?defs=BlockBegin" class="intelliWindow-symbol" data-definition-place="undefined-in-file">BlockBegin</a>&#59;
298<a class="l" name="292" href="#292">292</a><span class='fold-space'>&nbsp;</span>        <a href="/source/s?defs=NewCaretPos" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NewCaretPos</a> := <a href="/source/s?defs=False" class="intelliWindow-symbol" data-definition-place="undefined-in-file">False</a>&#59;
299<a class="l" name="293" href="#293">293</a><span class='fold-space'>&nbsp;</span>        <a href="/source/s?defs=Temp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Temp</a> := <a href="/source/s?defs=TUnicodeStringList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStringList</a>.<a class="d intelliWindow-symbol" href="#Create" data-definition-place="defined-in-file">Create</a>&#59;
300<a class="l" name="294" href="#294">294</a><span class='fold-space'>&nbsp;</span>        <b>try</b>
301<a class="l" name="295" href="#295">295</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=Temp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Temp</a>.<a href="/source/s?defs=Text" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Text</a> := <a href="/source/s?defs=FCompletionValues" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletionValues</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>]&#59;
302<a class="l" name="296" href="#296">296</a><span class='fold-space'>&nbsp;</span>          <span class="c">// indent lines</span>
303<a class="l" name="297" href="#297">297</a><span class='fold-space'>&nbsp;</span>          <b>if</b> (<a href="/source/s?defs=IndentLen" class="intelliWindow-symbol" data-definition-place="undefined-in-file">IndentLen</a> &gt; <span class="n">0</span>) <b>and</b> (<a href="/source/s?defs=Temp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Temp</a>.<a href="/source/s?defs=Count" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Count</a> &gt; <span class="n">1</span>) <b>then</b>
304<a class="l" name="298" href="#298">298</a><span class='fold-space'>&nbsp;</span>          begin
305<a class="l" name="299" href="#299">299</a><span class='fold-space'>&nbsp;</span>            <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a> := <a href="/source/s?defs=UnicodeStringOfChar" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UnicodeStringOfChar</a>(<span class="s">&apos; &apos;</span>, <a href="/source/s?defs=IndentLen" class="intelliWindow-symbol" data-definition-place="undefined-in-file">IndentLen</a>)&#59;
306<a class="hl" name="300" href="#300">300</a><span class='fold-space'>&nbsp;</span>            <b>for</b> <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> := <span class="n">1</span> <b>to</b> <a href="/source/s?defs=Temp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Temp</a>.<a href="/source/s?defs=Count" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Count</a> - <span class="n">1</span> <b>do</b>
307<a class="l" name="301" href="#301">301</a><span class='fold-space'>&nbsp;</span>              <a href="/source/s?defs=Temp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Temp</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>] := <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a> + <a href="/source/s?defs=Temp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Temp</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>]&#59;
308<a class="l" name="302" href="#302">302</a><span class='fold-space'>&nbsp;</span>          end&#59;
309<a class="l" name="303" href="#303">303</a><span class='fold-space'>&nbsp;</span>          <span class="c">// find first &apos;|&apos; and use it as caret position</span>
310<a class="l" name="304" href="#304">304</a><span class='fold-space'>&nbsp;</span>          <b>for</b> <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> := <span class="n">0</span> <b>to</b> <a href="/source/s?defs=Temp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Temp</a>.<a href="/source/s?defs=Count" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Count</a> - <span class="n">1</span> <b>do</b>
311<a class="l" name="305" href="#305">305</a><span class='fold-space'>&nbsp;</span>          begin
312<a class="l" name="306" href="#306">306</a><span class='fold-space'>&nbsp;</span>            <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a> := <a href="/source/s?defs=Temp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Temp</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>]&#59;
313<a class="l" name="307" href="#307">307</a><span class='fold-space'>&nbsp;</span>            <a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a> := <a href="/source/s?defs=Pos" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Pos</a>(<span class="s">&apos;|&apos;</span>, <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>)&#59;
314<a class="l" name="308" href="#308">308</a><span class='fold-space'>&nbsp;</span>            <b>if</b> <a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a> &gt; <span class="n">0</span> <b>then</b>
315<a class="l" name="309" href="#309">309</a><span class='fold-space'>&nbsp;</span>            begin
316<a class="hl" name="310" href="#310">310</a><span class='fold-space'>&nbsp;</span>              <a href="/source/s?defs=Delete" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Delete</a>(<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>, <a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a>, <span class="n">1</span>)&#59;
317<a class="l" name="311" href="#311">311</a><span class='fold-space'>&nbsp;</span>              <a href="/source/s?defs=Temp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Temp</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>] := <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>&#59;
318<a class="l" name="312" href="#312">312</a><span class='fold-space'>&nbsp;</span><span class="c">//              if j &gt; 1 then</span>
319<a class="l" name="313" href="#313">313</a><span class='fold-space'>&nbsp;</span><span class="c">//                Dec(j);</span>
320<a class="l" name="314" href="#314">314</a><span class='fold-space'>&nbsp;</span>              <a href="/source/s?defs=NewCaretPos" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NewCaretPos</a> := <a href="/source/s?defs=True" class="intelliWindow-symbol" data-definition-place="undefined-in-file">True</a>&#59;
321<a class="l" name="315" href="#315">315</a><span class='fold-space'>&nbsp;</span>              <a href="/source/s?defs=Inc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Inc</a>(<a href="/source/s?defs=p" class="intelliWindow-symbol" data-definition-place="undefined-in-file">p</a>.<a href="/source/s?defs=Line" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Line</a>, <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>)&#59;
322<a class="l" name="316" href="#316">316</a><span class='fold-space'>&nbsp;</span>              <b>if</b> <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> = <span class="n">0</span> <b>then</b>
323<a class="l" name="317" href="#317">317</a><span class='fold-space'>&nbsp;</span><span class="c">//                Inc(p.x, j)</span>
324<a class="l" name="318" href="#318">318</a><span class='fold-space'>&nbsp;</span>                <a href="/source/s?defs=Inc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Inc</a>(<a href="/source/s?defs=p" class="intelliWindow-symbol" data-definition-place="undefined-in-file">p</a>.<a href="/source/s?defs=Char" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Char</a>, <a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a> - <span class="n">1</span>)
325<a class="l" name="319" href="#319">319</a><span class='fold-space'>&nbsp;</span>              <b>else</b>
326<a class="hl" name="320" href="#320">320</a><span class='fold-space'>&nbsp;</span>                <a href="/source/s?defs=p" class="intelliWindow-symbol" data-definition-place="undefined-in-file">p</a>.<a href="/source/s?defs=Char" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Char</a> := <a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a>&#59;
327<a class="l" name="321" href="#321">321</a><span class='fold-space'>&nbsp;</span>              <a href="/source/s?defs=Break" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Break</a>&#59;
328<a class="l" name="322" href="#322">322</a><span class='fold-space'>&nbsp;</span>            end&#59;
329<a class="l" name="323" href="#323">323</a><span class='fold-space'>&nbsp;</span>          end&#59;
330<a class="l" name="324" href="#324">324</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a> := <a href="/source/s?defs=Temp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Temp</a>.<a href="/source/s?defs=Text" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Text</a>&#59;
331<a class="l" name="325" href="#325">325</a><span class='fold-space'>&nbsp;</span>          <span class="c">// strip the trailing #13#10 that was appended by the stringlist</span>
332<a class="l" name="326" href="#326">326</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> := <a href="/source/s?defs=Length" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Length</a>(<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>)&#59;
333<a class="l" name="327" href="#327">327</a><span class='fold-space'>&nbsp;</span>          <b>if</b> (<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> &gt;= <span class="n">2</span>) <b>and</b> (<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> - <span class="n">1</span>] = <span class="s">#13</span>) <b>and</b> (<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>] = <span class="s">#10</span>) <b>then</b>
334<a class="l" name="328" href="#328">328</a><span class='fold-space'>&nbsp;</span>            <a href="/source/s?defs=SetLength" class="intelliWindow-symbol" data-definition-place="undefined-in-file">SetLength</a>(<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>, <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> - <span class="n">2</span>)&#59;
335<a class="l" name="329" href="#329">329</a><span class='fold-space'>&nbsp;</span>        <b>finally</b>
336<a class="hl" name="330" href="#330">330</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=Temp" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Temp</a>.<a href="/source/s?defs=Free" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Free</a>&#59;
337<a class="l" name="331" href="#331">331</a><span class='fold-space'>&nbsp;</span>        end&#59;
338<a class="l" name="332" href="#332">332</a><span class='fold-space'>&nbsp;</span>        <span class="c">// replace the selected text and position the caret</span>
339<a class="l" name="333" href="#333">333</a><span class='fold-space'>&nbsp;</span>        <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>.<a href="/source/s?defs=SelText" class="intelliWindow-symbol" data-definition-place="undefined-in-file">SelText</a> := <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>&#59;
340<a class="l" name="334" href="#334">334</a><span class='fold-space'>&nbsp;</span>        <b>if</b> <a href="/source/s?defs=NewCaretPos" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NewCaretPos</a> <b>then</b>
341<a class="l" name="335" href="#335">335</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>.<a href="/source/s?defs=CaretXY" class="intelliWindow-symbol" data-definition-place="undefined-in-file">CaretXY</a> := <a href="/source/s?defs=p" class="intelliWindow-symbol" data-definition-place="undefined-in-file">p</a>&#59;
342<a class="l" name="336" href="#336">336</a><span class='fold-space'>&nbsp;</span>      <b>finally</b>
343<a class="l" name="337" href="#337">337</a><span class='fold-space'>&nbsp;</span>        <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>.<a href="/source/s?defs=EndUpdate" class="intelliWindow-symbol" data-definition-place="undefined-in-file">EndUpdate</a>&#59;
344<a class="l" name="338" href="#338">338</a><span class='fold-space'>&nbsp;</span>      end&#59;
345<a class="l" name="339" href="#339">339</a><span class='fold-space'>&nbsp;</span>    end&#59;
346<a class="hl" name="340" href="#340">340</a><span class='fold-space'>&nbsp;</span>  end&#59;
347<a class="l" name="341" href="#341">341</a><span class='fold-space'>&nbsp;</span>end&#59;
348<a class="l" name="342" href="#342">342</a><span class='fold-space'>&nbsp;</span>
349<span id='scope_id_6fcfd5d9' class='scope-head'><span class='scope-signature'>TCustomSynAutoComplete.GetCompletionsnull</span><a class="l" name="343" href="#343">343</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_6fcfd5d9_fold_icon'><span class='fold-icon'>&nbsp;</span></a><b>function</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="GetCompletions"/><a href="/source/s?refs=GetCompletions" class="xf intelliWindow-symbol" data-definition-place="def">GetCompletions</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a>&#59;
350</span><a class="l" name="344" href="#344">344</a><span class='fold-space'>&nbsp;</span>begin
351<a class="l" name="345" href="#345">345</a><span class='fold-space'>&nbsp;</span>  <b>if</b> <b>not</b> <a href="/source/s?defs=FParsed" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FParsed</a> <b>then</b>
352<a class="l" name="346" href="#346">346</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=ParseCompletionList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ParseCompletionList</a>&#59;
353<a class="l" name="347" href="#347">347</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=Result" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Result</a> := <a href="/source/s?defs=FCompletions" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletions</a>&#59;
354<a class="l" name="348" href="#348">348</a><span class='fold-space'>&nbsp;</span>end&#59;
355<a class="l" name="349" href="#349">349</a><span class='fold-space'>&nbsp;</span>
356<span id='scope_id_1a60bb78' class='scope-head'><span class='scope-signature'>TCustomSynAutoComplete.GetCompletionCommentsnull</span><a class="hl" name="350" href="#350">350</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_1a60bb78_fold_icon'><span class='fold-icon'>&nbsp;</span></a><b>function</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="GetCompletionComments"/><a href="/source/s?refs=GetCompletionComments" class="xf intelliWindow-symbol" data-definition-place="def">GetCompletionComments</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a>&#59;
357</span><a class="l" name="351" href="#351">351</a><span class='fold-space'>&nbsp;</span>begin
358<a class="l" name="352" href="#352">352</a><span class='fold-space'>&nbsp;</span>  <b>if</b> <b>not</b> <a href="/source/s?defs=FParsed" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FParsed</a> <b>then</b>
359<a class="l" name="353" href="#353">353</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=ParseCompletionList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ParseCompletionList</a>&#59;
360<a class="l" name="354" href="#354">354</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=Result" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Result</a> := <a href="/source/s?defs=FCompletionComments" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletionComments</a>&#59;
361<a class="l" name="355" href="#355">355</a><span class='fold-space'>&nbsp;</span>end&#59;
362<a class="l" name="356" href="#356">356</a><span class='fold-space'>&nbsp;</span>
363<span id='scope_id_fc49aad' class='scope-head'><span class='scope-signature'>TCustomSynAutoComplete.GetCompletionValuesnull</span><a class="l" name="357" href="#357">357</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_fc49aad_fold_icon'><span class='fold-icon'>&nbsp;</span></a><b>function</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="GetCompletionValues"/><a href="/source/s?refs=GetCompletionValues" class="xf intelliWindow-symbol" data-definition-place="def">GetCompletionValues</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a>&#59;
364</span><a class="l" name="358" href="#358">358</a><span class='fold-space'>&nbsp;</span>begin
365<a class="l" name="359" href="#359">359</a><span class='fold-space'>&nbsp;</span>  <b>if</b> <b>not</b> <a href="/source/s?defs=FParsed" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FParsed</a> <b>then</b>
366<a class="hl" name="360" href="#360">360</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=ParseCompletionList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ParseCompletionList</a>&#59;
367<a class="l" name="361" href="#361">361</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=Result" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Result</a> := <a href="/source/s?defs=FCompletionValues" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletionValues</a>&#59;
368<a class="l" name="362" href="#362">362</a><span class='fold-space'>&nbsp;</span>end&#59;
369<a class="l" name="363" href="#363">363</a><span class='fold-space'>&nbsp;</span>
370<span id='scope_id_17abae85' class='scope-head'><span class='scope-signature'>TCustomSynAutoComplete.GetEditorCountnull</span><a class="l" name="364" href="#364">364</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_17abae85_fold_icon'><span class='fold-icon'>&nbsp;</span></a><b>function</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="GetEditorCount"/><a href="/source/s?refs=GetEditorCount" class="xf intelliWindow-symbol" data-definition-place="def">GetEditorCount</a>: <a href="/source/s?defs=Integer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Integer</a>&#59;
371</span><a class="l" name="365" href="#365">365</a><span class='fold-space'>&nbsp;</span>begin
372<a class="l" name="366" href="#366">366</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=Result" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Result</a> := <a href="/source/s?defs=FEditors" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditors</a>.<a href="/source/s?defs=Count" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Count</a>&#59;
373<a class="l" name="367" href="#367">367</a><span class='fold-space'>&nbsp;</span>end&#59;
374<a class="l" name="368" href="#368">368</a><span class='fold-space'>&nbsp;</span>
375<span id='scope_id_dab0a72d' class='scope-head'><span class='scope-signature'>TCustomSynAutoComplete.GetNthEditornull</span><a class="l" name="369" href="#369">369</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_dab0a72d_fold_icon'><span class='fold-icon'>&nbsp;</span></a><b>function</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="GetNthEditor"/><a href="/source/s?refs=GetNthEditor" class="xf intelliWindow-symbol" data-definition-place="def">GetNthEditor</a>(<a href="/source/s?defs=Index" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Index</a>: <a href="/source/s?defs=Integer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Integer</a>): <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>&#59;
376</span><a class="hl" name="370" href="#370">370</a><span class='fold-space'>&nbsp;</span>begin
377<a class="l" name="371" href="#371">371</a><span class='fold-space'>&nbsp;</span>  <b>if</b> (<a href="/source/s?defs=Index" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Index</a> &gt;= <span class="n">0</span>) <b>and</b> (<a href="/source/s?defs=Index" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Index</a> &lt; <a href="/source/s?defs=FEditors" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditors</a>.<a href="/source/s?defs=Count" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Count</a>) <b>then</b>
378<a class="l" name="372" href="#372">372</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=Result" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Result</a> := <a href="/source/s?defs=FEditors" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditors</a>[<a href="/source/s?defs=Index" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Index</a>]
379<a class="l" name="373" href="#373">373</a><span class='fold-space'>&nbsp;</span>  <b>else</b>
380<a class="l" name="374" href="#374">374</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=Result" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Result</a> := <b>nil</b>&#59;
381<a class="l" name="375" href="#375">375</a><span class='fold-space'>&nbsp;</span>end&#59;
382<a class="l" name="376" href="#376">376</a><span class='fold-space'>&nbsp;</span>
383<a class="l" name="377" href="#377">377</a><span class='fold-space'>&nbsp;</span><b>procedure</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="Notification"/><a href="/source/s?refs=Notification" class="xf intelliWindow-symbol" data-definition-place="def">Notification</a>(<a href="/source/s?defs=AComponent" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AComponent</a>: <a href="/source/s?defs=TComponent" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TComponent</a>&#59;
384<a class="l" name="378" href="#378">378</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=Operation" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Operation</a>: <a href="/source/s?defs=TOperation" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TOperation</a>)&#59;
385<a class="l" name="379" href="#379">379</a><span class='fold-space'>&nbsp;</span>begin
386<a class="hl" name="380" href="#380">380</a><span class='fold-space'>&nbsp;</span>  <b>inherited</b> <a href="/source/s?defs=Notification" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Notification</a>(<a href="/source/s?defs=AComponent" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AComponent</a>, <a href="/source/s?defs=Operation" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Operation</a>)&#59;
387<a class="l" name="381" href="#381">381</a><span class='fold-space'>&nbsp;</span>  <b>if</b> <a href="/source/s?defs=Operation" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Operation</a> = <a href="/source/s?defs=opRemove" class="intelliWindow-symbol" data-definition-place="undefined-in-file">opRemove</a> <b>then</b>
388<a class="l" name="382" href="#382">382</a><span class='fold-space'>&nbsp;</span>  begin
389<a class="l" name="383" href="#383">383</a><span class='fold-space'>&nbsp;</span>    <b>if</b> <a href="/source/s?defs=AComponent" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AComponent</a> = <a class="d intelliWindow-symbol" href="#Editor" data-definition-place="defined-in-file">Editor</a> <b>then</b>
390<a class="l" name="384" href="#384">384</a><span class='fold-space'>&nbsp;</span>      <a class="d intelliWindow-symbol" href="#Editor" data-definition-place="defined-in-file">Editor</a> := <b>nil</b>
391<a class="l" name="385" href="#385">385</a><span class='fold-space'>&nbsp;</span>    <b>else</b> <b>if</b> <a href="/source/s?defs=AComponent" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AComponent</a> <b>is</b> <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a> <b>then</b>
392<a class="l" name="386" href="#386">386</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=RemoveEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">RemoveEditor</a>(<a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>(<a href="/source/s?defs=AComponent" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AComponent</a>))&#59;
393<a class="l" name="387" href="#387">387</a><span class='fold-space'>&nbsp;</span>  end&#59;
394<a class="l" name="388" href="#388">388</a><span class='fold-space'>&nbsp;</span>end&#59;
395<a class="l" name="389" href="#389">389</a><span class='fold-space'>&nbsp;</span>
396<a class="hl" name="390" href="#390">390</a><span class='fold-space'>&nbsp;</span><b>procedure</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="ParseCompletionList"/><a href="/source/s?refs=ParseCompletionList" class="xf intelliWindow-symbol" data-definition-place="def">ParseCompletionList</a>&#59;
397<a class="l" name="391" href="#391">391</a><span class='fold-space'>&nbsp;</span><b>var</b>
398<a class="l" name="392" href="#392">392</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=BorlandDCI" class="intelliWindow-symbol" data-definition-place="undefined-in-file">BorlandDCI</a>: <a href="/source/s?defs=Boolean" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Boolean</a>&#59;
399<a class="l" name="393" href="#393">393</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>, <a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a>, <a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a>: <a href="/source/s?defs=Integer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Integer</a>&#59;
400<a class="l" name="394" href="#394">394</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>, <a href="/source/s?defs=sCompl" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sCompl</a>, <a href="/source/s?defs=sComment" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComment</a>, <a href="/source/s?defs=sComplValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComplValue</a>: <a href="/source/s?defs=UnicodeString" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UnicodeString</a>&#59;
401<a class="l" name="395" href="#395">395</a><span class='fold-space'>&nbsp;</span>
402<a class="l" name="396" href="#396">396</a><span class='fold-space'>&nbsp;</span>  <b>procedure</b> <a class="xf" name="SaveEntry"/><a href="/source/s?refs=SaveEntry" class="xf intelliWindow-symbol" data-definition-place="def">SaveEntry</a>&#59;
403<a class="l" name="397" href="#397">397</a><span class='fold-space'>&nbsp;</span>  begin
404<a class="l" name="398" href="#398">398</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FCompletions" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletions</a>.<a href="/source/s?defs=Add" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Add</a>(<a href="/source/s?defs=sCompl" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sCompl</a>)&#59;
405<a class="l" name="399" href="#399">399</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=sCompl" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sCompl</a> := <span class="s">&apos;&apos;</span>&#59;
406<a class="hl" name="400" href="#400">400</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FCompletionComments" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletionComments</a>.<a href="/source/s?defs=Add" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Add</a>(<a href="/source/s?defs=sComment" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComment</a>)&#59;
407<a class="l" name="401" href="#401">401</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=sComment" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComment</a> := <span class="s">&apos;&apos;</span>&#59;
408<a class="l" name="402" href="#402">402</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FCompletionValues" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletionValues</a>.<a href="/source/s?defs=Add" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Add</a>(<a href="/source/s?defs=sComplValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComplValue</a>)&#59;
409<a class="l" name="403" href="#403">403</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=sComplValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComplValue</a> := <span class="s">&apos;&apos;</span>&#59;
410<a class="l" name="404" href="#404">404</a><span class='fold-space'>&nbsp;</span>  end&#59;
411<a class="l" name="405" href="#405">405</a><span class='fold-space'>&nbsp;</span>
412<a class="l" name="406" href="#406">406</a><span class='fold-space'>&nbsp;</span>begin
413<a class="l" name="407" href="#407">407</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FCompletions" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletions</a>.<a href="/source/s?defs=Clear" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Clear</a>&#59;
414<a class="l" name="408" href="#408">408</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FCompletionComments" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletionComments</a>.<a href="/source/s?defs=Clear" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Clear</a>&#59;
415<a class="l" name="409" href="#409">409</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FCompletionValues" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FCompletionValues</a>.<a href="/source/s?defs=Clear" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Clear</a>&#59;
416<a class="hl" name="410" href="#410">410</a><span class='fold-space'>&nbsp;</span>
417<a class="l" name="411" href="#411">411</a><span class='fold-space'>&nbsp;</span>  <b>if</b> <a href="/source/s?defs=FAutoCompleteList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FAutoCompleteList</a>.<a href="/source/s?defs=Count" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Count</a> &gt; <span class="n">0</span> <b>then</b>
418<a class="l" name="412" href="#412">412</a><span class='fold-space'>&nbsp;</span>  begin
419<a class="l" name="413" href="#413">413</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a> := <a href="/source/s?defs=FAutoCompleteList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FAutoCompleteList</a>[<span class="n">0</span>]&#59;
420<a class="l" name="414" href="#414">414</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=BorlandDCI" class="intelliWindow-symbol" data-definition-place="undefined-in-file">BorlandDCI</a> := (<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a> &lt;&gt; <span class="s">&apos;&apos;</span>) <b>and</b> (<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>[<span class="n">1</span>] = <span class="s">&apos;[&apos;</span>)&#59;
421<a class="l" name="415" href="#415">415</a><span class='fold-space'>&nbsp;</span>
422<a class="l" name="416" href="#416">416</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=sCompl" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sCompl</a> := <span class="s">&apos;&apos;</span>&#59;
423<a class="l" name="417" href="#417">417</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=sComment" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComment</a> := <span class="s">&apos;&apos;</span>&#59;
424<a class="l" name="418" href="#418">418</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=sComplValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComplValue</a> := <span class="s">&apos;&apos;</span>&#59;
425<a class="l" name="419" href="#419">419</a><span class='fold-space'>&nbsp;</span>    <b>for</b> <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> := <span class="n">0</span> <b>to</b> <a href="/source/s?defs=FAutoCompleteList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FAutoCompleteList</a>.<a href="/source/s?defs=Count" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Count</a> - <span class="n">1</span> <b>do</b>
426<a class="hl" name="420" href="#420">420</a><span class='fold-space'>&nbsp;</span>    begin
427<a class="l" name="421" href="#421">421</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a> := <a href="/source/s?defs=FAutoCompleteList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FAutoCompleteList</a>[<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>]&#59;
428<a class="l" name="422" href="#422">422</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a> := <a href="/source/s?defs=Length" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Length</a>(<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>)&#59;
429<a class="l" name="423" href="#423">423</a><span class='fold-space'>&nbsp;</span>      <b>if</b> <a href="/source/s?defs=BorlandDCI" class="intelliWindow-symbol" data-definition-place="undefined-in-file">BorlandDCI</a> <b>then</b>
430<a class="l" name="424" href="#424">424</a><span class='fold-space'>&nbsp;</span>      begin
431<a class="l" name="425" href="#425">425</a><span class='fold-space'>&nbsp;</span>        <span class="c">// the style of the Delphi32.dci file</span>
432<a class="l" name="426" href="#426">426</a><span class='fold-space'>&nbsp;</span>        <b>if</b> (<a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a> &gt; <span class="n">0</span>) <b>and</b> (<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>[<span class="n">1</span>] = <span class="s">&apos;[&apos;</span>) <b>then</b>
433<a class="l" name="427" href="#427">427</a><span class='fold-space'>&nbsp;</span>        begin
434<a class="l" name="428" href="#428">428</a><span class='fold-space'>&nbsp;</span>          <span class="c">// save last entry</span>
435<a class="l" name="429" href="#429">429</a><span class='fold-space'>&nbsp;</span>          <b>if</b> <a href="/source/s?defs=sCompl" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sCompl</a> &lt;&gt; <span class="s">&apos;&apos;</span> <b>then</b>
436<a class="hl" name="430" href="#430">430</a><span class='fold-space'>&nbsp;</span>            <a class="d intelliWindow-symbol" href="#SaveEntry" data-definition-place="defined-in-file">SaveEntry</a>&#59;
437<a class="l" name="431" href="#431">431</a><span class='fold-space'>&nbsp;</span>          <span class="c">// new completion entry</span>
438<a class="l" name="432" href="#432">432</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a> := <span class="n">2</span>&#59;
439<a class="l" name="433" href="#433">433</a><span class='fold-space'>&nbsp;</span>          <b>while</b> (<a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a> &lt;= <a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a>) <b>and</b> (<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>[<a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a>] &gt; <span class="s">&apos; &apos;</span>) <b>do</b>
440<a class="l" name="434" href="#434">434</a><span class='fold-space'>&nbsp;</span>            <a href="/source/s?defs=Inc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Inc</a>(<a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a>)&#59;
441<a class="l" name="435" href="#435">435</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=sCompl" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sCompl</a> := <a href="/source/s?defs=Copy" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Copy</a>(<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>, <span class="n">2</span>, <a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a> - <span class="n">2</span>)&#59;
442<a class="l" name="436" href="#436">436</a><span class='fold-space'>&nbsp;</span>          <span class="c">// start of comment in DCI file</span>
443<a class="l" name="437" href="#437">437</a><span class='fold-space'>&nbsp;</span>          <b>while</b> (<a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a> &lt;= <a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a>) <b>and</b> (<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>[<a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a>] &lt;= <span class="s">&apos; &apos;</span>) <b>do</b>
444<a class="l" name="438" href="#438">438</a><span class='fold-space'>&nbsp;</span>            <a href="/source/s?defs=Inc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Inc</a>(<a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a>)&#59;
445<a class="l" name="439" href="#439">439</a><span class='fold-space'>&nbsp;</span>          <b>if</b> (<a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a> &lt;= <a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a>) <b>and</b> (<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>[<a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a>] = <span class="s">&apos;|&apos;</span>) <b>then</b>
446<a class="hl" name="440" href="#440">440</a><span class='fold-space'>&nbsp;</span>            <a href="/source/s?defs=Inc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Inc</a>(<a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a>)&#59;
447<a class="l" name="441" href="#441">441</a><span class='fold-space'>&nbsp;</span>          <b>while</b> (<a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a> &lt;= <a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a>) <b>and</b> (<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>[<a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a>] &lt;= <span class="s">&apos; &apos;</span>) <b>do</b>
448<a class="l" name="442" href="#442">442</a><span class='fold-space'>&nbsp;</span>            <a href="/source/s?defs=Inc" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Inc</a>(<a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a>)&#59;
449<a class="l" name="443" href="#443">443</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=sComment" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComment</a> := <a href="/source/s?defs=Copy" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Copy</a>(<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>, <a href="/source/s?defs=j" class="intelliWindow-symbol" data-definition-place="undefined-in-file">j</a>, <a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a>)&#59;
450<a class="l" name="444" href="#444">444</a><span class='fold-space'>&nbsp;</span>          <b>if</b> <a href="/source/s?defs=sComment" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComment</a>[<a href="/source/s?defs=Length" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Length</a>(<a href="/source/s?defs=sComment" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComment</a>)] = <span class="s">&apos;]&apos;</span> <b>then</b>
451<a class="l" name="445" href="#445">445</a><span class='fold-space'>&nbsp;</span>            <a href="/source/s?defs=SetLength" class="intelliWindow-symbol" data-definition-place="undefined-in-file">SetLength</a>(<a href="/source/s?defs=sComment" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComment</a>, <a href="/source/s?defs=Length" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Length</a>(<a href="/source/s?defs=sComment" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComment</a>) - <span class="n">1</span>)&#59;
452<a class="l" name="446" href="#446">446</a><span class='fold-space'>&nbsp;</span>        end
453<a class="l" name="447" href="#447">447</a><span class='fold-space'>&nbsp;</span>        <b>else</b>
454<a class="l" name="448" href="#448">448</a><span class='fold-space'>&nbsp;</span>        begin
455<a class="l" name="449" href="#449">449</a><span class='fold-space'>&nbsp;</span>          <b>if</b> <a href="/source/s?defs=sComplValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComplValue</a> &lt;&gt; <span class="s">&apos;&apos;</span> <b>then</b>
456<a class="hl" name="450" href="#450">450</a><span class='fold-space'>&nbsp;</span>            <a href="/source/s?defs=sComplValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComplValue</a> := <a href="/source/s?defs=sComplValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComplValue</a> + <span class="s">#13</span><span class="s">#10</span>&#59;
457<a class="l" name="451" href="#451">451</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=sComplValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComplValue</a> := <a href="/source/s?defs=sComplValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComplValue</a> + <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>&#59;
458<a class="l" name="452" href="#452">452</a><span class='fold-space'>&nbsp;</span>        end&#59;
459<a class="l" name="453" href="#453">453</a><span class='fold-space'>&nbsp;</span>      end
460<a class="l" name="454" href="#454">454</a><span class='fold-space'>&nbsp;</span>      <b>else</b>
461<a class="l" name="455" href="#455">455</a><span class='fold-space'>&nbsp;</span>      begin
462<a class="l" name="456" href="#456">456</a><span class='fold-space'>&nbsp;</span>        <span class="c">// the original style</span>
463<a class="l" name="457" href="#457">457</a><span class='fold-space'>&nbsp;</span>        <b>if</b> (<a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a> &gt; <span class="n">0</span>) <b>and</b> (<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>[<span class="n">1</span>] &lt;&gt; <span class="s">&apos;=&apos;</span>) <b>then</b>
464<a class="l" name="458" href="#458">458</a><span class='fold-space'>&nbsp;</span>        begin
465<a class="l" name="459" href="#459">459</a><span class='fold-space'>&nbsp;</span>          <span class="c">// save last entry</span>
466<a class="hl" name="460" href="#460">460</a><span class='fold-space'>&nbsp;</span>          <b>if</b> <a href="/source/s?defs=sCompl" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sCompl</a> &lt;&gt; <span class="s">&apos;&apos;</span> <b>then</b>
467<a class="l" name="461" href="#461">461</a><span class='fold-space'>&nbsp;</span>            <a class="d intelliWindow-symbol" href="#SaveEntry" data-definition-place="defined-in-file">SaveEntry</a>&#59;
468<a class="l" name="462" href="#462">462</a><span class='fold-space'>&nbsp;</span>          <span class="c">// new completion entry</span>
469<a class="l" name="463" href="#463">463</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=sCompl" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sCompl</a> := <a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>&#59;
470<a class="l" name="464" href="#464">464</a><span class='fold-space'>&nbsp;</span>        end
471<a class="l" name="465" href="#465">465</a><span class='fold-space'>&nbsp;</span>        <b>else</b> <b>if</b> (<a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a> &gt; <span class="n">0</span>) <b>and</b> (<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>[<span class="n">1</span>] = <span class="s">&apos;=&apos;</span>) <b>then</b>
472<a class="l" name="466" href="#466">466</a><span class='fold-space'>&nbsp;</span>        begin
473<a class="l" name="467" href="#467">467</a><span class='fold-space'>&nbsp;</span>          <b>if</b> <a href="/source/s?defs=sComplValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComplValue</a> &lt;&gt; <span class="s">&apos;&apos;</span> <b>then</b>
474<a class="l" name="468" href="#468">468</a><span class='fold-space'>&nbsp;</span>            <a href="/source/s?defs=sComplValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComplValue</a> := <a href="/source/s?defs=sComplValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComplValue</a> + <span class="s">#13</span><span class="s">#10</span>&#59;
475<a class="l" name="469" href="#469">469</a><span class='fold-space'>&nbsp;</span>          <a href="/source/s?defs=sComplValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComplValue</a> := <a href="/source/s?defs=sComplValue" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sComplValue</a> + <a href="/source/s?defs=Copy" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Copy</a>(<a href="/source/s?defs=s" class="intelliWindow-symbol" data-definition-place="undefined-in-file">s</a>, <span class="n">2</span>, <a href="/source/s?defs=Len" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Len</a>)&#59;
476<a class="hl" name="470" href="#470">470</a><span class='fold-space'>&nbsp;</span>        end&#59;
477<a class="l" name="471" href="#471">471</a><span class='fold-space'>&nbsp;</span>      end&#59;
478<a class="l" name="472" href="#472">472</a><span class='fold-space'>&nbsp;</span>    end&#59;
479<a class="l" name="473" href="#473">473</a><span class='fold-space'>&nbsp;</span>    <b>if</b> <a href="/source/s?defs=sCompl" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sCompl</a> &lt;&gt; <span class="s">&apos;&apos;</span> <b>then</b>                                                        <span class="c">//mg 2000-11-07</span>
480<a class="l" name="474" href="#474">474</a><span class='fold-space'>&nbsp;</span>      <a class="d intelliWindow-symbol" href="#SaveEntry" data-definition-place="defined-in-file">SaveEntry</a>&#59;
481<a class="l" name="475" href="#475">475</a><span class='fold-space'>&nbsp;</span>  end&#59;
482<a class="l" name="476" href="#476">476</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FParsed" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FParsed</a> := <a href="/source/s?defs=True" class="intelliWindow-symbol" data-definition-place="undefined-in-file">True</a>&#59;
483<a class="l" name="477" href="#477">477</a><span class='fold-space'>&nbsp;</span>end&#59;
484<a class="l" name="478" href="#478">478</a><span class='fold-space'>&nbsp;</span>
485<span id='scope_id_a6848a4e' class='scope-head'><span class='scope-signature'>RemoveEditornull</span><a class="l" name="479" href="#479">479</a><a style='cursor:pointer;' onclick='fold(this.parentNode.id)' id='scope_id_a6848a4e_fold_icon'><span class='fold-icon'>&nbsp;</span></a><b>function</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="RemoveEditor"/><a href="/source/s?refs=RemoveEditor" class="xf intelliWindow-symbol" data-definition-place="def">RemoveEditor</a>(<a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>: <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>): <a href="/source/s?defs=Boolean" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Boolean</a>&#59;
486</span><a class="hl" name="480" href="#480">480</a><span class='fold-space'>&nbsp;</span><b>var</b>
487<a class="l" name="481" href="#481">481</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>: <a href="/source/s?defs=Integer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Integer</a>&#59;
488<a class="l" name="482" href="#482">482</a><span class='fold-space'>&nbsp;</span>begin
489<a class="l" name="483" href="#483">483</a><span class='fold-space'>&nbsp;</span>  <b>if</b> <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a> &lt;&gt; <b>nil</b> <b>then</b>
490<a class="l" name="484" href="#484">484</a><span class='fold-space'>&nbsp;</span>  begin
491<a class="l" name="485" href="#485">485</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> := <a href="/source/s?defs=FEditors" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditors</a>.<a href="/source/s?defs=IndexOf" class="intelliWindow-symbol" data-definition-place="undefined-in-file">IndexOf</a>(<a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>)&#59;
492<a class="l" name="486" href="#486">486</a><span class='fold-space'>&nbsp;</span>    <b>if</b> (<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> &gt; <span class="n">-1</span>) <b>then</b>
493<a class="l" name="487" href="#487">487</a><span class='fold-space'>&nbsp;</span>    begin
494<a class="l" name="488" href="#488">488</a><span class='fold-space'>&nbsp;</span>      <b>if</b> <a href="/source/s?defs=FEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditor</a> = <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a> <b>then</b>
495<a class="l" name="489" href="#489">489</a><span class='fold-space'>&nbsp;</span>        <a href="/source/s?defs=FEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditor</a> := <b>nil</b>&#59;
496<a class="hl" name="490" href="#490">490</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=FEditors" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditors</a>.<a href="/source/s?defs=Delete" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Delete</a>(<a href="/source/s?defs=i" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>)&#59;
497<a class="l" name="491" href="#491">491</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>.<a href="/source/s?defs=UnregisterCommandHandler" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UnregisterCommandHandler</a>(<a href="/source/s?defs=SynEditCommandHandler" class="intelliWindow-symbol" data-definition-place="undefined-in-file">SynEditCommandHandler</a>)&#59;
498<a class="l" name="492" href="#492">492</a><span class='fold-space'>&nbsp;</span>      <span class="c">{$IFDEF SYN_COMPILER_5_UP}</span>
499<a class="l" name="493" href="#493">493</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=RemoveFreeNotification" class="intelliWindow-symbol" data-definition-place="undefined-in-file">RemoveFreeNotification</a>(<a href="/source/s?defs=AEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AEditor</a>)&#59;
500<a class="l" name="494" href="#494">494</a><span class='fold-space'>&nbsp;</span>      <span class="c">{$ENDIF}</span>
501<a class="l" name="495" href="#495">495</a><span class='fold-space'>&nbsp;</span>    end&#59;
502<a class="l" name="496" href="#496">496</a><span class='fold-space'>&nbsp;</span>  end&#59;
503<a class="l" name="497" href="#497">497</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=Result" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Result</a> := <a href="/source/s?defs=False" class="intelliWindow-symbol" data-definition-place="undefined-in-file">False</a>&#59;
504<a class="l" name="498" href="#498">498</a><span class='fold-space'>&nbsp;</span>end&#59;
505<a class="l" name="499" href="#499">499</a><span class='fold-space'>&nbsp;</span>
506<a class="hl" name="500" href="#500">500</a><span class='fold-space'>&nbsp;</span><b>procedure</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="SetAutoCompleteList"/><a href="/source/s?refs=SetAutoCompleteList" class="xf intelliWindow-symbol" data-definition-place="def">SetAutoCompleteList</a>(<a href="/source/s?defs=Value" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Value</a>: <a href="/source/s?defs=TUnicodeStrings" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TUnicodeStrings</a>)&#59;
507<a class="l" name="501" href="#501">501</a><span class='fold-space'>&nbsp;</span>begin
508<a class="l" name="502" href="#502">502</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FAutoCompleteList" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FAutoCompleteList</a>.<a href="/source/s?defs=Assign" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Assign</a>(<a href="/source/s?defs=Value" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Value</a>)&#59;
509<a class="l" name="503" href="#503">503</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=FParsed" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FParsed</a> := <a href="/source/s?defs=False" class="intelliWindow-symbol" data-definition-place="undefined-in-file">False</a>&#59;
510<a class="l" name="504" href="#504">504</a><span class='fold-space'>&nbsp;</span>end&#59;
511<a class="l" name="505" href="#505">505</a><span class='fold-space'>&nbsp;</span>
512<a class="l" name="506" href="#506">506</a><span class='fold-space'>&nbsp;</span><b>procedure</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="SetEditor"/><a href="/source/s?refs=SetEditor" class="xf intelliWindow-symbol" data-definition-place="def">SetEditor</a>(<a href="/source/s?defs=Value" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Value</a>: <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>)&#59;
513<a class="l" name="507" href="#507">507</a><span class='fold-space'>&nbsp;</span>begin
514<a class="l" name="508" href="#508">508</a><span class='fold-space'>&nbsp;</span>  <b>if</b> <a href="/source/s?defs=Value" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Value</a> &lt;&gt; <a href="/source/s?defs=FEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditor</a> <b>then</b>
515<a class="l" name="509" href="#509">509</a><span class='fold-space'>&nbsp;</span>  begin
516<a class="hl" name="510" href="#510">510</a><span class='fold-space'>&nbsp;</span>    <b>if</b> <a href="/source/s?defs=FEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditor</a> &lt;&gt; <b>nil</b> <b>then</b>
517<a class="l" name="511" href="#511">511</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=RemoveEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">RemoveEditor</a>(<a href="/source/s?defs=FEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditor</a>)&#59;
518<a class="l" name="512" href="#512">512</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=FEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">FEditor</a> := <a href="/source/s?defs=Value" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Value</a>&#59;
519<a class="l" name="513" href="#513">513</a><span class='fold-space'>&nbsp;</span>    <b>if</b> (<a href="/source/s?defs=Value" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Value</a> &lt;&gt; <b>nil</b>) <b>then</b>
520<a class="l" name="514" href="#514">514</a><span class='fold-space'>&nbsp;</span>      <a href="/source/s?defs=AddEditor" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AddEditor</a>(<a href="/source/s?defs=Value" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Value</a>)&#59;
521<a class="l" name="515" href="#515">515</a><span class='fold-space'>&nbsp;</span>  end&#59;
522<a class="l" name="516" href="#516">516</a><span class='fold-space'>&nbsp;</span>end&#59;
523<a class="l" name="517" href="#517">517</a><span class='fold-space'>&nbsp;</span>
524<a class="l" name="518" href="#518">518</a><span class='fold-space'>&nbsp;</span><b>procedure</b> <a class="d intelliWindow-symbol" href="#TCustomSynAutoComplete" data-definition-place="defined-in-file">TCustomSynAutoComplete</a>.<a class="xf" name="SynEditCommandHandler"/><a href="/source/s?refs=SynEditCommandHandler" class="xf intelliWindow-symbol" data-definition-place="def">SynEditCommandHandler</a>(<a href="/source/s?defs=Sender" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Sender</a>: <a href="/source/s?defs=TObject" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TObject</a>&#59;
525<a class="l" name="519" href="#519">519</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=AfterProcessing" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AfterProcessing</a>: <a href="/source/s?defs=Boolean" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Boolean</a>&#59; <b>var</b> <a href="/source/s?defs=Handled" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Handled</a>: <a href="/source/s?defs=Boolean" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Boolean</a>&#59;
526<a class="hl" name="520" href="#520">520</a><span class='fold-space'>&nbsp;</span>  <b>var</b> <a href="/source/s?defs=Command" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Command</a>: <a href="/source/s?defs=TSynEditorCommand" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TSynEditorCommand</a>&#59; <b>var</b> <a href="/source/s?defs=AChar" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AChar</a>: <a href="/source/s?defs=WideChar" class="intelliWindow-symbol" data-definition-place="undefined-in-file">WideChar</a>&#59; <a href="/source/s?defs=Data" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Data</a>,
527<a class="l" name="521" href="#521">521</a><span class='fold-space'>&nbsp;</span>  <a href="/source/s?defs=HandlerData" class="intelliWindow-symbol" data-definition-place="undefined-in-file">HandlerData</a>: <a href="/source/s?defs=Pointer" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Pointer</a>)&#59;
528<a class="l" name="522" href="#522">522</a><span class='fold-space'>&nbsp;</span>begin
529<a class="l" name="523" href="#523">523</a><span class='fold-space'>&nbsp;</span>  <b>if</b> <b>not</b> <a href="/source/s?defs=AfterProcessing" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AfterProcessing</a> <b>and</b> <b>not</b> <a href="/source/s?defs=Handled" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Handled</a> <b>and</b> (<a href="/source/s?defs=Command" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Command</a> = <a href="/source/s?defs=ecAutoCompletion" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ecAutoCompletion</a>) <b>then</b>
530<a class="l" name="524" href="#524">524</a><span class='fold-space'>&nbsp;</span>  begin
531<a class="l" name="525" href="#525">525</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=Handled" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Handled</a> := <a href="/source/s?defs=True" class="intelliWindow-symbol" data-definition-place="undefined-in-file">True</a>&#59;
532<a class="l" name="526" href="#526">526</a><span class='fold-space'>&nbsp;</span>    <a href="/source/s?defs=Execute" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Execute</a>(&amp;<a href="/source/s?defs=Sender" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Sender</a> <b>as</b> <a href="/source/s?defs=TCustomSynEdit" class="intelliWindow-symbol" data-definition-place="undefined-in-file">TCustomSynEdit</a>)&#59;
533<a class="l" name="527" href="#527">527</a><span class='fold-space'>&nbsp;</span>  end&#59;
534<a class="l" name="528" href="#528">528</a><span class='fold-space'>&nbsp;</span>end&#59;
535<a class="l" name="529" href="#529">529</a><span class='fold-space'>&nbsp;</span>
536<a class="hl" name="530" href="#530">530</a><span class='fold-space'>&nbsp;</span>end.
537<a class="l" name="531" href="#531">531</a><span class='fold-space'>&nbsp;</span>
538<a class="l" name="532" href="#532">532</a><span class='fold-space'>&nbsp;</span><span class="c">{ Comment 1 (* comment 2 *) <a href="http://example.com">http://example.com</a>}</span>
539<a class="l" name="533" href="#533">533</a><span class='fold-space'>&nbsp;</span><span class="c">(* Comment 1 { comment 2 } <a href="http://example.com">http://example.com</a>*)</span>
540<a class="l" name="534" href="#534">534</a><span class='fold-space'>&nbsp;</span><span class="c">{ comment 1 // Comment 2 }</span>
541<a class="l" name="535" href="#535">535</a><span class='fold-space'>&nbsp;</span><span class="c">(* comment 1 // Comment 2 *)</span>
542<a class="l" name="536" href="#536">536</a><span class='fold-space'>&nbsp;</span><span class="c">// comment 1 (* comment 2 *)</span>
543<a class="l" name="537" href="#537">537</a><span class='fold-space'>&nbsp;</span><span class="c">// comment 1 { comment 2 }</span>
544<a class="l" name="538" href="#538">538</a><span class='fold-space'>&nbsp;</span></body>
545</html>
546