Sun, 12 Aug 2012 13:23:21 +0200
Updated source docu.
--- a/APIs/Python3/eric5.api Sun Aug 12 13:22:05 2012 +0200 +++ b/APIs/Python3/eric5.api Sun Aug 12 13:23:21 2012 +0200 @@ -544,7 +544,7 @@ eric5.DebugClients.Python3.getpass.win_getpass?7 eric5.Debugger.BreakPointModel.BreakPointModel.addBreakPoint?4(fn, line, properties) eric5.Debugger.BreakPointModel.BreakPointModel.columnCount?4(parent=QModelIndex()) -eric5.Debugger.BreakPointModel.BreakPointModel.data?4(index, role) +eric5.Debugger.BreakPointModel.BreakPointModel.data?4(index, role=Qt.DisplayRole) eric5.Debugger.BreakPointModel.BreakPointModel.dataAboutToBeChanged?7 eric5.Debugger.BreakPointModel.BreakPointModel.deleteAll?4() eric5.Debugger.BreakPointModel.BreakPointModel.deleteBreakPointByIndex?4(index) @@ -560,6 +560,7 @@ eric5.Debugger.BreakPointModel.BreakPointModel.rowCount?4(parent=QModelIndex()) eric5.Debugger.BreakPointModel.BreakPointModel.setBreakPointByIndex?4(index, fn, line, properties) eric5.Debugger.BreakPointModel.BreakPointModel.setBreakPointEnabledByIndex?4(index, enabled) +eric5.Debugger.BreakPointModel.BreakPointModel.setData?4(index, value, role=Qt.EditRole) eric5.Debugger.BreakPointModel.BreakPointModel?1(parent=None) eric5.Debugger.BreakPointViewer.BreakPointViewer.handleResetUI?4() eric5.Debugger.BreakPointViewer.BreakPointViewer.highlightBreakpoint?4(fn, lineno)
--- a/Documentation/Help/source.qhp Sun Aug 12 13:22:05 2012 +0200 +++ b/Documentation/Help/source.qhp Sun Aug 12 13:23:21 2012 +0200 @@ -1421,6 +1421,7 @@ <keyword name="BreakPointModel.rowCount" id="BreakPointModel.rowCount" ref="eric5.Debugger.BreakPointModel.html#BreakPointModel.rowCount" /> <keyword name="BreakPointModel.setBreakPointByIndex" id="BreakPointModel.setBreakPointByIndex" ref="eric5.Debugger.BreakPointModel.html#BreakPointModel.setBreakPointByIndex" /> <keyword name="BreakPointModel.setBreakPointEnabledByIndex" id="BreakPointModel.setBreakPointEnabledByIndex" ref="eric5.Debugger.BreakPointModel.html#BreakPointModel.setBreakPointEnabledByIndex" /> + <keyword name="BreakPointModel.setData" id="BreakPointModel.setData" ref="eric5.Debugger.BreakPointModel.html#BreakPointModel.setData" /> <keyword name="BreakPointViewer" id="BreakPointViewer" ref="eric5.Debugger.BreakPointViewer.html#BreakPointViewer" /> <keyword name="BreakPointViewer (Constructor)" id="BreakPointViewer (Constructor)" ref="eric5.Debugger.BreakPointViewer.html#BreakPointViewer.__init__" /> <keyword name="BreakPointViewer (Module)" id="BreakPointViewer (Module)" ref="eric5.Debugger.BreakPointViewer.html" /> @@ -3458,7 +3459,6 @@ <keyword name="Editor.__isStartChar" id="Editor.__isStartChar" ref="eric5.QScintilla.Editor.html#Editor.__isStartChar" /> <keyword name="Editor.__languageChanged" id="Editor.__languageChanged" ref="eric5.QScintilla.Editor.html#Editor.__languageChanged" /> <keyword name="Editor.__languageMenuTriggered" id="Editor.__languageMenuTriggered" ref="eric5.QScintilla.Editor.html#Editor.__languageMenuTriggered" /> - <keyword name="Editor.__linesChanged" id="Editor.__linesChanged" ref="eric5.QScintilla.Editor.html#Editor.__linesChanged" /> <keyword name="Editor.__lmBbookmarks" id="Editor.__lmBbookmarks" ref="eric5.QScintilla.Editor.html#Editor.__lmBbookmarks" /> <keyword name="Editor.__lmBbreakpoints" id="Editor.__lmBbreakpoints" ref="eric5.QScintilla.Editor.html#Editor.__lmBbreakpoints" /> <keyword name="Editor.__marginClicked" id="Editor.__marginClicked" ref="eric5.QScintilla.Editor.html#Editor.__marginClicked" /> @@ -3469,6 +3469,7 @@ <keyword name="Editor.__menuToggleTemporaryBreakpoint" id="Editor.__menuToggleTemporaryBreakpoint" ref="eric5.QScintilla.Editor.html#Editor.__menuToggleTemporaryBreakpoint" /> <keyword name="Editor.__modificationChanged" id="Editor.__modificationChanged" ref="eric5.QScintilla.Editor.html#Editor.__modificationChanged" /> <keyword name="Editor.__modificationReadOnly" id="Editor.__modificationReadOnly" ref="eric5.QScintilla.Editor.html#Editor.__modificationReadOnly" /> + <keyword name="Editor.__modified" id="Editor.__modified" ref="eric5.QScintilla.Editor.html#Editor.__modified" /> <keyword name="Editor.__newView" id="Editor.__newView" ref="eric5.QScintilla.Editor.html#Editor.__newView" /> <keyword name="Editor.__newViewNewSplit" id="Editor.__newViewNewSplit" ref="eric5.QScintilla.Editor.html#Editor.__newViewNewSplit" /> <keyword name="Editor.__normalizedEncoding" id="Editor.__normalizedEncoding" ref="eric5.QScintilla.Editor.html#Editor.__normalizedEncoding" />
--- a/Documentation/Source/eric5.Debugger.BreakPointModel.html Sun Aug 12 13:22:05 2012 +0200 +++ b/Documentation/Source/eric5.Debugger.BreakPointModel.html Sun Aug 12 13:23:21 2012 +0200 @@ -111,6 +111,9 @@ </tr><tr> <td><a href="#BreakPointModel.setBreakPointEnabledByIndex">setBreakPointEnabledByIndex</a></td> <td>Public method to set the enabled state of a breakpoint given by index.</td> +</tr><tr> +<td><a href="#BreakPointModel.setData">setData</a></td> +<td>Public method to change data in the model.</td> </tr> </table> <h3>Static Methods</h3> @@ -157,7 +160,7 @@ </dd> </dl><a NAME="BreakPointModel.data" ID="BreakPointModel.data"></a> <h4>BreakPointModel.data</h4> -<b>data</b>(<i>index, role</i>) +<b>data</b>(<i>index, role=Qt.DisplayRole</i>) <p> Public method to get the requested data. </p><dl> @@ -378,6 +381,27 @@ <dd> flag giving the enabled state (boolean) </dd> +</dl><a NAME="BreakPointModel.setData" ID="BreakPointModel.setData"></a> +<h4>BreakPointModel.setData</h4> +<b>setData</b>(<i>index, value, role=Qt.EditRole</i>) +<p> + Public method to change data in the model. +</p><dl> +<dt><i>index</i></dt> +<dd> +index of the changed data (QModelIndex) +</dd><dt><i>value</i></dt> +<dd> +value of the changed data +</dd><dt><i>role</i></dt> +<dd> +role of the changed data (Qt.ItemDataRole) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating success (boolean) +</dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr />
--- a/Documentation/Source/eric5.QScintilla.Editor.html Sun Aug 12 13:22:05 2012 +0200 +++ b/Documentation/Source/eric5.QScintilla.Editor.html Sun Aug 12 13:23:21 2012 +0200 @@ -335,9 +335,6 @@ <td><a href="#Editor.__languageMenuTriggered">__languageMenuTriggered</a></td> <td>Private method to handle the selection of a lexer language.</td> </tr><tr> -<td><a href="#Editor.__linesChanged">__linesChanged</a></td> -<td>Private method to track text changes.</td> -</tr><tr> <td><a href="#Editor.__lmBbookmarks">__lmBbookmarks</a></td> <td>Private method to handle the 'LMB toggles bookmark' context menu action.</td> </tr><tr> @@ -368,6 +365,9 @@ <td><a href="#Editor.__modificationReadOnly">__modificationReadOnly</a></td> <td>Private slot to handle the modificationAttempted signal.</td> </tr><tr> +<td><a href="#Editor.__modified">__modified</a></td> +<td>Private method to handle changes of the number of lines.</td> +</tr><tr> <td><a href="#Editor.__newView">__newView</a></td> <td>Private slot to create a new view to an open document.</td> </tr><tr> @@ -1583,15 +1583,7 @@ <dd> reference to the action that was triggered (QAction) </dd> -</dl><a NAME="Editor.__linesChanged" ID="Editor.__linesChanged"></a> -<h4>Editor.__linesChanged</h4> -<b>__linesChanged</b>(<i></i>) -<p> - Private method to track text changes. -</p><p> - This method checks, if lines have been inserted or removed in order to - update the breakpoints. -</p><a NAME="Editor.__lmBbookmarks" ID="Editor.__lmBbookmarks"></a> +</dl><a NAME="Editor.__lmBbookmarks" ID="Editor.__lmBbookmarks"></a> <h4>Editor.__lmBbookmarks</h4> <b>__lmBbookmarks</b>(<i></i>) <p> @@ -1670,7 +1662,44 @@ <b>__modificationReadOnly</b>(<i></i>) <p> Private slot to handle the modificationAttempted signal. -</p><a NAME="Editor.__newView" ID="Editor.__newView"></a> +</p><a NAME="Editor.__modified" ID="Editor.__modified"></a> +<h4>Editor.__modified</h4> +<b>__modified</b>(<i>pos, mtype, text, length, linesAdded, line, foldNow, foldPrev, token, annotationLinesAdded</i>) +<p> + Private method to handle changes of the number of lines. +</p><dl> +<dt><i>pos</i></dt> +<dd> +start position of change (integer) +</dd><dt><i>mtype</i></dt> +<dd> +flags identifying the change (integer) +</dd><dt><i>text</i></dt> +<dd> +text that is given to the Undo system (string) +</dd><dt><i>length</i></dt> +<dd> +length of the change (integer) +</dd><dt><i>linesAdded</i></dt> +<dd> +number of added/deleted lines (integer) +</dd><dt><i>line</i></dt> +<dd> +line number of a fold level or marker change (integer) +</dd><dt><i>foldNow</i></dt> +<dd> +new fold level (integer) +</dd><dt><i>foldPrev</i></dt> +<dd> +previous fold level (integer) +</dd><dt><i>token</i></dt> +<dd> +??? +</dd><dt><i>annotationLinesAdded</i></dt> +<dd> +number of added/deleted annotation lines (integer) +</dd> +</dl><a NAME="Editor.__newView" ID="Editor.__newView"></a> <h4>Editor.__newView</h4> <b>__newView</b>(<i></i>) <p>