Documentation/Source/eric5.Plugins.PluginSyntaxChecker.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Plugins.PluginSyntaxChecker</h1> 23 <h1>eric5.Plugins.PluginSyntaxChecker</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#84;&#97;&#98;&#110;&#97;&#110;&#110;y &#112;&#108;&#117;&#103;&#105;&#110;. 25 Module implementing the Tabnanny plugin.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr> 29 <tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#SyntaxCheckerPlugin">SyntaxCheckerPlugin</a></td> 34 <td><a href="#SyntaxCheckerPlugin">SyntaxCheckerPlugin</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#83;y&#110;&#116;&#97;x &#67;&#104;&#101;&#99;&#107;&#101;&#114; &#112;&#108;&#117;&#103;&#105;&#110;.</td> 35 <td>Class implementing the Syntax Checker plugin.</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr><td>None</td></tr> 40 <tr><td>None</td></tr>
41 </table> 41 </table>
42 <hr /><hr /> 42 <hr /><hr />
43 <a NAME="SyntaxCheckerPlugin" ID="SyntaxCheckerPlugin"></a> 43 <a NAME="SyntaxCheckerPlugin" ID="SyntaxCheckerPlugin"></a>
44 <h2>SyntaxCheckerPlugin</h2> 44 <h2>SyntaxCheckerPlugin</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#83;y&#110;&#116;&#97;x &#67;&#104;&#101;&#99;&#107;&#101;&#114; &#112;&#108;&#117;&#103;&#105;&#110;. 46 Class implementing the Syntax Checker plugin.
47 </p> 47 </p>
48 <h3>Derived from</h3> 48 <h3>Derived from</h3>
49 QObject 49 QObject
50 <h3>Class Attributes</h3> 50 <h3>Class Attributes</h3>
51 <table> 51 <table>
53 </table> 53 </table>
54 <h3>Methods</h3> 54 <h3>Methods</h3>
55 <table> 55 <table>
56 <tr> 56 <tr>
57 <td><a href="#SyntaxCheckerPlugin.__init__">SyntaxCheckerPlugin</a></td> 57 <td><a href="#SyntaxCheckerPlugin.__init__">SyntaxCheckerPlugin</a></td>
58 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 58 <td>Constructor</td>
59 </tr><tr> 59 </tr><tr>
60 <td><a href="#SyntaxCheckerPlugin.__editorClosed">__editorClosed</a></td> 60 <td><a href="#SyntaxCheckerPlugin.__editorClosed">__editorClosed</a></td>
61 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100;, w&#104;&#101;&#110; &#97;&#110; &#101;&#100;&#105;&#116;&#111;&#114; w&#97;&#115; &#99;&#108;&#111;&#115;&#101;&#100;.</td> 61 <td>Private slot called, when an editor was closed.</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#SyntaxCheckerPlugin.__editorOpened">__editorOpened</a></td> 63 <td><a href="#SyntaxCheckerPlugin.__editorOpened">__editorOpened</a></td>
64 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100;, w&#104;&#101;&#110; &#97; &#110;&#101;w &#101;&#100;&#105;&#116;&#111;&#114; w&#97;&#115; &#111;&#112;&#101;&#110;&#101;&#100;.</td> 64 <td>Private slot called, when a new editor was opened.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#SyntaxCheckerPlugin.__editorShowMenu">__editorShowMenu</a></td> 66 <td><a href="#SyntaxCheckerPlugin.__editorShowMenu">__editorShowMenu</a></td>
67 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100;, w&#104;&#101;&#110; &#116;&#104;&#101; &#116;&#104;&#101; &#101;&#100;&#105;&#116;&#111;&#114; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#111;&#114; &#97; &#115;&#117;&#98;&#109;&#101;&#110;&#117; &#105;&#115; &#97;&#98;&#111;&#117;&#116; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110;.</td> 67 <td>Private slot called, when the the editor context menu or a submenu is about to be shown.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#SyntaxCheckerPlugin.__editorSyntaxCheck">__editorSyntaxCheck</a></td> 69 <td><a href="#SyntaxCheckerPlugin.__editorSyntaxCheck">__editorSyntaxCheck</a></td>
70 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#115;y&#110;&#116;&#97;x &#99;&#104;&#101;&#99;&#107; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#101;&#100;&#105;&#116;&#111;&#114;&#115;.</td> 70 <td>Private slot to handle the syntax check context menu action of the editors.</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#SyntaxCheckerPlugin.__initialize">__initialize</a></td> 72 <td><a href="#SyntaxCheckerPlugin.__initialize">__initialize</a></td>
73 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; (&#114;&#101;)&#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; &#112;&#108;&#117;&#103;&#105;&#110;.</td> 73 <td>Private slot to (re)initialize the plugin.</td>
74 </tr><tr> 74 </tr><tr>
75 <td><a href="#SyntaxCheckerPlugin.__projectBrowserShowMenu">__projectBrowserShowMenu</a></td> 75 <td><a href="#SyntaxCheckerPlugin.__projectBrowserShowMenu">__projectBrowserShowMenu</a></td>
76 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100;, w&#104;&#101;&#110; &#116;&#104;&#101; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#98;&#114;&#111;w&#115;&#101;&#114; &#109;&#101;&#110;&#117; &#111;&#114; &#97; &#115;&#117;&#98;&#109;&#101;&#110;&#117; &#105;&#115; &#97;&#98;&#111;&#117;&#116; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110;.</td> 76 <td>Private slot called, when the the project browser menu or a submenu is about to be shown.</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#SyntaxCheckerPlugin.__projectBrowserSyntaxCheck">__projectBrowserSyntaxCheck</a></td> 78 <td><a href="#SyntaxCheckerPlugin.__projectBrowserSyntaxCheck">__projectBrowserSyntaxCheck</a></td>
79 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#115;y&#110;&#116;&#97;x &#99;&#104;&#101;&#99;&#107; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#115;&#111;&#117;&#114;&#99;&#101;&#115; &#98;&#114;&#111;w&#115;&#101;&#114;.</td> 79 <td>Private method to handle the syntax check context menu action of the project sources browser.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#SyntaxCheckerPlugin.__projectShowMenu">__projectShowMenu</a></td> 81 <td><a href="#SyntaxCheckerPlugin.__projectShowMenu">__projectShowMenu</a></td>
82 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100;, w&#104;&#101;&#110; &#116;&#104;&#101; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#109;&#101;&#110;&#117; &#111;&#114; &#97; &#115;&#117;&#98;&#109;&#101;&#110;&#117; &#105;&#115; &#97;&#98;&#111;&#117;&#116; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110;.</td> 82 <td>Private slot called, when the the project menu or a submenu is about to be shown.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#SyntaxCheckerPlugin.__projectSyntaxCheck">__projectSyntaxCheck</a></td> 84 <td><a href="#SyntaxCheckerPlugin.__projectSyntaxCheck">__projectSyntaxCheck</a></td>
85 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#117;&#115;&#101;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#102;&#105;&#108;&#101;&#115; &#102;&#111;&#114; &#98;&#97;&#100; &#105;&#110;&#100;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110;&#115;.</td> 85 <td>Public slot used to check the project files for bad indentations.</td>
86 </tr><tr> 86 </tr><tr>
87 <td><a href="#SyntaxCheckerPlugin.activate">activate</a></td> 87 <td><a href="#SyntaxCheckerPlugin.activate">activate</a></td>
88 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#99;&#116;&#105;v&#97;&#116;&#101; &#116;&#104;&#105;&#115; &#112;&#108;&#117;&#103;&#105;&#110;.</td> 88 <td>Public method to activate this plugin.</td>
89 </tr><tr> 89 </tr><tr>
90 <td><a href="#SyntaxCheckerPlugin.deactivate">deactivate</a></td> 90 <td><a href="#SyntaxCheckerPlugin.deactivate">deactivate</a></td>
91 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#97;&#99;&#116;&#105;v&#97;&#116;&#101; &#116;&#104;&#105;&#115; &#112;&#108;&#117;&#103;&#105;&#110;.</td> 91 <td>Public method to deactivate this plugin.</td>
92 </tr> 92 </tr>
93 </table> 93 </table>
94 <a NAME="SyntaxCheckerPlugin.__init__" ID="SyntaxCheckerPlugin.__init__"></a> 94 <a NAME="SyntaxCheckerPlugin.__init__" ID="SyntaxCheckerPlugin.__init__"></a>
95 <h4>SyntaxCheckerPlugin (Constructor)</h4> 95 <h4>SyntaxCheckerPlugin (Constructor)</h4>
96 <b>SyntaxCheckerPlugin</b>(<i>ui</i>) 96 <b>SyntaxCheckerPlugin</b>(<i>ui</i>)
97 <p> 97 <p>
98 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 98 Constructor
99 </p><dl> 99 </p><dl>
100 <dt><i>ui</i></dt> 100 <dt><i>ui</i></dt>
101 <dd> 101 <dd>
102 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#117;&#115;&#101;&#114; &#105;&#110;&#116;&#101;&#114;&#102;&#97;&#99;&#101; &#111;&#98;&#106;&#101;&#99;&#116; (&#85;&#73;.&#85;&#115;&#101;&#114;&#73;&#110;&#116;&#101;&#114;&#102;&#97;&#99;&#101;) 102 reference to the user interface object (UI.UserInterface)
103 </dd> 103 </dd>
104 </dl><a NAME="SyntaxCheckerPlugin.__editorClosed" ID="SyntaxCheckerPlugin.__editorClosed"></a> 104 </dl><a NAME="SyntaxCheckerPlugin.__editorClosed" ID="SyntaxCheckerPlugin.__editorClosed"></a>
105 <h4>SyntaxCheckerPlugin.__editorClosed</h4> 105 <h4>SyntaxCheckerPlugin.__editorClosed</h4>
106 <b>__editorClosed</b>(<i>editor</i>) 106 <b>__editorClosed</b>(<i>editor</i>)
107 <p> 107 <p>
108 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100;, w&#104;&#101;&#110; &#97;&#110; &#101;&#100;&#105;&#116;&#111;&#114; w&#97;&#115; &#99;&#108;&#111;&#115;&#101;&#100;. 108 Private slot called, when an editor was closed.
109 </p><dl> 109 </p><dl>
110 <dt><i>editor</i></dt> 110 <dt><i>editor</i></dt>
111 <dd> 111 <dd>
112 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#101;&#100;&#105;&#116;&#111;&#114; (&#81;&#83;&#99;&#105;&#110;&#116;&#105;&#108;&#108;&#97;.&#69;&#100;&#105;&#116;&#111;&#114;) 112 reference to the editor (QScintilla.Editor)
113 </dd> 113 </dd>
114 </dl><a NAME="SyntaxCheckerPlugin.__editorOpened" ID="SyntaxCheckerPlugin.__editorOpened"></a> 114 </dl><a NAME="SyntaxCheckerPlugin.__editorOpened" ID="SyntaxCheckerPlugin.__editorOpened"></a>
115 <h4>SyntaxCheckerPlugin.__editorOpened</h4> 115 <h4>SyntaxCheckerPlugin.__editorOpened</h4>
116 <b>__editorOpened</b>(<i>editor</i>) 116 <b>__editorOpened</b>(<i>editor</i>)
117 <p> 117 <p>
118 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100;, w&#104;&#101;&#110; &#97; &#110;&#101;w &#101;&#100;&#105;&#116;&#111;&#114; w&#97;&#115; &#111;&#112;&#101;&#110;&#101;&#100;. 118 Private slot called, when a new editor was opened.
119 </p><dl> 119 </p><dl>
120 <dt><i>editor</i></dt> 120 <dt><i>editor</i></dt>
121 <dd> 121 <dd>
122 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#110;&#101;w &#101;&#100;&#105;&#116;&#111;&#114; (&#81;&#83;&#99;&#105;&#110;&#116;&#105;&#108;&#108;&#97;.&#69;&#100;&#105;&#116;&#111;&#114;) 122 reference to the new editor (QScintilla.Editor)
123 </dd> 123 </dd>
124 </dl><a NAME="SyntaxCheckerPlugin.__editorShowMenu" ID="SyntaxCheckerPlugin.__editorShowMenu"></a> 124 </dl><a NAME="SyntaxCheckerPlugin.__editorShowMenu" ID="SyntaxCheckerPlugin.__editorShowMenu"></a>
125 <h4>SyntaxCheckerPlugin.__editorShowMenu</h4> 125 <h4>SyntaxCheckerPlugin.__editorShowMenu</h4>
126 <b>__editorShowMenu</b>(<i>menuName, menu, editor</i>) 126 <b>__editorShowMenu</b>(<i>menuName, menu, editor</i>)
127 <p> 127 <p>
128 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100;, w&#104;&#101;&#110; &#116;&#104;&#101; &#116;&#104;&#101; &#101;&#100;&#105;&#116;&#111;&#114; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#111;&#114; &#97; &#115;&#117;&#98;&#109;&#101;&#110;&#117; &#105;&#115; 128 Private slot called, when the the editor context menu or a submenu is
129 &#97;&#98;&#111;&#117;&#116; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110;. 129 about to be shown.
130 </p><dl> 130 </p><dl>
131 <dt><i>menuName</i></dt> 131 <dt><i>menuName</i></dt>
132 <dd> 132 <dd>
133 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#109;&#101;&#110;&#117; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110; (&#115;&#116;&#114;&#105;&#110;&#103;) 133 name of the menu to be shown (string)
134 </dd><dt><i>menu</i></dt> 134 </dd><dt><i>menu</i></dt>
135 <dd> 135 <dd>
136 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#109;&#101;&#110;&#117; (&#81;&#77;&#101;&#110;&#117;) 136 reference to the menu (QMenu)
137 </dd><dt><i>editor</i></dt> 137 </dd><dt><i>editor</i></dt>
138 <dd> 138 <dd>
139 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#101;&#100;&#105;&#116;&#111;&#114; 139 reference to the editor
140 </dd> 140 </dd>
141 </dl><a NAME="SyntaxCheckerPlugin.__editorSyntaxCheck" ID="SyntaxCheckerPlugin.__editorSyntaxCheck"></a> 141 </dl><a NAME="SyntaxCheckerPlugin.__editorSyntaxCheck" ID="SyntaxCheckerPlugin.__editorSyntaxCheck"></a>
142 <h4>SyntaxCheckerPlugin.__editorSyntaxCheck</h4> 142 <h4>SyntaxCheckerPlugin.__editorSyntaxCheck</h4>
143 <b>__editorSyntaxCheck</b>(<i></i>) 143 <b>__editorSyntaxCheck</b>(<i></i>)
144 <p> 144 <p>
145 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#115;y&#110;&#116;&#97;x &#99;&#104;&#101;&#99;&#107; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#101;&#100;&#105;&#116;&#111;&#114;&#115;. 145 Private slot to handle the syntax check context menu action of the editors.
146 </p><a NAME="SyntaxCheckerPlugin.__initialize" ID="SyntaxCheckerPlugin.__initialize"></a> 146 </p><a NAME="SyntaxCheckerPlugin.__initialize" ID="SyntaxCheckerPlugin.__initialize"></a>
147 <h4>SyntaxCheckerPlugin.__initialize</h4> 147 <h4>SyntaxCheckerPlugin.__initialize</h4>
148 <b>__initialize</b>(<i></i>) 148 <b>__initialize</b>(<i></i>)
149 <p> 149 <p>
150 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; (&#114;&#101;)&#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; &#112;&#108;&#117;&#103;&#105;&#110;. 150 Private slot to (re)initialize the plugin.
151 </p><a NAME="SyntaxCheckerPlugin.__projectBrowserShowMenu" ID="SyntaxCheckerPlugin.__projectBrowserShowMenu"></a> 151 </p><a NAME="SyntaxCheckerPlugin.__projectBrowserShowMenu" ID="SyntaxCheckerPlugin.__projectBrowserShowMenu"></a>
152 <h4>SyntaxCheckerPlugin.__projectBrowserShowMenu</h4> 152 <h4>SyntaxCheckerPlugin.__projectBrowserShowMenu</h4>
153 <b>__projectBrowserShowMenu</b>(<i>menuName, menu</i>) 153 <b>__projectBrowserShowMenu</b>(<i>menuName, menu</i>)
154 <p> 154 <p>
155 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100;, w&#104;&#101;&#110; &#116;&#104;&#101; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#98;&#114;&#111;w&#115;&#101;&#114; &#109;&#101;&#110;&#117; &#111;&#114; &#97; &#115;&#117;&#98;&#109;&#101;&#110;&#117; &#105;&#115; 155 Private slot called, when the the project browser menu or a submenu is
156 &#97;&#98;&#111;&#117;&#116; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110;. 156 about to be shown.
157 </p><dl> 157 </p><dl>
158 <dt><i>menuName</i></dt> 158 <dt><i>menuName</i></dt>
159 <dd> 159 <dd>
160 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#109;&#101;&#110;&#117; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110; (&#115;&#116;&#114;&#105;&#110;&#103;) 160 name of the menu to be shown (string)
161 </dd><dt><i>menu</i></dt> 161 </dd><dt><i>menu</i></dt>
162 <dd> 162 <dd>
163 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#109;&#101;&#110;&#117; (&#81;&#77;&#101;&#110;&#117;) 163 reference to the menu (QMenu)
164 </dd> 164 </dd>
165 </dl><a NAME="SyntaxCheckerPlugin.__projectBrowserSyntaxCheck" ID="SyntaxCheckerPlugin.__projectBrowserSyntaxCheck"></a> 165 </dl><a NAME="SyntaxCheckerPlugin.__projectBrowserSyntaxCheck" ID="SyntaxCheckerPlugin.__projectBrowserSyntaxCheck"></a>
166 <h4>SyntaxCheckerPlugin.__projectBrowserSyntaxCheck</h4> 166 <h4>SyntaxCheckerPlugin.__projectBrowserSyntaxCheck</h4>
167 <b>__projectBrowserSyntaxCheck</b>(<i></i>) 167 <b>__projectBrowserSyntaxCheck</b>(<i></i>)
168 <p> 168 <p>
169 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#115;y&#110;&#116;&#97;x &#99;&#104;&#101;&#99;&#107; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; 169 Private method to handle the syntax check context menu action of the project
170 &#115;&#111;&#117;&#114;&#99;&#101;&#115; &#98;&#114;&#111;w&#115;&#101;&#114;. 170 sources browser.
171 </p><a NAME="SyntaxCheckerPlugin.__projectShowMenu" ID="SyntaxCheckerPlugin.__projectShowMenu"></a> 171 </p><a NAME="SyntaxCheckerPlugin.__projectShowMenu" ID="SyntaxCheckerPlugin.__projectShowMenu"></a>
172 <h4>SyntaxCheckerPlugin.__projectShowMenu</h4> 172 <h4>SyntaxCheckerPlugin.__projectShowMenu</h4>
173 <b>__projectShowMenu</b>(<i>menuName, menu</i>) 173 <b>__projectShowMenu</b>(<i>menuName, menu</i>)
174 <p> 174 <p>
175 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100;, w&#104;&#101;&#110; &#116;&#104;&#101; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#109;&#101;&#110;&#117; &#111;&#114; &#97; &#115;&#117;&#98;&#109;&#101;&#110;&#117; &#105;&#115; 175 Private slot called, when the the project menu or a submenu is
176 &#97;&#98;&#111;&#117;&#116; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110;. 176 about to be shown.
177 </p><dl> 177 </p><dl>
178 <dt><i>menuName</i></dt> 178 <dt><i>menuName</i></dt>
179 <dd> 179 <dd>
180 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#109;&#101;&#110;&#117; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110; (&#115;&#116;&#114;&#105;&#110;&#103;) 180 name of the menu to be shown (string)
181 </dd><dt><i>menu</i></dt> 181 </dd><dt><i>menu</i></dt>
182 <dd> 182 <dd>
183 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#109;&#101;&#110;&#117; (&#81;&#77;&#101;&#110;&#117;) 183 reference to the menu (QMenu)
184 </dd> 184 </dd>
185 </dl><a NAME="SyntaxCheckerPlugin.__projectSyntaxCheck" ID="SyntaxCheckerPlugin.__projectSyntaxCheck"></a> 185 </dl><a NAME="SyntaxCheckerPlugin.__projectSyntaxCheck" ID="SyntaxCheckerPlugin.__projectSyntaxCheck"></a>
186 <h4>SyntaxCheckerPlugin.__projectSyntaxCheck</h4> 186 <h4>SyntaxCheckerPlugin.__projectSyntaxCheck</h4>
187 <b>__projectSyntaxCheck</b>(<i></i>) 187 <b>__projectSyntaxCheck</b>(<i></i>)
188 <p> 188 <p>
189 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#117;&#115;&#101;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#102;&#105;&#108;&#101;&#115; &#102;&#111;&#114; &#98;&#97;&#100; &#105;&#110;&#100;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110;&#115;. 189 Public slot used to check the project files for bad indentations.
190 </p><a NAME="SyntaxCheckerPlugin.activate" ID="SyntaxCheckerPlugin.activate"></a> 190 </p><a NAME="SyntaxCheckerPlugin.activate" ID="SyntaxCheckerPlugin.activate"></a>
191 <h4>SyntaxCheckerPlugin.activate</h4> 191 <h4>SyntaxCheckerPlugin.activate</h4>
192 <b>activate</b>(<i></i>) 192 <b>activate</b>(<i></i>)
193 <p> 193 <p>
194 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#99;&#116;&#105;v&#97;&#116;&#101; &#116;&#104;&#105;&#115; &#112;&#108;&#117;&#103;&#105;&#110;. 194 Public method to activate this plugin.
195 </p><dl> 195 </p><dl>
196 <dt>Returns:</dt> 196 <dt>Returns:</dt>
197 <dd> 197 <dd>
198 &#116;&#117;&#112;&#108;&#101; &#111;&#102; &#78;&#111;&#110;&#101; &#97;&#110;&#100; &#97;&#99;&#116;&#105;v&#97;&#116;&#105;&#111;&#110; &#115;&#116;&#97;&#116;&#117;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 198 tuple of None and activation status (boolean)
199 </dd> 199 </dd>
200 </dl><a NAME="SyntaxCheckerPlugin.deactivate" ID="SyntaxCheckerPlugin.deactivate"></a> 200 </dl><a NAME="SyntaxCheckerPlugin.deactivate" ID="SyntaxCheckerPlugin.deactivate"></a>
201 <h4>SyntaxCheckerPlugin.deactivate</h4> 201 <h4>SyntaxCheckerPlugin.deactivate</h4>
202 <b>deactivate</b>(<i></i>) 202 <b>deactivate</b>(<i></i>)
203 <p> 203 <p>
204 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#97;&#99;&#116;&#105;v&#97;&#116;&#101; &#116;&#104;&#105;&#115; &#112;&#108;&#117;&#103;&#105;&#110;. 204 Public method to deactivate this plugin.
205 </p> 205 </p>
206 <div align="right"><a href="#top">Up</a></div> 206 <div align="right"><a href="#top">Up</a></div>
207 <hr /> 207 <hr />
208 </body></html> 208 </body></html>

eric ide

mercurial