<doc>
  <legacy_id>1935</legacy_id>
  <name>hilitedLine</name>
  <type>property</type>
  <syntax>
    <example>set the hilitedLine of <i>field</i> to <i>listOfLines</i></example>
  </syntax>
  <library></library>
  <objects>
    <field/>
  </objects>
  <synonyms>
    <synonym>hilitedLines</synonym>
  </synonyms>
  <classification>
    <category>User Interaction</category>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <property tag="listBehavior">listBehavior Property</property>
    <property tag="multipleLines">multipleLines Property</property>
    <property tag="toggleHilites">toggleHilites Property</property>
    <function tag="selectedLine">selectedLine Function</function>
    <function tag="selectedText">selectedText Function</function>
    <property tag="threeDHilite">threeDHilite Property</property>
    <property tag="noncontiguousHilites">noncontiguousHilites Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Specifies the numbers of the <property tag="selected">selected</property> <keyword tag="lines">lines</keyword> in a <glossary tag="list field">list field</glossary>.</summary>
  <examples>
    <example>set the hilitedLine of field "Options List" to 1</example>
    <example>repeat with x = 1 to the number of items in the hilitedLines of me</example>
  </examples>
  <description>
    <p>Use the <b>hilitedLine</b> <glossary tag="property">property</glossary> to check which <keyword tag="lines">lines</keyword> in a <glossary tag="list field">list field</glossary> are selected, or to <command tag="select">select</command> a <keyword tag="line">line</keyword>.</p><p/><p><b>Value:</b></p><p>The <b>hilitedLine</b> of a <keyword tag="field">field</keyword> is a list of one or more <glossary tag="integer">integers</glossary>, separated by commas.</p><p/><p><b>Comments:</b></p><p>Each item of the <b>hilitedLine</b> <glossary tag="property">property</glossary> is a line number. For example, if the first and fourth <keyword tag="lines">lines</keyword> of the <keyword tag="field">field</keyword> are selected, the <b>hilitedLine</b> is<code> 1,4</code>. You can retrieve the text of the selected lines either by using the line numbers in a <glossary tag="chunk expression">chunk expression</glossary> or by using the <function tag="selectedText">selectedText</function> <control_st tag="function">function</control_st>.</p><p/><p>If the field's <b>listBehavior</b> <glossary tag="property">property</glossary> is false, this <glossary tag="property">property</glossary> has no effect.</p>
  </description>
</doc>