Documentation/Source/eric6.HexEdit.HexEditWidget.html

changeset 4670
d401ba329d24
parent 4669
d37bfc9ca3b9
child 4673
6fa2418f010c
--- a/Documentation/Source/eric6.HexEdit.HexEditWidget.html	Sat Jan 16 18:21:31 2016 +0100
+++ b/Documentation/Source/eric6.HexEdit.HexEditWidget.html	Sun Jan 17 11:23:17 2016 +0100
@@ -152,6 +152,9 @@
 <td><a href="#HexEditWidget.copy">copy</a></td>
 <td>Public method to copy the selected bytes to the clipboard.</td>
 </tr><tr>
+<td><a href="#HexEditWidget.cursorBytePosition">cursorBytePosition</a></td>
+<td>Public method to get the cursor position in bytes.</td>
+</tr><tr>
 <td><a href="#HexEditWidget.cursorPosition">cursorPosition</a></td>
 <td>Public method to get the cursor position.</td>
 </tr><tr>
@@ -194,6 +197,9 @@
 <td><a href="#HexEditWidget.getSelectionLength">getSelectionLength</a></td>
 <td>Public method to get the length of the selection.</td>
 </tr><tr>
+<td><a href="#HexEditWidget.goto">goto</a></td>
+<td>Public method to move the cursor.</td>
+</tr><tr>
 <td><a href="#HexEditWidget.hasSelection">hasSelection</a></td>
 <td>Public method to test for a selection.</td>
 </tr><tr>
@@ -344,6 +350,9 @@
 <td><a href="#HexEditWidget.setAsciiArea">setAsciiArea</a></td>
 <td>Public method to set the visibility of the ASCII area.</td>
 </tr><tr>
+<td><a href="#HexEditWidget.setCursorBytePosition">setCursorBytePosition</a></td>
+<td>Public method to set the cursor position in bytes.</td>
+</tr><tr>
 <td><a href="#HexEditWidget.setCursorPosition">setCursorPosition</a></td>
 <td>Public method to set the cursor position.</td>
 </tr><tr>
@@ -628,7 +637,22 @@
 <b>copy</b>(<i></i>)
 <p>
         Public method to copy the selected bytes to the clipboard.
-</p><a NAME="HexEditWidget.cursorPosition" ID="HexEditWidget.cursorPosition"></a>
+</p><a NAME="HexEditWidget.cursorBytePosition" ID="HexEditWidget.cursorBytePosition"></a>
+<h4>HexEditWidget.cursorBytePosition</h4>
+<b>cursorBytePosition</b>(<i></i>)
+<p>
+        Public method to get the cursor position in bytes.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+cursor position in bytes
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+int
+</dd>
+</dl><a NAME="HexEditWidget.cursorPosition" ID="HexEditWidget.cursorPosition"></a>
 <h4>HexEditWidget.cursorPosition</h4>
 <b>cursorPosition</b>(<i></i>)
 <p>
@@ -797,6 +821,25 @@
 <dd>
 int
 </dd>
+</dl><a NAME="HexEditWidget.goto" ID="HexEditWidget.goto"></a>
+<h4>HexEditWidget.goto</h4>
+<b>goto</b>(<i>offset, fromCursor=False, backwards=False, extendSelection=False</i>)
+<p>
+        Public method to move the cursor.
+</p><dl>
+<dt><i>offset</i> (int)</dt>
+<dd>
+offset to move to
+</dd><dt><i>fromCursor</i> (bool)</dt>
+<dd>
+flag indicating a move relative to the current cursor
+</dd><dt><i>backwards</i> (bool)</dt>
+<dd>
+flag indicating a backwards move
+</dd><dt><i>extendSelection</i> (bool)</dt>
+<dd>
+flag indicating to extend the selection
+</dd>
 </dl><a NAME="HexEditWidget.hasSelection" ID="HexEditWidget.hasSelection"></a>
 <h4>HexEditWidget.hasSelection</h4>
 <b>hasSelection</b>(<i></i>)
@@ -1269,6 +1312,16 @@
 <dd>
 flag indicating the visibility of the ASCII area
 </dd>
+</dl><a NAME="HexEditWidget.setCursorBytePosition" ID="HexEditWidget.setCursorBytePosition"></a>
+<h4>HexEditWidget.setCursorBytePosition</h4>
+<b>setCursorBytePosition</b>(<i>pos</i>)
+<p>
+        Public method to set the cursor position in bytes.
+</p><dl>
+<dt><i>pos</i> (int)</dt>
+<dd>
+cursor position in bytes
+</dd>
 </dl><a NAME="HexEditWidget.setCursorPosition" ID="HexEditWidget.setCursorPosition"></a>
 <h4>HexEditWidget.setCursorPosition</h4>
 <b>setCursorPosition</b>(<i>pos</i>)

eric ide

mercurial