RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.CodeAssist.html

changeset 104
f6049d39f83d
parent 100
2bfe9e3fad8d
child 118
d242ba11a04c
equal deleted inserted replaced
103:2d77b3afc98f 104:f6049d39f83d
63 <td><a href="#CodeAssist.getCallTips">getCallTips</a></td> 63 <td><a href="#CodeAssist.getCallTips">getCallTips</a></td>
64 <td>Public method to calculate calltips.</td> 64 <td>Public method to calculate calltips.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#CodeAssist.getCompletions">getCompletions</a></td> 66 <td><a href="#CodeAssist.getCompletions">getCompletions</a></td>
67 <td>Public method to calculate the possible completions.</td> 67 <td>Public method to calculate the possible completions.</td>
68 </tr><tr>
69 <td><a href="#CodeAssist.reportChanged">reportChanged</a></td>
70 <td>Public slot to report some changed sources.</td>
68 </tr> 71 </tr>
69 </table> 72 </table>
70 <h3>Static Methods</h3> 73 <h3>Static Methods</h3>
71 <table> 74 <table>
72 <tr><td>None</td></tr> 75 <tr><td>None</td></tr>
73 </table> 76 </table>
74 <a NAME="CodeAssist.__init__" ID="CodeAssist.__init__"></a> 77 <a NAME="CodeAssist.__init__" ID="CodeAssist.__init__"></a>
75 <h4>CodeAssist (Constructor)</h4> 78 <h4>CodeAssist (Constructor)</h4>
76 <b>CodeAssist</b>(<i>refactoring, editor, plugin, parent = None</i>) 79 <b>CodeAssist</b>(<i>plugin, parent = None</i>)
77 <p> 80 <p>
78 Constructor 81 Constructor
79 </p><dl> 82 </p><dl>
80 <dt><i>refactoring</i></dt> 83 <dt><i>plugin</i></dt>
81 <dd>
82 reference to the rope refactoring object
83 (Refactoring)
84 </dd><dt><i>editor</i></dt>
85 <dd>
86 reference to the editor object, that called this method
87 QScintilla.Editor)
88 </dd><dt><i>plugin</i></dt>
89 <dd> 84 <dd>
90 reference to the plugin object 85 reference to the plugin object
91 </dd><dt><i>parent</i></dt> 86 </dd><dt><i>parent</i></dt>
92 <dd> 87 <dd>
93 parent (QObject) 88 parent (QObject)
94 </dd> 89 </dd>
95 </dl><a NAME="CodeAssist.getCallTips" ID="CodeAssist.getCallTips"></a> 90 </dl><a NAME="CodeAssist.getCallTips" ID="CodeAssist.getCallTips"></a>
96 <h4>CodeAssist.getCallTips</h4> 91 <h4>CodeAssist.getCallTips</h4>
97 <b>getCallTips</b>(<i>pos</i>) 92 <b>getCallTips</b>(<i>pos, editor</i>)
98 <p> 93 <p>
99 Public method to calculate calltips. 94 Public method to calculate calltips.
100 </p><dl> 95 </p><dl>
101 <dt><i>pos</i></dt> 96 <dt><i>editor</i></dt>
97 <dd>
98 reference to the editor object, that called this method
99 QScintilla.Editor)
100 </dd><dt><i>pos</i></dt>
102 <dd> 101 <dd>
103 position in the text for the calltip (integer) 102 position in the text for the calltip (integer)
104 </dd> 103 </dd>
105 </dl><dl> 104 </dl><dl>
106 <dt>Returns:</dt> 105 <dt>Returns:</dt>
107 <dd> 106 <dd>
108 list of possible calltips (list of strings) 107 list of possible calltips (list of strings)
109 </dd> 108 </dd>
110 </dl><a NAME="CodeAssist.getCompletions" ID="CodeAssist.getCompletions"></a> 109 </dl><a NAME="CodeAssist.getCompletions" ID="CodeAssist.getCompletions"></a>
111 <h4>CodeAssist.getCompletions</h4> 110 <h4>CodeAssist.getCompletions</h4>
112 <b>getCompletions</b>(<i></i>) 111 <b>getCompletions</b>(<i>editor</i>)
113 <p> 112 <p>
114 Public method to calculate the possible completions. 113 Public method to calculate the possible completions.
115 </p><dl> 114 </p><dl>
115 <dt><i>editor</i></dt>
116 <dd>
117 reference to the editor object, that called this method
118 QScintilla.Editor)
119 </dd>
120 </dl><dl>
116 <dt>Returns:</dt> 121 <dt>Returns:</dt>
117 <dd> 122 <dd>
118 list of proposals (QStringList) 123 list of proposals (QStringList)
124 </dd>
125 </dl><a NAME="CodeAssist.reportChanged" ID="CodeAssist.reportChanged"></a>
126 <h4>CodeAssist.reportChanged</h4>
127 <b>reportChanged</b>(<i>filename, oldSource</i>)
128 <p>
129 Public slot to report some changed sources.
130 </p><dl>
131 <dt><i>filename</i></dt>
132 <dd>
133 file name of the changed source (string)
134 </dd><dt><i>oldSource</i></dt>
135 <dd>
136 source code before the change (string)
119 </dd> 137 </dd>
120 </dl> 138 </dl>
121 <div align="right"><a href="#top">Up</a></div> 139 <div align="right"><a href="#top">Up</a></div>
122 <hr /> 140 <hr />
123 </body></html> 141 </body></html>

eric ide

mercurial