Using the AutoComplete History
When the Use History for Selection check box in the Auto Complete group box on the Editor Options sheet of the Preferences dialog is:
-
Checked (it is unchecked by default), if there was a prior selection (depth of 10) whose prefix matches the text entered in the editor pane, it is selected by default. The word that was last selected is automatically highlighted. However, this can cause issues when you want to select an identifier that is a prefix of the selected word; for example, if the history was for application and you type app, pressing the . key results in application being inserted when you require the app system variable.
If there is no prior history that matches the specified text, AutoComplete operates as though the value of the check box is false (that is, it is unchecked). For details, see "AutoComplete List Box Behavior", in the previous section.
-
Unchecked (the default value), the entry selected in the AutoComplete list is always the first name with the prefix matching the text entered in the editor pane. The previous history of selected AutoComplete entries is not used and you must type more of the identifier name to locate the required entry in the list box or select the required entry using an arrow key or the mouse.
2018.0.01 and higher
From version 2020.0.01, when the Use History for Selection check box is checked, the AutoComplete feature selects an entry in the list when it is an exact (case-sensitive) match instead of the historical entry. For example, app is selected when you enter app. The list item application is selected when you enter a, ap, or appl in the editor pane.