Wed, 04 Nov 2015 14:49:29 +0100
Little correction to the BrowserGlobalsItem constructor.
--- a/APIs/Python3/eric6.api Wed Nov 04 14:41:07 2015 +0100 +++ b/APIs/Python3/eric6.api Wed Nov 04 14:49:29 2015 +0100 @@ -8344,6 +8344,7 @@ eric6.UI.BrowserModel.BrowserFileItem.name?4() eric6.UI.BrowserModel.BrowserFileItem.setName?4(finfo, full=True) eric6.UI.BrowserModel.BrowserFileItem?1(parent, finfo, full=True, sourceLanguage="") +eric6.UI.BrowserModel.BrowserGlobalsItem?1(parent, attributes, text) eric6.UI.BrowserModel.BrowserImportItem.fileName?4() eric6.UI.BrowserModel.BrowserImportItem.lessThan?4(other, column, order) eric6.UI.BrowserModel.BrowserImportItem.lineno?4()
--- a/APIs/Python3/eric6.bas Wed Nov 04 14:41:07 2015 +0100 +++ b/APIs/Python3/eric6.bas Wed Nov 04 14:49:29 2015 +0100 @@ -51,6 +51,7 @@ BrowserCodingItem BrowserItem BrowserDirectoryItem BrowserItem BrowserFileItem BrowserItem +BrowserGlobalsItem BrowserClassAttributesItem BrowserImportItem BrowserItem BrowserImportsItem BrowserItem BrowserMethodItem BrowserItem
--- a/Documentation/Source/eric6.UI.BrowserModel.html Wed Nov 04 14:41:07 2015 +0100 +++ b/Documentation/Source/eric6.UI.BrowserModel.html Wed Nov 04 14:49:29 2015 +0100 @@ -994,7 +994,7 @@ </table> <a NAME="BrowserGlobalsItem.__init__" ID="BrowserGlobalsItem.__init__"></a> <h4>BrowserGlobalsItem (Constructor)</h4> -<b>BrowserGlobalsItem</b>(<i>parent, attributes, text, isClass=False</i>) +<b>BrowserGlobalsItem</b>(<i>parent, attributes, text</i>) <p> Constructor </p><dl> @@ -1007,9 +1007,6 @@ </dd><dt><i>text</i></dt> <dd> text to be shown by this item (string) -</dd><dt><i>isClass</i></dt> -<dd> -flag indicating class attributes (boolean) </dd> </dl> <div align="right"><a href="#top">Up</a></div>
--- a/UI/BrowserModel.py Wed Nov 04 14:41:07 2015 +0100 +++ b/UI/BrowserModel.py Wed Nov 04 14:49:29 2015 +0100 @@ -1744,14 +1744,13 @@ """ Class implementing the data structure for browser globals items. """ - def __init__(self, parent, attributes, text, isClass=False): + def __init__(self, parent, attributes, text): """ Constructor @param parent parent item @param attributes list of attributes @param text text to be shown by this item (string) - @param isClass flag indicating class attributes (boolean) """ BrowserClassAttributesItem.__init__(self, parent, attributes, text)