src/eric7/Documentation/Source/eric7.ViewManager.ViewManager.html

branch
eric7
changeset 10436
f6881d10e995
parent 10382
708119d4377f
child 10465
56a3364150b1
equal deleted inserted replaced
10435:c712d09cc839 10436:f6881d10e995
1245 <p> 1245 <p>
1246 Private slot to handle a change of the AST Viewer selection state. 1246 Private slot to handle a change of the AST Viewer selection state.
1247 </p> 1247 </p>
1248 <dl> 1248 <dl>
1249 1249
1250 <dt><i>checked</i></dt> 1250 <dt><i>checked</i> (bool)</dt>
1251 <dd> 1251 <dd>
1252 state of the action (boolean) 1252 state of the action
1253 </dd> 1253 </dd>
1254 </dl> 1254 </dl>
1255 <a NAME="ViewManager.__bookmarkSelected" ID="ViewManager.__bookmarkSelected"></a> 1255 <a NAME="ViewManager.__bookmarkSelected" ID="ViewManager.__bookmarkSelected"></a>
1256 <h4>ViewManager.__bookmarkSelected</h4> 1256 <h4>ViewManager.__bookmarkSelected</h4>
1257 <b>__bookmarkSelected</b>(<i>act</i>) 1257 <b>__bookmarkSelected</b>(<i>act</i>)
1259 <p> 1259 <p>
1260 Private method to handle the bookmark selected signal. 1260 Private method to handle the bookmark selected signal.
1261 </p> 1261 </p>
1262 <dl> 1262 <dl>
1263 1263
1264 <dt><i>act</i></dt> 1264 <dt><i>act</i> (QAction)</dt>
1265 <dd> 1265 <dd>
1266 reference to the action that triggered (QAction) 1266 reference to the action that triggered
1267 </dd> 1267 </dd>
1268 </dl> 1268 </dl>
1269 <a NAME="ViewManager.__bookmarkToggled" ID="ViewManager.__bookmarkToggled"></a> 1269 <a NAME="ViewManager.__bookmarkToggled" ID="ViewManager.__bookmarkToggled"></a>
1270 <h4>ViewManager.__bookmarkToggled</h4> 1270 <h4>ViewManager.__bookmarkToggled</h4>
1271 <b>__bookmarkToggled</b>(<i>editor</i>) 1271 <b>__bookmarkToggled</b>(<i>editor</i>)
1276 <p> 1276 <p>
1277 It checks some bookmark actions and reemits the signal. 1277 It checks some bookmark actions and reemits the signal.
1278 </p> 1278 </p>
1279 <dl> 1279 <dl>
1280 1280
1281 <dt><i>editor</i></dt> 1281 <dt><i>editor</i> (Editor)</dt>
1282 <dd> 1282 <dd>
1283 editor that sent the signal 1283 editor that sent the signal
1284 </dd> 1284 </dd>
1285 </dl> 1285 </dl>
1286 <a NAME="ViewManager.__breakpointToggled" ID="ViewManager.__breakpointToggled"></a> 1286 <a NAME="ViewManager.__breakpointToggled" ID="ViewManager.__breakpointToggled"></a>
1293 <p> 1293 <p>
1294 It simply reemits the signal. 1294 It simply reemits the signal.
1295 </p> 1295 </p>
1296 <dl> 1296 <dl>
1297 1297
1298 <dt><i>editor</i></dt> 1298 <dt><i>editor</i> (Editor)</dt>
1299 <dd> 1299 <dd>
1300 editor that sent the signal 1300 editor that sent the signal
1301 </dd> 1301 </dd>
1302 </dl> 1302 </dl>
1303 <a NAME="ViewManager.__changeMarkersUpdated" ID="ViewManager.__changeMarkersUpdated"></a> 1303 <a NAME="ViewManager.__changeMarkersUpdated" ID="ViewManager.__changeMarkersUpdated"></a>
1307 <p> 1307 <p>
1308 Private slot to handle the changeMarkersUpdated signal. 1308 Private slot to handle the changeMarkersUpdated signal.
1309 </p> 1309 </p>
1310 <dl> 1310 <dl>
1311 1311
1312 <dt><i>editor</i></dt> 1312 <dt><i>editor</i> (Editor)</dt>
1313 <dd> 1313 <dd>
1314 editor that sent the signal 1314 editor that sent the signal
1315 </dd> 1315 </dd>
1316 </dl> 1316 </dl>
1317 <a NAME="ViewManager.__clearAllBookmarks" ID="ViewManager.__clearAllBookmarks"></a> 1317 <a NAME="ViewManager.__clearAllBookmarks" ID="ViewManager.__clearAllBookmarks"></a>
1356 <p> 1356 <p>
1357 Private method to establish all editor connections. 1357 Private method to establish all editor connections.
1358 </p> 1358 </p>
1359 <dl> 1359 <dl>
1360 1360
1361 <dt><i>editor</i></dt> 1361 <dt><i>editor</i> (Editor)</dt>
1362 <dd> 1362 <dd>
1363 reference to the editor object to be connected 1363 reference to the editor object to be connected
1364 </dd> 1364 </dd>
1365 </dl> 1365 </dl>
1366 <a NAME="ViewManager.__convertEOL" ID="ViewManager.__convertEOL"></a> 1366 <a NAME="ViewManager.__convertEOL" ID="ViewManager.__convertEOL"></a>
1377 <p> 1377 <p>
1378 Private slot to handle the coverageMarkersShown signal. 1378 Private slot to handle the coverageMarkersShown signal.
1379 </p> 1379 </p>
1380 <dl> 1380 <dl>
1381 1381
1382 <dt><i>shown</i></dt> 1382 <dt><i>shown</i> (bool)</dt>
1383 <dd> 1383 <dd>
1384 flag indicating whether the markers were shown or cleared 1384 flag indicating whether the markers were shown or cleared
1385 </dd> 1385 </dd>
1386 </dl> 1386 </dl>
1387 <a NAME="ViewManager.__cursorChanged" ID="ViewManager.__cursorChanged"></a> 1387 <a NAME="ViewManager.__cursorChanged" ID="ViewManager.__cursorChanged"></a>
1420 <p> 1420 <p>
1421 Private slot to handle a change of the DIS Viewer selection state. 1421 Private slot to handle a change of the DIS Viewer selection state.
1422 </p> 1422 </p>
1423 <dl> 1423 <dl>
1424 1424
1425 <dt><i>checked</i></dt> 1425 <dt><i>checked</i> (bool)</dt>
1426 <dd> 1426 <dd>
1427 state of the action (boolean) 1427 state of the action
1428 </dd> 1428 </dd>
1429 </dl> 1429 </dl>
1430 <a NAME="ViewManager.__editAutoComplete" ID="ViewManager.__editAutoComplete"></a> 1430 <a NAME="ViewManager.__editAutoComplete" ID="ViewManager.__editAutoComplete"></a>
1431 <h4>ViewManager.__editAutoComplete</h4> 1431 <h4>ViewManager.__editAutoComplete</h4>
1432 <b>__editAutoComplete</b>(<i></i>) 1432 <b>__editAutoComplete</b>(<i></i>)
1609 <p> 1609 <p>
1610 Private slot to edit the given spelling dictionary. 1610 Private slot to edit the given spelling dictionary.
1611 </p> 1611 </p>
1612 <dl> 1612 <dl>
1613 1613
1614 <dt><i>dictionaryFile</i></dt> 1614 <dt><i>dictionaryFile</i> (str)</dt>
1615 <dd> 1615 <dd>
1616 file name of the dictionary to edit (string) 1616 file name of the dictionary to edit
1617 </dd> 1617 </dd>
1618 </dl> 1618 </dl>
1619 <a NAME="ViewManager.__editStreamComment" ID="ViewManager.__editStreamComment"></a> 1619 <a NAME="ViewManager.__editStreamComment" ID="ViewManager.__editStreamComment"></a>
1620 <h4>ViewManager.__editStreamComment</h4> 1620 <h4>ViewManager.__editStreamComment</h4>
1621 <b>__editStreamComment</b>(<i></i>) 1621 <b>__editStreamComment</b>(<i></i>)
1691 <p> 1691 <p>
1692 Private method to send an editor command to the active window. 1692 Private method to send an editor command to the active window.
1693 </p> 1693 </p>
1694 <dl> 1694 <dl>
1695 1695
1696 <dt><i>cmd</i></dt> 1696 <dt><i>cmd</i> (int)</dt>
1697 <dd> 1697 <dd>
1698 the scintilla command to be sent 1698 the scintilla command to be sent
1699 </dd> 1699 </dd>
1700 </dl> 1700 </dl>
1701 <a NAME="ViewManager.__editorConfigChanged" ID="ViewManager.__editorConfigChanged"></a> 1701 <a NAME="ViewManager.__editorConfigChanged" ID="ViewManager.__editorConfigChanged"></a>
1815 <p> 1815 <p>
1816 Private method to get an EOL pixmap for an EOL string. 1816 Private method to get an EOL pixmap for an EOL string.
1817 </p> 1817 </p>
1818 <dl> 1818 <dl>
1819 1819
1820 <dt><i>eolIndicator</i></dt> 1820 <dt><i>eolIndicator</i> (str)</dt>
1821 <dd> 1821 <dd>
1822 eol indicator string (string) 1822 eol indicator string
1823 </dd> 1823 </dd>
1824 </dl> 1824 </dl>
1825 <dl> 1825 <dl>
1826 <dt>Return:</dt> 1826 <dt>Return:</dt>
1827 <dd> 1827 <dd>
1828 pixmap for the eol indicator (QPixmap) 1828 pixmap for the eol indicator
1829 </dd>
1830 </dl>
1831 <dl>
1832 <dt>Return Type:</dt>
1833 <dd>
1834 QPixmap
1829 </dd> 1835 </dd>
1830 </dl> 1836 </dl>
1831 <a NAME="ViewManager.__exportMenuTriggered" ID="ViewManager.__exportMenuTriggered"></a> 1837 <a NAME="ViewManager.__exportMenuTriggered" ID="ViewManager.__exportMenuTriggered"></a>
1832 <h4>ViewManager.__exportMenuTriggered</h4> 1838 <h4>ViewManager.__exportMenuTriggered</h4>
1833 <b>__exportMenuTriggered</b>(<i>act</i>) 1839 <b>__exportMenuTriggered</b>(<i>act</i>)
1835 <p> 1841 <p>
1836 Private method to handle the selection of an export format. 1842 Private method to handle the selection of an export format.
1837 </p> 1843 </p>
1838 <dl> 1844 <dl>
1839 1845
1840 <dt><i>act</i></dt> 1846 <dt><i>act</i> (QAction)</dt>
1841 <dd> 1847 <dd>
1842 reference to the action that was triggered (QAction) 1848 reference to the action that was triggered
1843 </dd> 1849 </dd>
1844 </dl> 1850 </dl>
1845 <a NAME="ViewManager.__findLocation" ID="ViewManager.__findLocation"></a> 1851 <a NAME="ViewManager.__findLocation" ID="ViewManager.__findLocation"></a>
1846 <h4>ViewManager.__findLocation</h4> 1852 <h4>ViewManager.__findLocation</h4>
1847 <b>__findLocation</b>(<i></i>) 1853 <b>__findLocation</b>(<i></i>)
1924 Private method used to setup the Exporters sub menu. 1930 Private method used to setup the Exporters sub menu.
1925 </p> 1931 </p>
1926 <dl> 1932 <dl>
1927 <dt>Return:</dt> 1933 <dt>Return:</dt>
1928 <dd> 1934 <dd>
1929 reference to the generated menu (QMenu) 1935 reference to the generated menu
1936 </dd>
1937 </dl>
1938 <dl>
1939 <dt>Return Type:</dt>
1940 <dd>
1941 QMenu
1930 </dd> 1942 </dd>
1931 </dl> 1943 </dl>
1932 <a NAME="ViewManager.__initEditActions" ID="ViewManager.__initEditActions"></a> 1944 <a NAME="ViewManager.__initEditActions" ID="ViewManager.__initEditActions"></a>
1933 <h4>ViewManager.__initEditActions</h4> 1945 <h4>ViewManager.__initEditActions</h4>
1934 <b>__initEditActions</b>(<i></i>) 1946 <b>__initEditActions</b>(<i></i>)
2137 <p> 2149 <p>
2138 Private method to open a file from the list of recently opened files. 2150 Private method to open a file from the list of recently opened files.
2139 </p> 2151 </p>
2140 <dl> 2152 <dl>
2141 2153
2142 <dt><i>act</i></dt> 2154 <dt><i>act</i> (QAction)</dt>
2143 <dd> 2155 <dd>
2144 reference to the action that triggered (QAction) 2156 reference to the action that triggered
2145 </dd> 2157 </dd>
2146 </dl> 2158 </dl>
2147 <a NAME="ViewManager.__previewEditor" ID="ViewManager.__previewEditor"></a> 2159 <a NAME="ViewManager.__previewEditor" ID="ViewManager.__previewEditor"></a>
2148 <h4>ViewManager.__previewEditor</h4> 2160 <h4>ViewManager.__previewEditor</h4>
2149 <b>__previewEditor</b>(<i>checked</i>) 2161 <b>__previewEditor</b>(<i>checked</i>)
2151 <p> 2163 <p>
2152 Private slot to handle a change of the preview selection state. 2164 Private slot to handle a change of the preview selection state.
2153 </p> 2165 </p>
2154 <dl> 2166 <dl>
2155 2167
2156 <dt><i>checked</i></dt> 2168 <dt><i>checked</i> (bool)</dt>
2157 <dd> 2169 <dd>
2158 state of the action (boolean) 2170 state of the action
2159 </dd> 2171 </dd>
2160 </dl> 2172 </dl>
2161 <a NAME="ViewManager.__previousBookmark" ID="ViewManager.__previousBookmark"></a> 2173 <a NAME="ViewManager.__previousBookmark" ID="ViewManager.__previousBookmark"></a>
2162 <h4>ViewManager.__previousBookmark</h4> 2174 <h4>ViewManager.__previousBookmark</h4>
2163 <b>__previousBookmark</b>(<i></i>) 2175 <b>__previousBookmark</b>(<i></i>)
2263 <p> 2275 <p>
2264 Private method to set the file info in the status bar. 2276 Private method to set the file info in the status bar.
2265 </p> 2277 </p>
2266 <dl> 2278 <dl>
2267 2279
2268 <dt><i>fn</i></dt> 2280 <dt><i>fn</i> (str)</dt>
2269 <dd> 2281 <dd>
2270 filename to display (string) 2282 filename to display
2271 </dd> 2283 </dd>
2272 <dt><i>line</i></dt> 2284 <dt><i>line</i> (int)</dt>
2273 <dd> 2285 <dd>
2274 line number to display (int) 2286 line number to display
2275 </dd> 2287 </dd>
2276 <dt><i>pos</i></dt> 2288 <dt><i>pos</i> (int)</dt>
2277 <dd> 2289 <dd>
2278 character position to display (int) 2290 character position to display
2279 </dd> 2291 </dd>
2280 <dt><i>encoding</i></dt> 2292 <dt><i>encoding</i> (str)</dt>
2281 <dd> 2293 <dd>
2282 encoding name to display (string) 2294 encoding name to display
2283 </dd> 2295 </dd>
2284 <dt><i>language</i></dt> 2296 <dt><i>language</i> (str)</dt>
2285 <dd> 2297 <dd>
2286 language to display (string) 2298 language to display
2287 </dd> 2299 </dd>
2288 <dt><i>eol</i></dt> 2300 <dt><i>eol</i> (str)</dt>
2289 <dd> 2301 <dd>
2290 eol indicator to display (string) 2302 eol indicator to display
2291 </dd> 2303 </dd>
2292 <dt><i>zoom</i></dt> 2304 <dt><i>zoom</i> (int)</dt>
2293 <dd> 2305 <dd>
2294 zoom value (integer) 2306 zoom value
2295 </dd> 2307 </dd>
2296 </dl> 2308 </dl>
2297 <a NAME="ViewManager.__shortenEmptyLines" ID="ViewManager.__shortenEmptyLines"></a> 2309 <a NAME="ViewManager.__shortenEmptyLines" ID="ViewManager.__shortenEmptyLines"></a>
2298 <h4>ViewManager.__shortenEmptyLines</h4> 2310 <h4>ViewManager.__shortenEmptyLines</h4>
2299 <b>__shortenEmptyLines</b>(<i></i>) 2311 <b>__shortenEmptyLines</b>(<i></i>)
2336 <p> 2348 <p>
2337 Private slot to show the Encodings menu of the current editor. 2349 Private slot to show the Encodings menu of the current editor.
2338 </p> 2350 </p>
2339 <dl> 2351 <dl>
2340 2352
2341 <dt><i>pos</i></dt> 2353 <dt><i>pos</i> (QPoint)</dt>
2342 <dd> 2354 <dd>
2343 position the menu should be shown at (QPoint) 2355 position the menu should be shown at
2344 </dd> 2356 </dd>
2345 </dl> 2357 </dl>
2346 <a NAME="ViewManager.__showEolMenu" ID="ViewManager.__showEolMenu"></a> 2358 <a NAME="ViewManager.__showEolMenu" ID="ViewManager.__showEolMenu"></a>
2347 <h4>ViewManager.__showEolMenu</h4> 2359 <h4>ViewManager.__showEolMenu</h4>
2348 <b>__showEolMenu</b>(<i>pos</i>) 2360 <b>__showEolMenu</b>(<i>pos</i>)
2350 <p> 2362 <p>
2351 Private slot to show the EOL menu of the current editor. 2363 Private slot to show the EOL menu of the current editor.
2352 </p> 2364 </p>
2353 <dl> 2365 <dl>
2354 2366
2355 <dt><i>pos</i></dt> 2367 <dt><i>pos</i> (QPoint)</dt>
2356 <dd> 2368 <dd>
2357 position the menu should be shown at (QPoint) 2369 position the menu should be shown at
2358 </dd> 2370 </dd>
2359 </dl> 2371 </dl>
2360 <a NAME="ViewManager.__showFileMenu" ID="ViewManager.__showFileMenu"></a> 2372 <a NAME="ViewManager.__showFileMenu" ID="ViewManager.__showFileMenu"></a>
2361 <h4>ViewManager.__showFileMenu</h4> 2373 <h4>ViewManager.__showFileMenu</h4>
2362 <b>__showFileMenu</b>(<i></i>) 2374 <b>__showFileMenu</b>(<i></i>)
2371 <p> 2383 <p>
2372 Private slot to show the Languages menu of the current editor. 2384 Private slot to show the Languages menu of the current editor.
2373 </p> 2385 </p>
2374 <dl> 2386 <dl>
2375 2387
2376 <dt><i>pos</i></dt> 2388 <dt><i>pos</i> (QPoint)</dt>
2377 <dd> 2389 <dd>
2378 position the menu should be shown at (QPoint) 2390 position the menu should be shown at
2379 </dd> 2391 </dd>
2380 </dl> 2392 </dl>
2381 <a NAME="ViewManager.__showRecentMenu" ID="ViewManager.__showRecentMenu"></a> 2393 <a NAME="ViewManager.__showRecentMenu" ID="ViewManager.__showRecentMenu"></a>
2382 <h4>ViewManager.__showRecentMenu</h4> 2394 <h4>ViewManager.__showRecentMenu</h4>
2383 <b>__showRecentMenu</b>(<i></i>) 2395 <b>__showRecentMenu</b>(<i></i>)
2399 <p> 2411 <p>
2400 Private method to handle the split orientation action. 2412 Private method to handle the split orientation action.
2401 </p> 2413 </p>
2402 <dl> 2414 <dl>
2403 2415
2404 <dt><i>checked</i></dt> 2416 <dt><i>checked</i> (bool)</dt>
2405 <dd> 2417 <dd>
2406 flag indicating the checked state of the action 2418 flag indicating the checked state of the action.
2407 (boolean). True means splitting horizontally. 2419 True means splitting horizontally.
2408 </dd> 2420 </dd>
2409 </dl> 2421 </dl>
2410 <a NAME="ViewManager.__splitView" ID="ViewManager.__splitView"></a> 2422 <a NAME="ViewManager.__splitView" ID="ViewManager.__splitView"></a>
2411 <h4>ViewManager.__splitView</h4> 2423 <h4>ViewManager.__splitView</h4>
2412 <b>__splitView</b>(<i></i>) 2424 <b>__splitView</b>(<i></i>)
2421 <p> 2433 <p>
2422 Private slot to handle the taskMarkersUpdated signal. 2434 Private slot to handle the taskMarkersUpdated signal.
2423 </p> 2435 </p>
2424 <dl> 2436 <dl>
2425 2437
2426 <dt><i>editor</i></dt> 2438 <dt><i>editor</i> (Editor)</dt>
2427 <dd> 2439 <dd>
2428 editor that sent the signal 2440 editor that sent the signal
2429 </dd> 2441 </dd>
2430 </dl> 2442 </dl>
2431 <a NAME="ViewManager.__toggleAll" ID="ViewManager.__toggleAll"></a> 2443 <a NAME="ViewManager.__toggleAll" ID="ViewManager.__toggleAll"></a>
2513 <p> 2525 <p>
2514 Private slot to zoom to a given value. 2526 Private slot to zoom to a given value.
2515 </p> 2527 </p>
2516 <dl> 2528 <dl>
2517 2529
2518 <dt><i>value</i></dt> 2530 <dt><i>value</i> (int)</dt>
2519 <dd> 2531 <dd>
2520 zoom value to be set (integer) 2532 zoom value to be set
2521 </dd> 2533 </dd>
2522 </dl> 2534 </dl>
2523 <a NAME="ViewManager._addView" ID="ViewManager._addView"></a> 2535 <a NAME="ViewManager._addView" ID="ViewManager._addView"></a>
2524 <h4>ViewManager._addView</h4> 2536 <h4>ViewManager._addView</h4>
2525 <b>_addView</b>(<i>win, fn=None, noName="", addNext=False, indexes=None</i>) 2537 <b>_addView</b>(<i>win, fn=None, noName="", addNext=False, indexes=None</i>)
2567 Protected slot to check some actions for their enable/disable status 2579 Protected slot to check some actions for their enable/disable status
2568 and set the statusbar info. 2580 and set the statusbar info.
2569 </p> 2581 </p>
2570 <dl> 2582 <dl>
2571 2583
2572 <dt><i>editor</i></dt> 2584 <dt><i>editor</i> (Editor)</dt>
2573 <dd> 2585 <dd>
2574 editor window 2586 editor window
2575 </dd> 2587 </dd>
2576 <dt><i>setSb</i></dt> 2588 <dt><i>setSb</i> (bool)</dt>
2577 <dd> 2589 <dd>
2578 flag indicating an update of the status bar is wanted 2590 flag indicating an update of the status bar is wanted
2579 (boolean)
2580 </dd> 2591 </dd>
2581 </dl> 2592 </dl>
2582 <a NAME="ViewManager._getOpenFileFilter" ID="ViewManager._getOpenFileFilter"></a> 2593 <a NAME="ViewManager._getOpenFileFilter" ID="ViewManager._getOpenFileFilter"></a>
2583 <h4>ViewManager._getOpenFileFilter</h4> 2594 <h4>ViewManager._getOpenFileFilter</h4>
2584 <b>_getOpenFileFilter</b>(<i></i>) 2595 <b>_getOpenFileFilter</b>(<i></i>)
2592 the currently active editor. 2603 the currently active editor.
2593 </p> 2604 </p>
2594 <dl> 2605 <dl>
2595 <dt>Return:</dt> 2606 <dt>Return:</dt>
2596 <dd> 2607 <dd>
2597 name of the filename filter (string) or None 2608 name of the filename filter
2609 </dd>
2610 </dl>
2611 <dl>
2612 <dt>Return Type:</dt>
2613 <dd>
2614 str
2598 </dd> 2615 </dd>
2599 </dl> 2616 </dl>
2600 <a NAME="ViewManager._getOpenStartDir" ID="ViewManager._getOpenStartDir"></a> 2617 <a NAME="ViewManager._getOpenStartDir" ID="ViewManager._getOpenStartDir"></a>
2601 <h4>ViewManager._getOpenStartDir</h4> 2618 <h4>ViewManager._getOpenStartDir</h4>
2602 <b>_getOpenStartDir</b>(<i></i>) 2619 <b>_getOpenStartDir</b>(<i></i>)
2613 3: CWD 2630 3: CWD
2614 </p> 2631 </p>
2615 <dl> 2632 <dl>
2616 <dt>Return:</dt> 2633 <dt>Return:</dt>
2617 <dd> 2634 <dd>
2618 name of directory to start (string) 2635 name of directory to start
2636 </dd>
2637 </dl>
2638 <dl>
2639 <dt>Return Type:</dt>
2640 <dd>
2641 str
2619 </dd> 2642 </dd>
2620 </dl> 2643 </dl>
2621 <a NAME="ViewManager._initWindowActions" ID="ViewManager._initWindowActions"></a> 2644 <a NAME="ViewManager._initWindowActions" ID="ViewManager._initWindowActions"></a>
2622 <h4>ViewManager._initWindowActions</h4> 2645 <h4>ViewManager._initWindowActions</h4>
2623 <b>_initWindowActions</b>(<i></i>) 2646 <b>_initWindowActions</b>(<i></i>)
2640 <p> 2663 <p>
2641 Protected slot to handle the modificationStatusChanged signal. 2664 Protected slot to handle the modificationStatusChanged signal.
2642 </p> 2665 </p>
2643 <dl> 2666 <dl>
2644 2667
2645 <dt><i>m</i></dt> 2668 <dt><i>m</i> (bool)</dt>
2646 <dd> 2669 <dd>
2647 flag indicating the modification status (boolean) 2670 flag indicating the modification status
2648 </dd> 2671 </dd>
2649 <dt><i>editor</i></dt> 2672 <dt><i>editor</i> (Editor)</dt>
2650 <dd> 2673 <dd>
2651 editor window changed 2674 editor window changed
2652 </dd> 2675 </dd>
2653 </dl> 2676 </dl>
2654 <dl> 2677 <dl>
2679 <p> 2702 <p>
2680 Protected method to remove a view (i.e. window). 2703 Protected method to remove a view (i.e. window).
2681 </p> 2704 </p>
2682 <dl> 2705 <dl>
2683 2706
2684 <dt><i>win</i></dt> 2707 <dt><i>win</i> (EditorAssembly)</dt>
2685 <dd> 2708 <dd>
2686 editor window to be removed 2709 editor window to be removed
2687 </dd> 2710 </dd>
2688 </dl> 2711 </dl>
2689 <dl> 2712 <dl>
2700 <p> 2723 <p>
2701 Protected method to show a view (i.e. window). 2724 Protected method to show a view (i.e. window).
2702 </p> 2725 </p>
2703 <dl> 2726 <dl>
2704 2727
2705 <dt><i>win</i></dt> 2728 <dt><i>win</i> (EditorAssembly)</dt>
2706 <dd> 2729 <dd>
2707 editor assembly to be shown 2730 editor assembly to be shown
2708 </dd> 2731 </dd>
2709 <dt><i>fn</i></dt> 2732 <dt><i>fn</i> (str)</dt>
2710 <dd> 2733 <dd>
2711 filename of this editor 2734 filename of this editor
2712 </dd> 2735 </dd>
2713 </dl> 2736 </dl>
2714 <dl> 2737 <dl>
2728 <p> 2751 <p>
2729 It checks some syntax error actions and reemits the signal. 2752 It checks some syntax error actions and reemits the signal.
2730 </p> 2753 </p>
2731 <dl> 2754 <dl>
2732 2755
2733 <dt><i>editor</i></dt> 2756 <dt><i>editor</i> (Editor)</dt>
2734 <dd> 2757 <dd>
2735 editor that sent the signal 2758 editor that sent the signal
2736 </dd> 2759 </dd>
2737 </dl> 2760 </dl>
2738 <a NAME="ViewManager.activeWindow" ID="ViewManager.activeWindow"></a> 2761 <a NAME="ViewManager.activeWindow" ID="ViewManager.activeWindow"></a>
2747 <dd> 2770 <dd>
2748 reference to the active editor 2771 reference to the active editor
2749 </dd> 2772 </dd>
2750 </dl> 2773 </dl>
2751 <dl> 2774 <dl>
2775 <dt>Return Type:</dt>
2776 <dd>
2777 Editor
2778 </dd>
2779 </dl>
2780 <dl>
2752 2781
2753 <dt>Raises <b>NotImplementedError</b>:</dt> 2782 <dt>Raises <b>NotImplementedError</b>:</dt>
2754 <dd> 2783 <dd>
2755 Not implemented 2784 Not implemented
2756 </dd> 2785 </dd>
2769 <p> 2798 <p>
2770 Public method to add some actions to the Extras menu. 2799 Public method to add some actions to the Extras menu.
2771 </p> 2800 </p>
2772 <dl> 2801 <dl>
2773 2802
2774 <dt><i>menu</i></dt> 2803 <dt><i>menu</i> (QMenu)</dt>
2775 <dd> 2804 <dd>
2776 reference to the menu to add actions to (QMenu) 2805 reference to the menu to add actions to
2777 </dd> 2806 </dd>
2778 </dl> 2807 </dl>
2779 <a NAME="ViewManager.addToRecentList" ID="ViewManager.addToRecentList"></a> 2808 <a NAME="ViewManager.addToRecentList" ID="ViewManager.addToRecentList"></a>
2780 <h4>ViewManager.addToRecentList</h4> 2809 <h4>ViewManager.addToRecentList</h4>
2781 <b>addToRecentList</b>(<i>fn</i>) 2810 <b>addToRecentList</b>(<i>fn</i>)
2783 <p> 2812 <p>
2784 Public slot to add a filename to the list of recently opened files. 2813 Public slot to add a filename to the list of recently opened files.
2785 </p> 2814 </p>
2786 <dl> 2815 <dl>
2787 2816
2788 <dt><i>fn</i></dt> 2817 <dt><i>fn</i> (str)</dt>
2789 <dd> 2818 <dd>
2790 name of the file to be added 2819 name of the file to be added
2791 </dd> 2820 </dd>
2792 </dl> 2821 </dl>
2793 <a NAME="ViewManager.addWatchedFilePath" ID="ViewManager.addWatchedFilePath"></a> 2822 <a NAME="ViewManager.addWatchedFilePath" ID="ViewManager.addWatchedFilePath"></a>
2834 <dd> 2863 <dd>
2835 flag indicating cascading of windows is available 2864 flag indicating cascading of windows is available
2836 </dd> 2865 </dd>
2837 </dl> 2866 </dl>
2838 <dl> 2867 <dl>
2868 <dt>Return Type:</dt>
2869 <dd>
2870 bool
2871 </dd>
2872 </dl>
2873 <dl>
2839 2874
2840 <dt>Raises <b>NotImplementedError</b>:</dt> 2875 <dt>Raises <b>NotImplementedError</b>:</dt>
2841 <dd> 2876 <dd>
2842 Not implemented 2877 Not implemented
2843 </dd> 2878 </dd>
2850 Public method to signal if splitting of the view is available. 2885 Public method to signal if splitting of the view is available.
2851 </p> 2886 </p>
2852 <dl> 2887 <dl>
2853 <dt>Return:</dt> 2888 <dt>Return:</dt>
2854 <dd> 2889 <dd>
2855 flag indicating splitting of the view is available. 2890 flag indicating splitting of the view is available
2891 </dd>
2892 </dl>
2893 <dl>
2894 <dt>Return Type:</dt>
2895 <dd>
2896 bool
2856 </dd> 2897 </dd>
2857 </dl> 2898 </dl>
2858 <a NAME="ViewManager.canTile" ID="ViewManager.canTile"></a> 2899 <a NAME="ViewManager.canTile" ID="ViewManager.canTile"></a>
2859 <h4>ViewManager.canTile</h4> 2900 <h4>ViewManager.canTile</h4>
2860 <b>canTile</b>(<i></i>) 2901 <b>canTile</b>(<i></i>)
2867 <dd> 2908 <dd>
2868 flag indicating tiling of windows is available 2909 flag indicating tiling of windows is available
2869 </dd> 2910 </dd>
2870 </dl> 2911 </dl>
2871 <dl> 2912 <dl>
2913 <dt>Return Type:</dt>
2914 <dd>
2915 bool
2916 </dd>
2917 </dl>
2918 <dl>
2872 2919
2873 <dt>Raises <b>NotImplementedError</b>:</dt> 2920 <dt>Raises <b>NotImplementedError</b>:</dt>
2874 <dd> 2921 <dd>
2875 Not implemented 2922 Not implemented
2876 </dd> 2923 </dd>
2992 <p> 3039 <p>
2993 Public method to clone an editor displaying the given document. 3040 Public method to clone an editor displaying the given document.
2994 </p> 3041 </p>
2995 <dl> 3042 <dl>
2996 3043
2997 <dt><i>caller</i></dt> 3044 <dt><i>caller</i> (Editor)</dt>
2998 <dd> 3045 <dd>
2999 reference to the editor calling this method 3046 reference to the editor calling this method
3000 </dd> 3047 </dd>
3001 <dt><i>filetype</i></dt> 3048 <dt><i>filetype</i> (str)</dt>
3002 <dd> 3049 <dd>
3003 type of the source file (string) 3050 type of the source file
3004 </dd> 3051 </dd>
3005 <dt><i>fn</i></dt> 3052 <dt><i>fn</i> (str)</dt>
3006 <dd> 3053 <dd>
3007 filename of this view 3054 filename of this view
3008 </dd> 3055 </dd>
3009 </dl> 3056 </dl>
3010 <dl> 3057 <dl>
3011 <dt>Return:</dt> 3058 <dt>Return:</dt>
3012 <dd> 3059 <dd>
3013 reference to the new editor object (Editor.Editor) and the new 3060 reference to the new editor object and the new editor
3014 editor assembly object (EditorAssembly.EditorAssembly) 3061 assembly object
3062 </dd>
3063 </dl>
3064 <dl>
3065 <dt>Return Type:</dt>
3066 <dd>
3067 tuple of (Editor, EditorAssembly)
3015 </dd> 3068 </dd>
3016 </dl> 3069 </dl>
3017 <a NAME="ViewManager.closeAllWindows" ID="ViewManager.closeAllWindows"></a> 3070 <a NAME="ViewManager.closeAllWindows" ID="ViewManager.closeAllWindows"></a>
3018 <h4>ViewManager.closeAllWindows</h4> 3071 <h4>ViewManager.closeAllWindows</h4>
3019 <b>closeAllWindows</b>(<i>ignoreDirty=False</i>) 3072 <b>closeAllWindows</b>(<i>ignoreDirty=False</i>)
3036 Public method to close the current window. 3089 Public method to close the current window.
3037 </p> 3090 </p>
3038 <dl> 3091 <dl>
3039 <dt>Return:</dt> 3092 <dt>Return:</dt>
3040 <dd> 3093 <dd>
3041 flag indicating success (boolean) 3094 flag indicating success
3095 </dd>
3096 </dl>
3097 <dl>
3098 <dt>Return Type:</dt>
3099 <dd>
3100 bool
3042 </dd> 3101 </dd>
3043 </dl> 3102 </dl>
3044 <a NAME="ViewManager.closeEditor" ID="ViewManager.closeEditor"></a> 3103 <a NAME="ViewManager.closeEditor" ID="ViewManager.closeEditor"></a>
3045 <h4>ViewManager.closeEditor</h4> 3104 <h4>ViewManager.closeEditor</h4>
3046 <b>closeEditor</b>(<i>editor, ignoreDirty=False</i>) 3105 <b>closeEditor</b>(<i>editor, ignoreDirty=False</i>)
3078 <p> 3137 <p>
3079 Public method to close an arbitrary source editor. 3138 Public method to close an arbitrary source editor.
3080 </p> 3139 </p>
3081 <dl> 3140 <dl>
3082 3141
3083 <dt><i>editor</i></dt> 3142 <dt><i>editor</i> (Editor)</dt>
3084 <dd> 3143 <dd>
3085 editor to be closed 3144 editor to be closed
3086 </dd> 3145 </dd>
3087 </dl> 3146 </dl>
3088 <a NAME="ViewManager.closeViewManager" ID="ViewManager.closeViewManager"></a> 3147 <a NAME="ViewManager.closeViewManager" ID="ViewManager.closeViewManager"></a>
3146 focus in checks. 3205 focus in checks.
3147 </p> 3206 </p>
3148 <dl> 3207 <dl>
3149 <dt>Return:</dt> 3208 <dt>Return:</dt>
3150 <dd> 3209 <dd>
3151 flag indicating focus in checks should be performed (boolean) 3210 flag indicating focus in checks should be performed
3211 </dd>
3212 </dl>
3213 <dl>
3214 <dt>Return Type:</dt>
3215 <dd>
3216 bool
3152 </dd> 3217 </dd>
3153 </dl> 3218 </dl>
3154 <a NAME="ViewManager.enableEditorsCheckFocusIn" ID="ViewManager.enableEditorsCheckFocusIn"></a> 3219 <a NAME="ViewManager.enableEditorsCheckFocusIn" ID="ViewManager.enableEditorsCheckFocusIn"></a>
3155 <h4>ViewManager.enableEditorsCheckFocusIn</h4> 3220 <h4>ViewManager.enableEditorsCheckFocusIn</h4>
3156 <b>enableEditorsCheckFocusIn</b>(<i>enabled</i>) 3221 <b>enableEditorsCheckFocusIn</b>(<i>enabled</i>)
3159 Public method to set a flag enabling the editors to perform focus in 3224 Public method to set a flag enabling the editors to perform focus in
3160 checks. 3225 checks.
3161 </p> 3226 </p>
3162 <dl> 3227 <dl>
3163 3228
3164 <dt><i>enabled</i></dt> 3229 <dt><i>enabled</i> (bool)</dt>
3165 <dd> 3230 <dd>
3166 flag indicating focus in checks should be performed 3231 flag indicating focus in checks should be performed
3167 (boolean)
3168 </dd> 3232 </dd>
3169 </dl> 3233 </dl>
3170 <a NAME="ViewManager.eventFilter" ID="ViewManager.eventFilter"></a> 3234 <a NAME="ViewManager.eventFilter" ID="ViewManager.eventFilter"></a>
3171 <h4>ViewManager.eventFilter</h4> 3235 <h4>ViewManager.eventFilter</h4>
3172 <b>eventFilter</b>(<i>qobject, event</i>) 3236 <b>eventFilter</b>(<i>qobject, event</i>)
3174 <p> 3238 <p>
3175 Public method called to filter an event. 3239 Public method called to filter an event.
3176 </p> 3240 </p>
3177 <dl> 3241 <dl>
3178 3242
3179 <dt><i>qobject</i></dt> 3243 <dt><i>qobject</i> (QObject)</dt>
3180 <dd> 3244 <dd>
3181 object, that generated the event (QObject) 3245 object, that generated the event
3182 </dd> 3246 </dd>
3183 <dt><i>event</i></dt> 3247 <dt><i>event</i> (QEvent)</dt>
3184 <dd> 3248 <dd>
3185 the event, that was generated by object (QEvent) 3249 the event, that was generated by object
3186 </dd> 3250 </dd>
3187 </dl> 3251 </dl>
3188 <dl> 3252 <dl>
3189 <dt>Return:</dt> 3253 <dt>Return:</dt>
3190 <dd> 3254 <dd>
3191 flag indicating if event was filtered out 3255 flag indicating if event was filtered out
3256 </dd>
3257 </dl>
3258 <dl>
3259 <dt>Return Type:</dt>
3260 <dd>
3261 bool
3192 </dd> 3262 </dd>
3193 </dl> 3263 </dl>
3194 <a NAME="ViewManager.exit" ID="ViewManager.exit"></a> 3264 <a NAME="ViewManager.exit" ID="ViewManager.exit"></a>
3195 <h4>ViewManager.exit</h4> 3265 <h4>ViewManager.exit</h4>
3196 <b>exit</b>(<i></i>) 3266 <b>exit</b>(<i></i>)
3206 Public method to get a reference to the APIs manager. 3276 Public method to get a reference to the APIs manager.
3207 </p> 3277 </p>
3208 <dl> 3278 <dl>
3209 <dt>Return:</dt> 3279 <dt>Return:</dt>
3210 <dd> 3280 <dd>
3211 the APIs manager object (eric7.QScintilla.APIsManager) 3281 the APIs manager object
3282 </dd>
3283 </dl>
3284 <dl>
3285 <dt>Return Type:</dt>
3286 <dd>
3287 QScintilla.APIsManager
3212 </dd> 3288 </dd>
3213 </dl> 3289 </dl>
3214 <a NAME="ViewManager.getActions" ID="ViewManager.getActions"></a> 3290 <a NAME="ViewManager.getActions" ID="ViewManager.getActions"></a>
3215 <h4>ViewManager.getActions</h4> 3291 <h4>ViewManager.getActions</h4>
3216 <b>getActions</b>(<i>actionSetType</i>) 3292 <b>getActions</b>(<i>actionSetType</i>)
3218 <p> 3294 <p>
3219 Public method to get a list of all actions. 3295 Public method to get a list of all actions.
3220 </p> 3296 </p>
3221 <dl> 3297 <dl>
3222 3298
3223 <dt><i>actionSetType</i></dt> 3299 <dt><i>actionSetType</i> (str)</dt>
3224 <dd> 3300 <dd>
3225 string denoting the action set to get. 3301 string denoting the action set to get.
3226 It must be one of "edit", "file", "search", "view", "window", 3302 It must be one of "edit", "file", "search", "view", "window",
3227 "macro", "bookmark" or "spelling". 3303 "macro", "bookmark" or "spelling".
3228 </dd> 3304 </dd>
3229 </dl> 3305 </dl>
3230 <dl> 3306 <dl>
3231 <dt>Return:</dt> 3307 <dt>Return:</dt>
3232 <dd> 3308 <dd>
3233 list of all actions (list of EricAction) 3309 list of all actions
3310 </dd>
3311 </dl>
3312 <dl>
3313 <dt>Return Type:</dt>
3314 <dd>
3315 list of EricAction
3234 </dd> 3316 </dd>
3235 </dl> 3317 </dl>
3236 <a NAME="ViewManager.getActiveName" ID="ViewManager.getActiveName"></a> 3318 <a NAME="ViewManager.getActiveName" ID="ViewManager.getActiveName"></a>
3237 <h4>ViewManager.getActiveName</h4> 3319 <h4>ViewManager.getActiveName</h4>
3238 <b>getActiveName</b>(<i></i>) 3320 <b>getActiveName</b>(<i></i>)
3241 Public method to retrieve the filename of the active window. 3323 Public method to retrieve the filename of the active window.
3242 </p> 3324 </p>
3243 <dl> 3325 <dl>
3244 <dt>Return:</dt> 3326 <dt>Return:</dt>
3245 <dd> 3327 <dd>
3246 filename of active window (string) 3328 filename of active window
3329 </dd>
3330 </dl>
3331 <dl>
3332 <dt>Return Type:</dt>
3333 <dd>
3334 str
3247 </dd> 3335 </dd>
3248 </dl> 3336 </dl>
3249 <a NAME="ViewManager.getEditor" ID="ViewManager.getEditor"></a> 3337 <a NAME="ViewManager.getEditor" ID="ViewManager.getEditor"></a>
3250 <h4>ViewManager.getEditor</h4> 3338 <h4>ViewManager.getEditor</h4>
3251 <b>getEditor</b>(<i>fn, filetype="", addNext=False, indexes=None</i>) 3339 <b>getEditor</b>(<i>fn, filetype="", addNext=False, indexes=None</i>)
3299 Public method to get the most recently opened file. 3387 Public method to get the most recently opened file.
3300 </p> 3388 </p>
3301 <dl> 3389 <dl>
3302 <dt>Return:</dt> 3390 <dt>Return:</dt>
3303 <dd> 3391 <dd>
3304 path of the most recently opened file (string) 3392 path of the most recently opened file
3393 </dd>
3394 </dl>
3395 <dl>
3396 <dt>Return Type:</dt>
3397 <dd>
3398 str
3305 </dd> 3399 </dd>
3306 </dl> 3400 </dl>
3307 <a NAME="ViewManager.getNumber" ID="ViewManager.getNumber"></a> 3401 <a NAME="ViewManager.getNumber" ID="ViewManager.getNumber"></a>
3308 <h4>ViewManager.getNumber</h4> 3402 <h4>ViewManager.getNumber</h4>
3309 <b>getNumber</b>(<i></i>) 3403 <b>getNumber</b>(<i></i>)
3312 Public method to get a number from the active window. 3406 Public method to get a number from the active window.
3313 </p> 3407 </p>
3314 <dl> 3408 <dl>
3315 <dt>Return:</dt> 3409 <dt>Return:</dt>
3316 <dd> 3410 <dd>
3317 selected text of the active window (string) 3411 selected text of the active window
3412 </dd>
3413 </dl>
3414 <dl>
3415 <dt>Return Type:</dt>
3416 <dd>
3417 str
3318 </dd> 3418 </dd>
3319 </dl> 3419 </dl>
3320 <a NAME="ViewManager.getOpenEditor" ID="ViewManager.getOpenEditor"></a> 3420 <a NAME="ViewManager.getOpenEditor" ID="ViewManager.getOpenEditor"></a>
3321 <h4>ViewManager.getOpenEditor</h4> 3421 <h4>ViewManager.getOpenEditor</h4>
3322 <b>getOpenEditor</b>(<i>fn</i>) 3422 <b>getOpenEditor</b>(<i>fn</i>)
3351 <p> 3451 <p>
3352 Public method to return the count of editors displaying the given file. 3452 Public method to return the count of editors displaying the given file.
3353 </p> 3453 </p>
3354 <dl> 3454 <dl>
3355 3455
3356 <dt><i>fn</i></dt> 3456 <dt><i>fn</i> (str)</dt>
3357 <dd> 3457 <dd>
3358 filename to look for 3458 filename to look for
3359 </dd> 3459 </dd>
3360 </dl> 3460 </dl>
3361 <dl> 3461 <dl>
3362 <dt>Return:</dt> 3462 <dt>Return:</dt>
3363 <dd> 3463 <dd>
3364 count of editors displaying this file (integer) 3464 count of editors displaying this file
3465 </dd>
3466 </dl>
3467 <dl>
3468 <dt>Return Type:</dt>
3469 <dd>
3470 int
3365 </dd> 3471 </dd>
3366 </dl> 3472 </dl>
3367 <a NAME="ViewManager.getOpenEditorList" ID="ViewManager.getOpenEditorList"></a> 3473 <a NAME="ViewManager.getOpenEditorList" ID="ViewManager.getOpenEditorList"></a>
3368 <h4>ViewManager.getOpenEditorList</h4> 3474 <h4>ViewManager.getOpenEditorList</h4>
3369 <b>getOpenEditorList</b>(<i>fn</i>) 3475 <b>getOpenEditorList</b>(<i>fn</i>)
3382 <dt>Return:</dt> 3488 <dt>Return:</dt>
3383 <dd> 3489 <dd>
3384 list of references to the editors displaying this file 3490 list of references to the editors displaying this file
3385 </dd> 3491 </dd>
3386 </dl> 3492 </dl>
3493 <dl>
3494 <dt>Return Type:</dt>
3495 <dd>
3496 list of Editor
3497 </dd>
3498 </dl>
3387 <a NAME="ViewManager.getOpenEditors" ID="ViewManager.getOpenEditors"></a> 3499 <a NAME="ViewManager.getOpenEditors" ID="ViewManager.getOpenEditors"></a>
3388 <h4>ViewManager.getOpenEditors</h4> 3500 <h4>ViewManager.getOpenEditors</h4>
3389 <b>getOpenEditors</b>(<i></i>) 3501 <b>getOpenEditors</b>(<i></i>)
3390 3502
3391 <p> 3503 <p>
3392 Public method to get references to all open editors. 3504 Public method to get references to all open editors.
3393 </p> 3505 </p>
3394 <dl> 3506 <dl>
3395 <dt>Return:</dt> 3507 <dt>Return:</dt>
3396 <dd> 3508 <dd>
3397 list of references to all open editors (list of 3509 list of references to all open editors
3398 QScintilla.editor) 3510 </dd>
3511 </dl>
3512 <dl>
3513 <dt>Return Type:</dt>
3514 <dd>
3515 list of Editor
3399 </dd> 3516 </dd>
3400 </dl> 3517 </dl>
3401 <a NAME="ViewManager.getOpenEditorsCount" ID="ViewManager.getOpenEditorsCount"></a> 3518 <a NAME="ViewManager.getOpenEditorsCount" ID="ViewManager.getOpenEditorsCount"></a>
3402 <h4>ViewManager.getOpenEditorsCount</h4> 3519 <h4>ViewManager.getOpenEditorsCount</h4>
3403 <b>getOpenEditorsCount</b>(<i></i>) 3520 <b>getOpenEditorsCount</b>(<i></i>)
3406 Public method to get the number of open editors. 3523 Public method to get the number of open editors.
3407 </p> 3524 </p>
3408 <dl> 3525 <dl>
3409 <dt>Return:</dt> 3526 <dt>Return:</dt>
3410 <dd> 3527 <dd>
3411 number of open editors (integer) 3528 number of open editors
3529 </dd>
3530 </dl>
3531 <dl>
3532 <dt>Return Type:</dt>
3533 <dd>
3534 int
3412 </dd> 3535 </dd>
3413 </dl> 3536 </dl>
3414 <a NAME="ViewManager.getOpenEditorsForSession" ID="ViewManager.getOpenEditorsForSession"></a> 3537 <a NAME="ViewManager.getOpenEditorsForSession" ID="ViewManager.getOpenEditorsForSession"></a>
3415 <h4>ViewManager.getOpenEditorsForSession</h4> 3538 <h4>ViewManager.getOpenEditorsForSession</h4>
3416 <b>getOpenEditorsForSession</b>(<i></i>) 3539 <b>getOpenEditorsForSession</b>(<i></i>)
3445 Public method returning a list of the filenames of all editors. 3568 Public method returning a list of the filenames of all editors.
3446 </p> 3569 </p>
3447 <dl> 3570 <dl>
3448 <dt>Return:</dt> 3571 <dt>Return:</dt>
3449 <dd> 3572 <dd>
3450 list of all opened filenames (list of strings) 3573 list of all opened filenames
3574 </dd>
3575 </dl>
3576 <dl>
3577 <dt>Return Type:</dt>
3578 <dd>
3579 list of str
3451 </dd> 3580 </dd>
3452 </dl> 3581 </dl>
3453 <a NAME="ViewManager.getSRHistory" ID="ViewManager.getSRHistory"></a> 3582 <a NAME="ViewManager.getSRHistory" ID="ViewManager.getSRHistory"></a>
3454 <h4>ViewManager.getSRHistory</h4> 3583 <h4>ViewManager.getSRHistory</h4>
3455 <b>getSRHistory</b>(<i>key</i>) 3584 <b>getSRHistory</b>(<i>key</i>)
3457 <p> 3586 <p>
3458 Public method to get the search or replace history list. 3587 Public method to get the search or replace history list.
3459 </p> 3588 </p>
3460 <dl> 3589 <dl>
3461 3590
3462 <dt><i>key</i></dt> 3591 <dt><i>key</i> (str)</dt>
3463 <dd> 3592 <dd>
3464 list to return (must be 'search' or 'replace') 3593 list to return (must be 'search' or 'replace')
3465 </dd> 3594 </dd>
3466 </dl> 3595 </dl>
3467 <dl> 3596 <dl>
3468 <dt>Return:</dt> 3597 <dt>Return:</dt>
3469 <dd> 3598 <dd>
3470 the requested history list (list of strings) 3599 the requested history list
3600 </dd>
3601 </dl>
3602 <dl>
3603 <dt>Return Type:</dt>
3604 <dd>
3605 list of str
3471 </dd> 3606 </dd>
3472 </dl> 3607 </dl>
3473 <a NAME="ViewManager.getSplitOrientation" ID="ViewManager.getSplitOrientation"></a> 3608 <a NAME="ViewManager.getSplitOrientation" ID="ViewManager.getSplitOrientation"></a>
3474 <h4>ViewManager.getSplitOrientation</h4> 3609 <h4>ViewManager.getSplitOrientation</h4>
3475 <b>getSplitOrientation</b>(<i></i>) 3610 <b>getSplitOrientation</b>(<i></i>)
3478 Public method to get the orientation of the split view. 3613 Public method to get the orientation of the split view.
3479 </p> 3614 </p>
3480 <dl> 3615 <dl>
3481 <dt>Return:</dt> 3616 <dt>Return:</dt>
3482 <dd> 3617 <dd>
3483 orientation of the split (Qt.Orientation.Horizontal or 3618 orientation of the split
3484 Qt.Orientation.Vertical) 3619 </dd>
3620 </dl>
3621 <dl>
3622 <dt>Return Type:</dt>
3623 <dd>
3624 Qt.Orientation
3485 </dd> 3625 </dd>
3486 </dl> 3626 </dl>
3487 <a NAME="ViewManager.handleResetUI" ID="ViewManager.handleResetUI"></a> 3627 <a NAME="ViewManager.handleResetUI" ID="ViewManager.handleResetUI"></a>
3488 <h4>ViewManager.handleResetUI</h4> 3628 <h4>ViewManager.handleResetUI</h4>
3489 <b>handleResetUI</b>(<i></i>) 3629 <b>handleResetUI</b>(<i></i>)
3529 <dt>Return:</dt> 3669 <dt>Return:</dt>
3530 <dd> 3670 <dd>
3531 the generated menu 3671 the generated menu
3532 </dd> 3672 </dd>
3533 </dl> 3673 </dl>
3674 <dl>
3675 <dt>Return Type:</dt>
3676 <dd>
3677 QMenu
3678 </dd>
3679 </dl>
3534 <a NAME="ViewManager.initBookmarkToolbar" ID="ViewManager.initBookmarkToolbar"></a> 3680 <a NAME="ViewManager.initBookmarkToolbar" ID="ViewManager.initBookmarkToolbar"></a>
3535 <h4>ViewManager.initBookmarkToolbar</h4> 3681 <h4>ViewManager.initBookmarkToolbar</h4>
3536 <b>initBookmarkToolbar</b>(<i>toolbarManager</i>) 3682 <b>initBookmarkToolbar</b>(<i>toolbarManager</i>)
3537 3683
3538 <p> 3684 <p>
3539 Public method to create the Bookmark toolbar. 3685 Public method to create the Bookmark toolbar.
3540 </p> 3686 </p>
3541 <dl> 3687 <dl>
3542 3688
3543 <dt><i>toolbarManager</i></dt> 3689 <dt><i>toolbarManager</i> (EricToolBarManager)</dt>
3544 <dd> 3690 <dd>
3545 reference to a toolbar manager object 3691 reference to a toolbar manager object
3546 (EricToolBarManager)
3547 </dd> 3692 </dd>
3548 </dl> 3693 </dl>
3549 <dl> 3694 <dl>
3550 <dt>Return:</dt> 3695 <dt>Return:</dt>
3551 <dd> 3696 <dd>
3552 the generated toolbar 3697 the generated toolbar
3698 </dd>
3699 </dl>
3700 <dl>
3701 <dt>Return Type:</dt>
3702 <dd>
3703 QToolBar
3553 </dd> 3704 </dd>
3554 </dl> 3705 </dl>
3555 <a NAME="ViewManager.initEditMenu" ID="ViewManager.initEditMenu"></a> 3706 <a NAME="ViewManager.initEditMenu" ID="ViewManager.initEditMenu"></a>
3556 <h4>ViewManager.initEditMenu</h4> 3707 <h4>ViewManager.initEditMenu</h4>
3557 <b>initEditMenu</b>(<i></i>) 3708 <b>initEditMenu</b>(<i></i>)
3563 <dt>Return:</dt> 3714 <dt>Return:</dt>
3564 <dd> 3715 <dd>
3565 the generated menu 3716 the generated menu
3566 </dd> 3717 </dd>
3567 </dl> 3718 </dl>
3719 <dl>
3720 <dt>Return Type:</dt>
3721 <dd>
3722 QMenu
3723 </dd>
3724 </dl>
3568 <a NAME="ViewManager.initEditToolbar" ID="ViewManager.initEditToolbar"></a> 3725 <a NAME="ViewManager.initEditToolbar" ID="ViewManager.initEditToolbar"></a>
3569 <h4>ViewManager.initEditToolbar</h4> 3726 <h4>ViewManager.initEditToolbar</h4>
3570 <b>initEditToolbar</b>(<i>toolbarManager</i>) 3727 <b>initEditToolbar</b>(<i>toolbarManager</i>)
3571 3728
3572 <p> 3729 <p>
3573 Public method to create the Edit toolbar. 3730 Public method to create the Edit toolbar.
3574 </p> 3731 </p>
3575 <dl> 3732 <dl>
3576 3733
3577 <dt><i>toolbarManager</i></dt> 3734 <dt><i>toolbarManager</i> (EricToolBarManager)</dt>
3578 <dd> 3735 <dd>
3579 reference to a toolbar manager object 3736 reference to a toolbar manager object
3580 (EricToolBarManager)
3581 </dd> 3737 </dd>
3582 </dl> 3738 </dl>
3583 <dl> 3739 <dl>
3584 <dt>Return:</dt> 3740 <dt>Return:</dt>
3585 <dd> 3741 <dd>
3586 the generated toolbar 3742 the generated toolbar
3743 </dd>
3744 </dl>
3745 <dl>
3746 <dt>Return Type:</dt>
3747 <dd>
3748 QToolBar
3587 </dd> 3749 </dd>
3588 </dl> 3750 </dl>
3589 <a NAME="ViewManager.initFileMenu" ID="ViewManager.initFileMenu"></a> 3751 <a NAME="ViewManager.initFileMenu" ID="ViewManager.initFileMenu"></a>
3590 <h4>ViewManager.initFileMenu</h4> 3752 <h4>ViewManager.initFileMenu</h4>
3591 <b>initFileMenu</b>(<i></i>) 3753 <b>initFileMenu</b>(<i></i>)
3597 <dt>Return:</dt> 3759 <dt>Return:</dt>
3598 <dd> 3760 <dd>
3599 the generated menu 3761 the generated menu
3600 </dd> 3762 </dd>
3601 </dl> 3763 </dl>
3764 <dl>
3765 <dt>Return Type:</dt>
3766 <dd>
3767 QMenu
3768 </dd>
3769 </dl>
3602 <a NAME="ViewManager.initFileToolbar" ID="ViewManager.initFileToolbar"></a> 3770 <a NAME="ViewManager.initFileToolbar" ID="ViewManager.initFileToolbar"></a>
3603 <h4>ViewManager.initFileToolbar</h4> 3771 <h4>ViewManager.initFileToolbar</h4>
3604 <b>initFileToolbar</b>(<i>toolbarManager</i>) 3772 <b>initFileToolbar</b>(<i>toolbarManager</i>)
3605 3773
3606 <p> 3774 <p>
3607 Public method to create the File toolbar. 3775 Public method to create the File toolbar.
3608 </p> 3776 </p>
3609 <dl> 3777 <dl>
3610 3778
3611 <dt><i>toolbarManager</i></dt> 3779 <dt><i>toolbarManager</i> (EricToolBarManager)</dt>
3612 <dd> 3780 <dd>
3613 reference to a toolbar manager object 3781 reference to a toolbar manager object
3614 (EricToolBarManager)
3615 </dd> 3782 </dd>
3616 </dl> 3783 </dl>
3617 <dl> 3784 <dl>
3618 <dt>Return:</dt> 3785 <dt>Return:</dt>
3619 <dd> 3786 <dd>
3620 the generated toolbar 3787 the generated toolbar
3788 </dd>
3789 </dl>
3790 <dl>
3791 <dt>Return Type:</dt>
3792 <dd>
3793 QToolBar
3621 </dd> 3794 </dd>
3622 </dl> 3795 </dl>
3623 <a NAME="ViewManager.initMacroMenu" ID="ViewManager.initMacroMenu"></a> 3796 <a NAME="ViewManager.initMacroMenu" ID="ViewManager.initMacroMenu"></a>
3624 <h4>ViewManager.initMacroMenu</h4> 3797 <h4>ViewManager.initMacroMenu</h4>
3625 <b>initMacroMenu</b>(<i></i>) 3798 <b>initMacroMenu</b>(<i></i>)
3631 <dt>Return:</dt> 3804 <dt>Return:</dt>
3632 <dd> 3805 <dd>
3633 the generated menu 3806 the generated menu
3634 </dd> 3807 </dd>
3635 </dl> 3808 </dl>
3809 <dl>
3810 <dt>Return Type:</dt>
3811 <dd>
3812 QMenu
3813 </dd>
3814 </dl>
3636 <a NAME="ViewManager.initSearchMenu" ID="ViewManager.initSearchMenu"></a> 3815 <a NAME="ViewManager.initSearchMenu" ID="ViewManager.initSearchMenu"></a>
3637 <h4>ViewManager.initSearchMenu</h4> 3816 <h4>ViewManager.initSearchMenu</h4>
3638 <b>initSearchMenu</b>(<i></i>) 3817 <b>initSearchMenu</b>(<i></i>)
3639 3818
3640 <p> 3819 <p>
3685 <p> 3864 <p>
3686 Public method to create the Spelling toolbar. 3865 Public method to create the Spelling toolbar.
3687 </p> 3866 </p>
3688 <dl> 3867 <dl>
3689 3868
3690 <dt><i>toolbarManager</i></dt> 3869 <dt><i>toolbarManager</i> (EricToolBarManager)</dt>
3691 <dd> 3870 <dd>
3692 reference to a toolbar manager object 3871 reference to a toolbar manager object
3693 (EricToolBarManager)
3694 </dd> 3872 </dd>
3695 </dl> 3873 </dl>
3696 <dl> 3874 <dl>
3697 <dt>Return:</dt> 3875 <dt>Return:</dt>
3698 <dd> 3876 <dd>
3699 the generated toolbar 3877 the generated toolbar
3878 </dd>
3879 </dl>
3880 <dl>
3881 <dt>Return Type:</dt>
3882 <dd>
3883 QToolBar
3700 </dd> 3884 </dd>
3701 </dl> 3885 </dl>
3702 <a NAME="ViewManager.initViewMenu" ID="ViewManager.initViewMenu"></a> 3886 <a NAME="ViewManager.initViewMenu" ID="ViewManager.initViewMenu"></a>
3703 <h4>ViewManager.initViewMenu</h4> 3887 <h4>ViewManager.initViewMenu</h4>
3704 <b>initViewMenu</b>(<i></i>) 3888 <b>initViewMenu</b>(<i></i>)
3710 <dt>Return:</dt> 3894 <dt>Return:</dt>
3711 <dd> 3895 <dd>
3712 the generated menu 3896 the generated menu
3713 </dd> 3897 </dd>
3714 </dl> 3898 </dl>
3899 <dl>
3900 <dt>Return Type:</dt>
3901 <dd>
3902 QMenu
3903 </dd>
3904 </dl>
3715 <a NAME="ViewManager.initViewToolbar" ID="ViewManager.initViewToolbar"></a> 3905 <a NAME="ViewManager.initViewToolbar" ID="ViewManager.initViewToolbar"></a>
3716 <h4>ViewManager.initViewToolbar</h4> 3906 <h4>ViewManager.initViewToolbar</h4>
3717 <b>initViewToolbar</b>(<i>toolbarManager</i>) 3907 <b>initViewToolbar</b>(<i>toolbarManager</i>)
3718 3908
3719 <p> 3909 <p>
3720 Public method to create the View toolbar. 3910 Public method to create the View toolbar.
3721 </p> 3911 </p>
3722 <dl> 3912 <dl>
3723 3913
3724 <dt><i>toolbarManager</i></dt> 3914 <dt><i>toolbarManager</i> (EricToolBarManager)</dt>
3725 <dd> 3915 <dd>
3726 reference to a toolbar manager object 3916 reference to a toolbar manager object
3727 (EricToolBarManager)
3728 </dd> 3917 </dd>
3729 </dl> 3918 </dl>
3730 <dl> 3919 <dl>
3731 <dt>Return:</dt> 3920 <dt>Return:</dt>
3732 <dd> 3921 <dd>
3733 the generated toolbar 3922 the generated toolbar
3923 </dd>
3924 </dl>
3925 <dl>
3926 <dt>Return Type:</dt>
3927 <dd>
3928 QToolBar
3734 </dd> 3929 </dd>
3735 </dl> 3930 </dl>
3736 <a NAME="ViewManager.insertNumber" ID="ViewManager.insertNumber"></a> 3931 <a NAME="ViewManager.insertNumber" ID="ViewManager.insertNumber"></a>
3737 <h4>ViewManager.insertNumber</h4> 3932 <h4>ViewManager.insertNumber</h4>
3738 <b>insertNumber</b>(<i>txt</i>) 3933 <b>insertNumber</b>(<i>txt</i>)
3740 <p> 3935 <p>
3741 Public slot to insert a number text into the active window. 3936 Public slot to insert a number text into the active window.
3742 </p> 3937 </p>
3743 <dl> 3938 <dl>
3744 3939
3745 <dt><i>txt</i></dt> 3940 <dt><i>txt</i> (str)</dt>
3746 <dd> 3941 <dd>
3747 text to be inserted (string) 3942 text to be inserted
3748 </dd> 3943 </dd>
3749 </dl> 3944 </dl>
3750 <a NAME="ViewManager.insertSymbol" ID="ViewManager.insertSymbol"></a> 3945 <a NAME="ViewManager.insertSymbol" ID="ViewManager.insertSymbol"></a>
3751 <h4>ViewManager.insertSymbol</h4> 3946 <h4>ViewManager.insertSymbol</h4>
3752 <b>insertSymbol</b>(<i>txt</i>) 3947 <b>insertSymbol</b>(<i>txt</i>)
3754 <p> 3949 <p>
3755 Public slot to insert a symbol text into the active window. 3950 Public slot to insert a symbol text into the active window.
3756 </p> 3951 </p>
3757 <dl> 3952 <dl>
3758 3953
3759 <dt><i>txt</i></dt> 3954 <dt><i>txt</i> (str)</dt>
3760 <dd> 3955 <dd>
3761 text to be inserted (string) 3956 text to be inserted
3762 </dd> 3957 </dd>
3763 </dl> 3958 </dl>
3764 <a NAME="ViewManager.isConnected" ID="ViewManager.isConnected"></a> 3959 <a NAME="ViewManager.isConnected" ID="ViewManager.isConnected"></a>
3765 <h4>ViewManager.isConnected</h4> 3960 <h4>ViewManager.isConnected</h4>
3766 <b>isConnected</b>(<i></i>) 3961 <b>isConnected</b>(<i></i>)
3769 Public method to check the connection status of the IDE. 3964 Public method to check the connection status of the IDE.
3770 </p> 3965 </p>
3771 <dl> 3966 <dl>
3772 <dt>Return:</dt> 3967 <dt>Return:</dt>
3773 <dd> 3968 <dd>
3774 flag indicating the connection status (boolean) 3969 flag indicating the connection status
3970 </dd>
3971 </dl>
3972 <dl>
3973 <dt>Return Type:</dt>
3974 <dd>
3975 bool
3775 </dd> 3976 </dd>
3776 </dl> 3977 </dl>
3777 <a NAME="ViewManager.isEditorInfoSupported" ID="ViewManager.isEditorInfoSupported"></a> 3978 <a NAME="ViewManager.isEditorInfoSupported" ID="ViewManager.isEditorInfoSupported"></a>
3778 <h4>ViewManager.isEditorInfoSupported</h4> 3979 <h4>ViewManager.isEditorInfoSupported</h4>
3779 <b>isEditorInfoSupported</b>(<i>language</i>) 3980 <b>isEditorInfoSupported</b>(<i>language</i>)
3911 <p> 4112 <p>
3912 Public slot to open some files. 4113 Public slot to open some files.
3913 </p> 4114 </p>
3914 <dl> 4115 <dl>
3915 4116
3916 <dt><i>prog</i></dt> 4117 <dt><i>prog</i> (str)</dt>
3917 <dd> 4118 <dd>
3918 name of file to be opened (string) 4119 name of file to be opened
3919 </dd> 4120 </dd>
3920 </dl> 4121 </dl>
3921 <a NAME="ViewManager.openSourceFile" ID="ViewManager.openSourceFile"></a> 4122 <a NAME="ViewManager.openSourceFile" ID="ViewManager.openSourceFile"></a>
3922 <h4>ViewManager.openSourceFile</h4> 4123 <h4>ViewManager.openSourceFile</h4>
3923 <b>openSourceFile</b>(<i>fn, lineno=-1, filetype="", selStart=0, selEnd=0, pos=0, addNext=False, indexes=None, </i>) 4124 <b>openSourceFile</b>(<i>fn, lineno=-1, filetype="", selStart=0, selEnd=0, pos=0, addNext=False, indexes=None, </i>)
4055 <p> 4256 <p>
4056 Public slot to handle the projectFileRenamed signal. 4257 Public slot to handle the projectFileRenamed signal.
4057 </p> 4258 </p>
4058 <dl> 4259 <dl>
4059 4260
4060 <dt><i>oldfn</i></dt> 4261 <dt><i>oldfn</i> (str)</dt>
4061 <dd> 4262 <dd>
4062 old filename of the file (string) 4263 old filename of the file
4063 </dd> 4264 </dd>
4064 <dt><i>newfn</i></dt> 4265 <dt><i>newfn</i> (str)</dt>
4065 <dd> 4266 <dd>
4066 new filename of the file (string) 4267 new filename of the file
4067 </dd> 4268 </dd>
4068 </dl> 4269 </dl>
4069 <a NAME="ViewManager.projectLexerAssociationsChanged" ID="ViewManager.projectLexerAssociationsChanged"></a> 4270 <a NAME="ViewManager.projectLexerAssociationsChanged" ID="ViewManager.projectLexerAssociationsChanged"></a>
4070 <h4>ViewManager.projectLexerAssociationsChanged</h4> 4271 <h4>ViewManager.projectLexerAssociationsChanged</h4>
4071 <b>projectLexerAssociationsChanged</b>(<i></i>) 4272 <b>projectLexerAssociationsChanged</b>(<i></i>)
4087 <p> 4288 <p>
4088 Public slot to handle received editor commands. 4289 Public slot to handle received editor commands.
4089 </p> 4290 </p>
4090 <dl> 4291 <dl>
4091 4292
4092 <dt><i>projectHash</i></dt> 4293 <dt><i>projectHash</i> (str)</dt>
4093 <dd> 4294 <dd>
4094 hash of the project (string) 4295 hash of the project
4095 </dd> 4296 </dd>
4096 <dt><i>fileName</i></dt> 4297 <dt><i>fileName</i> (str)</dt>
4097 <dd> 4298 <dd>
4098 project relative file name of the editor (string) 4299 project relative file name of the editor
4099 </dd> 4300 </dd>
4100 <dt><i>command</i></dt> 4301 <dt><i>command</i> (str)</dt>
4101 <dd> 4302 <dd>
4102 command string (string) 4303 command string
4103 </dd> 4304 </dd>
4104 </dl> 4305 </dl>
4105 <a NAME="ViewManager.removeSplit" ID="ViewManager.removeSplit"></a> 4306 <a NAME="ViewManager.removeSplit" ID="ViewManager.removeSplit"></a>
4106 <h4>ViewManager.removeSplit</h4> 4307 <h4>ViewManager.removeSplit</h4>
4107 <b>removeSplit</b>(<i>index=-1</i>) 4308 <b>removeSplit</b>(<i>index=-1</i>)
4165 <p> 4366 <p>
4166 Public slot to save the contents of an editor to a new file. 4367 Public slot to save the contents of an editor to a new file.
4167 </p> 4368 </p>
4168 <dl> 4369 <dl>
4169 4370
4170 <dt><i>ed</i></dt> 4371 <dt><i>ed</i> (Editor)</dt>
4171 <dd> 4372 <dd>
4172 editor to be saved 4373 editor to be saved
4173 </dd> 4374 </dd>
4174 </dl> 4375 </dl>
4175 <a NAME="ViewManager.saveCopyCurrentEditor" ID="ViewManager.saveCopyCurrentEditor"></a> 4376 <a NAME="ViewManager.saveCopyCurrentEditor" ID="ViewManager.saveCopyCurrentEditor"></a>
4188 Public slot to save the contents of an editor to a new copy of 4389 Public slot to save the contents of an editor to a new copy of
4189 the file. 4390 the file.
4190 </p> 4391 </p>
4191 <dl> 4392 <dl>
4192 4393
4193 <dt><i>ed</i></dt> 4394 <dt><i>ed</i> (Editor)</dt>
4194 <dd> 4395 <dd>
4195 editor to be saved 4396 editor to be saved
4196 </dd> 4397 </dd>
4197 </dl> 4398 </dl>
4198 <a NAME="ViewManager.saveCurrentEditor" ID="ViewManager.saveCurrentEditor"></a> 4399 <a NAME="ViewManager.saveCurrentEditor" ID="ViewManager.saveCurrentEditor"></a>
4209 <p> 4410 <p>
4210 Public method to save a named editor file. 4411 Public method to save a named editor file.
4211 </p> 4412 </p>
4212 <dl> 4413 <dl>
4213 4414
4214 <dt><i>fn</i></dt> 4415 <dt><i>fn</i> (str)</dt>
4215 <dd> 4416 <dd>
4216 filename of editor to be saved (string) 4417 filename of editor to be saved
4217 </dd> 4418 </dd>
4218 </dl> 4419 </dl>
4219 <dl> 4420 <dl>
4220 <dt>Return:</dt> 4421 <dt>Return:</dt>
4221 <dd> 4422 <dd>
4222 flag indicating success (boolean) 4423 flag indicating success
4424 </dd>
4425 </dl>
4426 <dl>
4427 <dt>Return Type:</dt>
4428 <dd>
4429 bool
4223 </dd> 4430 </dd>
4224 </dl> 4431 </dl>
4225 <a NAME="ViewManager.saveEditorEd" ID="ViewManager.saveEditorEd"></a> 4432 <a NAME="ViewManager.saveEditorEd" ID="ViewManager.saveEditorEd"></a>
4226 <h4>ViewManager.saveEditorEd</h4> 4433 <h4>ViewManager.saveEditorEd</h4>
4227 <b>saveEditorEd</b>(<i>ed</i>) 4434 <b>saveEditorEd</b>(<i>ed</i>)
4229 <p> 4436 <p>
4230 Public slot to save the contents of an editor. 4437 Public slot to save the contents of an editor.
4231 </p> 4438 </p>
4232 <dl> 4439 <dl>
4233 4440
4234 <dt><i>ed</i></dt> 4441 <dt><i>ed</i> (Editor)</dt>
4235 <dd> 4442 <dd>
4236 editor to be saved 4443 editor to be saved
4237 </dd> 4444 </dd>
4238 </dl> 4445 </dl>
4239 <dl> 4446 <dl>
4240 <dt>Return:</dt> 4447 <dt>Return:</dt>
4241 <dd> 4448 <dd>
4242 flag indicating success (boolean) 4449 flag indicating success
4450 </dd>
4451 </dl>
4452 <dl>
4453 <dt>Return Type:</dt>
4454 <dd>
4455 bool
4243 </dd> 4456 </dd>
4244 </dl> 4457 </dl>
4245 <a NAME="ViewManager.saveEditorsList" ID="ViewManager.saveEditorsList"></a> 4458 <a NAME="ViewManager.saveEditorsList" ID="ViewManager.saveEditorsList"></a>
4246 <h4>ViewManager.saveEditorsList</h4> 4459 <h4>ViewManager.saveEditorsList</h4>
4247 <b>saveEditorsList</b>(<i>editors</i>) 4460 <b>saveEditorsList</b>(<i>editors</i>)
4249 <p> 4462 <p>
4250 Public slot to save a list of editors. 4463 Public slot to save a list of editors.
4251 </p> 4464 </p>
4252 <dl> 4465 <dl>
4253 4466
4254 <dt><i>editors</i></dt> 4467 <dt><i>editors</i> (list of Editor)</dt>
4255 <dd> 4468 <dd>
4256 list of editors to be saved 4469 list of editors to be saved
4257 </dd> 4470 </dd>
4258 </dl> 4471 </dl>
4259 <a NAME="ViewManager.searchReplaceWidget" ID="ViewManager.searchReplaceWidget"></a> 4472 <a NAME="ViewManager.searchReplaceWidget" ID="ViewManager.searchReplaceWidget"></a>
4264 Public method to get a reference to the search widget. 4477 Public method to get a reference to the search widget.
4265 </p> 4478 </p>
4266 <dl> 4479 <dl>
4267 <dt>Return:</dt> 4480 <dt>Return:</dt>
4268 <dd> 4481 <dd>
4269 reference to the search widget (SearchReplaceSlidingWidget) 4482 reference to the search widget
4483 </dd>
4484 </dl>
4485 <dl>
4486 <dt>Return Type:</dt>
4487 <dd>
4488 SearchReplaceSlidingWidget
4270 </dd> 4489 </dd>
4271 </dl> 4490 </dl>
4272 <a NAME="ViewManager.send" ID="ViewManager.send"></a> 4491 <a NAME="ViewManager.send" ID="ViewManager.send"></a>
4273 <h4>ViewManager.send</h4> 4492 <h4>ViewManager.send</h4>
4274 <b>send</b>(<i>fileName, message</i>) 4493 <b>send</b>(<i>fileName, message</i>)
4276 <p> 4495 <p>
4277 Public method to send an editor command to remote editors. 4496 Public method to send an editor command to remote editors.
4278 </p> 4497 </p>
4279 <dl> 4498 <dl>
4280 4499
4281 <dt><i>fileName</i></dt> 4500 <dt><i>fileName</i> (str)</dt>
4282 <dd> 4501 <dd>
4283 file name of the editor (string) 4502 file name of the editor
4284 </dd> 4503 </dd>
4285 <dt><i>message</i></dt> 4504 <dt><i>message</i> (str)</dt>
4286 <dd> 4505 <dd>
4287 command message to be sent (string) 4506 command message to be sent
4288 </dd> 4507 </dd>
4289 </dl> 4508 </dl>
4290 <a NAME="ViewManager.sendSharedEdit" ID="ViewManager.sendSharedEdit"></a> 4509 <a NAME="ViewManager.sendSharedEdit" ID="ViewManager.sendSharedEdit"></a>
4291 <h4>ViewManager.sendSharedEdit</h4> 4510 <h4>ViewManager.sendSharedEdit</h4>
4292 <b>sendSharedEdit</b>(<i></i>) 4511 <b>sendSharedEdit</b>(<i></i>)
4302 <p> 4521 <p>
4303 Public method to set a reference to the cooperation client. 4522 Public method to set a reference to the cooperation client.
4304 </p> 4523 </p>
4305 <dl> 4524 <dl>
4306 4525
4307 <dt><i>client</i></dt> 4526 <dt><i>client</i> (CooperationClient)</dt>
4308 <dd> 4527 <dd>
4309 reference to the cooperation client (CooperationClient) 4528 reference to the cooperation client
4310 </dd> 4529 </dd>
4311 </dl> 4530 </dl>
4312 <a NAME="ViewManager.setEditorName" ID="ViewManager.setEditorName"></a> 4531 <a NAME="ViewManager.setEditorName" ID="ViewManager.setEditorName"></a>
4313 <h4>ViewManager.setEditorName</h4> 4532 <h4>ViewManager.setEditorName</h4>
4314 <b>setEditorName</b>(<i>editor, newName</i>) 4533 <b>setEditorName</b>(<i>editor, newName</i>)
4316 <p> 4535 <p>
4317 Public method to change the displayed name of the editor. 4536 Public method to change the displayed name of the editor.
4318 </p> 4537 </p>
4319 <dl> 4538 <dl>
4320 4539
4321 <dt><i>editor</i></dt> 4540 <dt><i>editor</i> (Editor)</dt>
4322 <dd> 4541 <dd>
4323 editor window to be changed 4542 editor window to be changed
4324 </dd> 4543 </dd>
4325 <dt><i>newName</i></dt> 4544 <dt><i>newName</i> (str)</dt>
4326 <dd> 4545 <dd>
4327 new name to be shown (string) 4546 new name to be shown
4328 </dd> 4547 </dd>
4329 </dl> 4548 </dl>
4330 <dl> 4549 <dl>
4331 4550
4332 <dt>Raises <b>NotImplementedError</b>:</dt> 4551 <dt>Raises <b>NotImplementedError</b>:</dt>
4342 Public method to update the user interface when the current program 4561 Public method to update the user interface when the current program
4343 or line changes. 4562 or line changes.
4344 </p> 4563 </p>
4345 <dl> 4564 <dl>
4346 4565
4347 <dt><i>fn</i></dt> 4566 <dt><i>fn</i> (str)</dt>
4348 <dd> 4567 <dd>
4349 filename of editor to update (string) 4568 filename of editor to update
4350 </dd> 4569 </dd>
4351 <dt><i>line</i></dt> 4570 <dt><i>line</i> (int)</dt>
4352 <dd> 4571 <dd>
4353 line number to highlight (int) 4572 line number to highlight
4354 </dd> 4573 </dd>
4355 <dt><i>error</i></dt> 4574 <dt><i>error</i> (bool)</dt>
4356 <dd> 4575 <dd>
4357 flag indicating an error highlight (boolean) 4576 flag indicating an error highlight
4358 </dd> 4577 </dd>
4359 <dt><i>syntaxError</i></dt> 4578 <dt><i>syntaxError</i> (bool)</dt>
4360 <dd> 4579 <dd>
4361 flag indicating a syntax error 4580 flag indicating a syntax error
4362 </dd> 4581 </dd>
4363 </dl> 4582 </dl>
4364 <a NAME="ViewManager.setReferences" ID="ViewManager.setReferences"></a> 4583 <a NAME="ViewManager.setReferences" ID="ViewManager.setReferences"></a>
4368 <p> 4587 <p>
4369 Public method to set some references needed later on. 4588 Public method to set some references needed later on.
4370 </p> 4589 </p>
4371 <dl> 4590 <dl>
4372 4591
4373 <dt><i>ui</i></dt> 4592 <dt><i>ui</i> (UserInterface)</dt>
4374 <dd> 4593 <dd>
4375 reference to the main user interface 4594 reference to the main user interface
4376 </dd> 4595 </dd>
4377 <dt><i>dbs</i></dt> 4596 <dt><i>dbs</i> (DebugServer)</dt>
4378 <dd> 4597 <dd>
4379 reference to the debug server object 4598 reference to the debug server object
4380 </dd> 4599 </dd>
4381 </dl> 4600 </dl>
4382 <a NAME="ViewManager.setSbInfo" ID="ViewManager.setSbInfo"></a> 4601 <a NAME="ViewManager.setSbInfo" ID="ViewManager.setSbInfo"></a>
4387 Public method to transfer statusbar info from the user interface to 4606 Public method to transfer statusbar info from the user interface to
4388 viewmanager. 4607 viewmanager.
4389 </p> 4608 </p>
4390 <dl> 4609 <dl>
4391 4610
4392 <dt><i>sbLine</i></dt> 4611 <dt><i>sbLine</i> (QLabel)</dt>
4393 <dd> 4612 <dd>
4394 reference to the line number part of the statusbar 4613 reference to the line number part of the statusbar
4395 (QLabel) 4614 </dd>
4396 </dd> 4615 <dt><i>sbPos</i> (QLabel)</dt>
4397 <dt><i>sbPos</i></dt>
4398 <dd> 4616 <dd>
4399 reference to the character position part of the statusbar 4617 reference to the character position part of the statusbar
4400 (QLabel) 4618 </dd>
4401 </dd> 4619 <dt><i>sbWritable</i> (QLabel)</dt>
4402 <dt><i>sbWritable</i></dt>
4403 <dd> 4620 <dd>
4404 reference to the writability indicator part of 4621 reference to the writability indicator part of
4405 the statusbar (QLabel) 4622 the statusbar
4406 </dd> 4623 </dd>
4407 <dt><i>sbEncoding</i></dt> 4624 <dt><i>sbEncoding</i> (QLabel)</dt>
4408 <dd> 4625 <dd>
4409 reference to the encoding indicator part of the 4626 reference to the encoding indicator part of the
4410 statusbar (QLabel) 4627 statusbar
4411 </dd> 4628 </dd>
4412 <dt><i>sbLanguage</i></dt> 4629 <dt><i>sbLanguage</i> (QLabel)</dt>
4413 <dd> 4630 <dd>
4414 reference to the language indicator part of the 4631 reference to the language indicator part of the
4415 statusbar (QLabel) 4632 statusbar
4416 </dd> 4633 </dd>
4417 <dt><i>sbEol</i></dt> 4634 <dt><i>sbEol</i> (QLabel)</dt>
4418 <dd> 4635 <dd>
4419 reference to the eol indicator part of the statusbar 4636 reference to the eol indicator part of the statusbar
4420 (QLabel) 4637 </dd>
4421 </dd> 4638 <dt><i>sbZoom</i> (EricZoomWidget)</dt>
4422 <dt><i>sbZoom</i></dt> 4639 <dd>
4423 <dd> 4640 reference to the zoom widget
4424 reference to the zoom widget (EricZoomWidget)
4425 </dd> 4641 </dd>
4426 </dl> 4642 </dl>
4427 <a NAME="ViewManager.setSplitCount" ID="ViewManager.setSplitCount"></a> 4643 <a NAME="ViewManager.setSplitCount" ID="ViewManager.setSplitCount"></a>
4428 <h4>ViewManager.setSplitCount</h4> 4644 <h4>ViewManager.setSplitCount</h4>
4429 <b>setSplitCount</b>(<i>count</i>) 4645 <b>setSplitCount</b>(<i>count</i>)
4445 <p> 4661 <p>
4446 Public method used to set the orientation of the split view. 4662 Public method used to set the orientation of the split view.
4447 </p> 4663 </p>
4448 <dl> 4664 <dl>
4449 4665
4450 <dt><i>orientation</i></dt> 4666 <dt><i>orientation</i> (Qt.Orientation)</dt>
4451 <dd> 4667 <dd>
4452 orientation of the split 4668 orientation of the split
4453 (Qt.Orientation.Horizontal or Qt.Orientation.Vertical)
4454 </dd> 4669 </dd>
4455 </dl> 4670 </dl>
4456 <a NAME="ViewManager.shareConnected" ID="ViewManager.shareConnected"></a> 4671 <a NAME="ViewManager.shareConnected" ID="ViewManager.shareConnected"></a>
4457 <h4>ViewManager.shareConnected</h4> 4672 <h4>ViewManager.shareConnected</h4>
4458 <b>shareConnected</b>(<i>connected</i>) 4673 <b>shareConnected</b>(<i>connected</i>)
4460 <p> 4675 <p>
4461 Public slot to handle a change of the connected state. 4676 Public slot to handle a change of the connected state.
4462 </p> 4677 </p>
4463 <dl> 4678 <dl>
4464 4679
4465 <dt><i>connected</i></dt> 4680 <dt><i>connected</i> (bool)</dt>
4466 <dd> 4681 <dd>
4467 flag indicating the connected state (boolean) 4682 flag indicating the connected state
4468 </dd> 4683 </dd>
4469 </dl> 4684 </dl>
4470 <a NAME="ViewManager.shareEditor" ID="ViewManager.shareEditor"></a> 4685 <a NAME="ViewManager.shareEditor" ID="ViewManager.shareEditor"></a>
4471 <h4>ViewManager.shareEditor</h4> 4686 <h4>ViewManager.shareEditor</h4>
4472 <b>shareEditor</b>(<i>share</i>) 4687 <b>shareEditor</b>(<i>share</i>)
4474 <p> 4689 <p>
4475 Public slot to set the shared status of the current editor. 4690 Public slot to set the shared status of the current editor.
4476 </p> 4691 </p>
4477 <dl> 4692 <dl>
4478 4693
4479 <dt><i>share</i></dt> 4694 <dt><i>share</i> (bool)</dt>
4480 <dd> 4695 <dd>
4481 flag indicating the share status (boolean) 4696 flag indicating the share status
4482 </dd> 4697 </dd>
4483 </dl> 4698 </dl>
4484 <a NAME="ViewManager.showDebugSource" ID="ViewManager.showDebugSource"></a> 4699 <a NAME="ViewManager.showDebugSource" ID="ViewManager.showDebugSource"></a>
4485 <h4>ViewManager.showDebugSource</h4> 4700 <h4>ViewManager.showDebugSource</h4>
4486 <b>showDebugSource</b>(<i>fn, line</i>) 4701 <b>showDebugSource</b>(<i>fn, line</i>)
4489 Public method to open the given file and highlight the given line in 4704 Public method to open the given file and highlight the given line in
4490 it. 4705 it.
4491 </p> 4706 </p>
4492 <dl> 4707 <dl>
4493 4708
4494 <dt><i>fn</i></dt> 4709 <dt><i>fn</i> (str)</dt>
4495 <dd> 4710 <dd>
4496 filename of editor to update (string) 4711 filename of editor to update
4497 </dd> 4712 </dd>
4498 <dt><i>line</i></dt> 4713 <dt><i>line</i> (int)</dt>
4499 <dd> 4714 <dd>
4500 line number to highlight (int) 4715 line number to highlight
4501 </dd> 4716 </dd>
4502 </dl> 4717 </dl>
4503 <a NAME="ViewManager.showEditorInfo" ID="ViewManager.showEditorInfo"></a> 4718 <a NAME="ViewManager.showEditorInfo" ID="ViewManager.showEditorInfo"></a>
4504 <h4>ViewManager.showEditorInfo</h4> 4719 <h4>ViewManager.showEditorInfo</h4>
4505 <b>showEditorInfo</b>(<i>editor</i>) 4720 <b>showEditorInfo</b>(<i>editor</i>)
4535 <p> 4750 <p>
4536 Public method to set up the viewmanager part of the Window menu. 4751 Public method to set up the viewmanager part of the Window menu.
4537 </p> 4752 </p>
4538 <dl> 4753 <dl>
4539 4754
4540 <dt><i>windowMenu</i></dt> 4755 <dt><i>windowMenu</i> (QMenu)</dt>
4541 <dd> 4756 <dd>
4542 reference to the window menu 4757 reference to the window menu
4543 </dd> 4758 </dd>
4544 </dl> 4759 </dl>
4545 <dl> 4760 <dl>
4583 Public method to determine the selection or the current word for the 4798 Public method to determine the selection or the current word for the
4584 next find operation. 4799 next find operation.
4585 </p> 4800 </p>
4586 <dl> 4801 <dl>
4587 4802
4588 <dt><i>getCurrentWord</i></dt> 4803 <dt><i>getCurrentWord</i> (bool)</dt>
4589 <dd> 4804 <dd>
4590 flag indicating to return the current word, if 4805 flag indicating to return the current word, if
4591 no selected text was found (boolean) 4806 no selected text was found
4592 </dd> 4807 </dd>
4593 </dl> 4808 </dl>
4594 <dl> 4809 <dl>
4595 <dt>Return:</dt> 4810 <dt>Return:</dt>
4596 <dd> 4811 <dd>
4597 selection or current word (string) 4812 selection or current word
4813 </dd>
4814 </dl>
4815 <dl>
4816 <dt>Return Type:</dt>
4817 <dd>
4818 str
4598 </dd> 4819 </dd>
4599 </dl> 4820 </dl>
4600 <a NAME="ViewManager.tile" ID="ViewManager.tile"></a> 4821 <a NAME="ViewManager.tile" ID="ViewManager.tile"></a>
4601 <h4>ViewManager.tile</h4> 4822 <h4>ViewManager.tile</h4>
4602 <b>tile</b>(<i></i>) 4823 <b>tile</b>(<i></i>)
4619 Public method to switch off all highlights or the highlight of 4840 Public method to switch off all highlights or the highlight of
4620 the current editor. 4841 the current editor.
4621 </p> 4842 </p>
4622 <dl> 4843 <dl>
4623 4844
4624 <dt><i>current</i></dt> 4845 <dt><i>current</i> (bool)</dt>
4625 <dd> 4846 <dd>
4626 flag indicating only the current editor should be 4847 flag indicating only the current editor should be
4627 unhighlighted (boolean) 4848 unhighlighted
4628 </dd> 4849 </dd>
4629 </dl> 4850 </dl>
4630 <a NAME="ViewManager.zoomValueChanged" ID="ViewManager.zoomValueChanged"></a> 4851 <a NAME="ViewManager.zoomValueChanged" ID="ViewManager.zoomValueChanged"></a>
4631 <h4>ViewManager.zoomValueChanged</h4> 4852 <h4>ViewManager.zoomValueChanged</h4>
4632 <b>zoomValueChanged</b>(<i>value, zoomingWidget</i>) 4853 <b>zoomValueChanged</b>(<i>value, zoomingWidget</i>)

eric ide

mercurial