Example 1:
- Code: Select all
<script type="text/javascript" src="jqu"></script>
Placing the cursor after the word jqu and activating the Autocompleter gives this result:
ListItemAtCursorAC: jqu
ACWordStart: 102
ACWordLength: 5
ACLineOffset: 0
The ACWordStart is the position occupied by the starting quote.
ACWordLength is the length of ListItemAtCursorAC + 2 (the start/ending quote)
Example 2:
- Code: Select all
<script type="text/javascript" src=jqu></script>
Placing the cursor after the word jqu and activating the Autocompleter gives this result:
ListItemAtCursorAC: jqu
ACWordStart: 212
ACWordLength: 0
ACLineOffset: 0
Here the ACWordStart is the start of the jqu word, but ACWordLength is zero!