{"identifier":52836,"topic":"Functions","name":"clickChunk","text":"<code><pre>the clickChunk\n<\/pre><\/code> Value returned: character chunk expression equal to the word the user clicked or the longest range of characters with the text style Group around the character that the user clicked (if the text has been grouped)   <br><br>\n\n The text style Group allows<code> the clickChunk <\/code>to extend beyond word boundaries. <br>\n<br>\n The chunk expression returned has  the following form: <br><br>\n\n <code>char<\/code> <i><code>posInteger<\/i> to <i>posInteger<\/i> \u00ac     of <i>container<\/i><\/code> <br>\n","related":{"34776":null,"24266":null,"32809":null,"56033":"foundChunk","63264":"selectedChunk","47827":"show","86415":"textStyle"},"examples":"","demo":"on clickDemo\n   toggleActiveText true -- make sure grouped text is visible\n   answer \"Click any text in the Demo Script.\" & return & \u00ac\n   \"Click text with the gray underline (grouped text) to get phrases.\"\n   wait until the mouseClick\n   get the clickChunk\n   select it\n   wait 1 second\n   answer \"The chunk of text that you clicked was  \u201c\" & it & \"\u201d.\"\n end clickDemo\n <br><br>\n\n ","debug":{"9":["the clickChunk\r\rValu"],"10":["\rThe chunk expressio"]}}