AssistantEric/Documentation/source/Plugin_Assistant_Eric.AssistantEric.Assistant.html

changeset 131
7d868e8e1cfb
parent 119
263a95431e41
child 136
5cfe53b474a9
--- a/AssistantEric/Documentation/source/Plugin_Assistant_Eric.AssistantEric.Assistant.html	Sat Nov 26 14:43:28 2016 +0100
+++ b/AssistantEric/Documentation/source/Plugin_Assistant_Eric.AssistantEric.Assistant.html	Sat Dec 03 18:08:44 2016 +0100
@@ -85,6 +85,9 @@
 <td><a href="#Assistant.__getDocumentCompletions">__getDocumentCompletions</a></td>
 <td>Private method to determine autocompletion proposals from the document.</td>
 </tr><tr>
+<td><a href="#Assistant.__getProjectType">__getProjectType</a></td>
+<td>Private method to determine the project type to be used.</td>
+</tr><tr>
 <td><a href="#Assistant.__preferencesChanged">__preferencesChanged</a></td>
 <td>Private method to handle a change of the global configuration.</td>
 </tr><tr>
@@ -238,7 +241,7 @@
 </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>)
+<b>__getCompletions</b>(<i>word, context, prefix, language, projectType, module, editor, importCompletion, documentOnly, sep</i>)
 <p>
         Private method to get the list of possible completions.
 </p><dl>
@@ -254,6 +257,9 @@
 </dd><dt><i>language</i></dt>
 <dd>
 programming language of the source (string)
+</dd><dt><i>projectType</i></dt>
+<dd>
+type of the project (string)
 </dd><dt><i>module</i></dt>
 <dd>
 reference to the scanned module info (Module)
@@ -263,6 +269,10 @@
 </dd><dt><i>importCompletion</i></dt>
 <dd>
 flag indicating an import completion (boolean)
+</dd><dt><i>documentOnly</i></dt>
+<dd>
+flag indicating to complete from the document only
+            (boolean)
 </dd><dt><i>sep</i></dt>
 <dd>
 separator string (string)
@@ -332,6 +342,26 @@
 <dd>
 list of possible completions (list of strings)
 </dd>
+</dl><a NAME="Assistant.__getProjectType" ID="Assistant.__getProjectType"></a>
+<h4>Assistant.__getProjectType</h4>
+<b>__getProjectType</b>(<i>editor</i>)
+<p>
+        Private method to determine the project type to be used.
+</p><dl>
+<dt><i>editor</i> (Editor)</dt>
+<dd>
+reference to the editor to check
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+project type
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+str
+</dd>
 </dl><a NAME="Assistant.__preferencesChanged" ID="Assistant.__preferencesChanged"></a>
 <h4>Assistant.__preferencesChanged</h4>
 <b>__preferencesChanged</b>(<i></i>)

eric ide

mercurial