diff -r 67d952a9036e -r 263a95431e41 AssistantEric/Documentation/source/Plugin_Assistant_Eric.AssistantEric.Assistant.html --- a/AssistantEric/Documentation/source/Plugin_Assistant_Eric.AssistantEric.Assistant.html Sun Mar 22 17:37:55 2015 +0100 +++ b/AssistantEric/Documentation/source/Plugin_Assistant_Eric.AssistantEric.Assistant.html Sun May 31 18:03:01 2015 +0200 @@ -76,9 +76,6 @@ <td><a href="#Assistant.__getApiCompletions">__getApiCompletions</a></td> <td>Private method to determine a list of completions from an API object.</td> </tr><tr> -<td><a href="#Assistant.__getCharacter">__getCharacter</a></td> -<td>Private method to get the character to the left of the current position in the current line.</td> -</tr><tr> <td><a href="#Assistant.__getCompletions">__getCompletions</a></td> <td>Private method to get the list of possible completions.</td> </tr><tr> @@ -91,6 +88,9 @@ <td><a href="#Assistant.__preferencesChanged">__preferencesChanged</a></td> <td>Private method to handle a change of the global configuration.</td> </tr><tr> +<td><a href="#Assistant.__recordSelectedContext">__recordSelectedContext</a></td> +<td>Private slot to handle the selection from the completion list to record the selected completion context.</td> +</tr><tr> <td><a href="#Assistant.__setAutoCompletionHook">__setAutoCompletionHook</a></td> <td>Private method to set the autocompletion hook.</td> </tr><tr> @@ -236,27 +236,6 @@ <dd> list of possible completions (list of strings) </dd> -</dl><a NAME="Assistant.__getCharacter" ID="Assistant.__getCharacter"></a> -<h4>Assistant.__getCharacter</h4> -<b>__getCharacter</b>(<i>pos, editor</i>) -<p> - Private method to get the character to the left of the current position - in the current line. -</p><dl> -<dt><i>pos</i></dt> -<dd> -position to get character at (integer) -</dd><dt><i>editor</i></dt> -<dd> -reference to the editor object to work with - (QScintilla.Editor) -</dd> -</dl><dl> -<dt>Returns:</dt> -<dd> -requested character or "", if there are no more (string) and - the next position (i.e. pos - 1) -</dd> </dl><a NAME="Assistant.__getCompletions" ID="Assistant.__getCompletions"></a> <h4>Assistant.__getCompletions</h4> <b>__getCompletions</b>(<i>word, context, prefix, language, module, editor, importCompletion, sep</i>) @@ -358,7 +337,21 @@ <b>__preferencesChanged</b>(<i></i>) <p> Private method to handle a change of the global configuration. -</p><a NAME="Assistant.__setAutoCompletionHook" ID="Assistant.__setAutoCompletionHook"></a> +</p><a NAME="Assistant.__recordSelectedContext" ID="Assistant.__recordSelectedContext"></a> +<h4>Assistant.__recordSelectedContext</h4> +<b>__recordSelectedContext</b>(<i>id, txt</i>) +<p> + Private slot to handle the selection from the completion list to + record the selected completion context. +</p><dl> +<dt><i>id</i></dt> +<dd> +the ID of the user list (should be 1) (integer) +</dd><dt><i>txt</i></dt> +<dd> +the selected text (string) +</dd> +</dl><a NAME="Assistant.__setAutoCompletionHook" ID="Assistant.__setAutoCompletionHook"></a> <h4>Assistant.__setAutoCompletionHook</h4> <b>__setAutoCompletionHook</b>(<i>editor</i>) <p>