Documentation/Source/eric6.HexEdit.HexEditWidget.html

changeset 4670
d401ba329d24
parent 4669
d37bfc9ca3b9
child 4673
6fa2418f010c
equal deleted inserted replaced
4669:d37bfc9ca3b9 4670:d401ba329d24
150 <td>Public method to get the visibility of the ASCII area.</td> 150 <td>Public method to get the visibility of the ASCII area.</td>
151 </tr><tr> 151 </tr><tr>
152 <td><a href="#HexEditWidget.copy">copy</a></td> 152 <td><a href="#HexEditWidget.copy">copy</a></td>
153 <td>Public method to copy the selected bytes to the clipboard.</td> 153 <td>Public method to copy the selected bytes to the clipboard.</td>
154 </tr><tr> 154 </tr><tr>
155 <td><a href="#HexEditWidget.cursorBytePosition">cursorBytePosition</a></td>
156 <td>Public method to get the cursor position in bytes.</td>
157 </tr><tr>
155 <td><a href="#HexEditWidget.cursorPosition">cursorPosition</a></td> 158 <td><a href="#HexEditWidget.cursorPosition">cursorPosition</a></td>
156 <td>Public method to get the cursor position.</td> 159 <td>Public method to get the cursor position.</td>
157 </tr><tr> 160 </tr><tr>
158 <td><a href="#HexEditWidget.cursorPositionFromPoint">cursorPositionFromPoint</a></td> 161 <td><a href="#HexEditWidget.cursorPositionFromPoint">cursorPositionFromPoint</a></td>
159 <td>Public method to calculate a cursor position from a graphics position.</td> 162 <td>Public method to calculate a cursor position from a graphics position.</td>
192 <td>Public method to get the end of the selection.</td> 195 <td>Public method to get the end of the selection.</td>
193 </tr><tr> 196 </tr><tr>
194 <td><a href="#HexEditWidget.getSelectionLength">getSelectionLength</a></td> 197 <td><a href="#HexEditWidget.getSelectionLength">getSelectionLength</a></td>
195 <td>Public method to get the length of the selection.</td> 198 <td>Public method to get the length of the selection.</td>
196 </tr><tr> 199 </tr><tr>
200 <td><a href="#HexEditWidget.goto">goto</a></td>
201 <td>Public method to move the cursor.</td>
202 </tr><tr>
197 <td><a href="#HexEditWidget.hasSelection">hasSelection</a></td> 203 <td><a href="#HexEditWidget.hasSelection">hasSelection</a></td>
198 <td>Public method to test for a selection.</td> 204 <td>Public method to test for a selection.</td>
199 </tr><tr> 205 </tr><tr>
200 <td><a href="#HexEditWidget.highlightColors">highlightColors</a></td> 206 <td><a href="#HexEditWidget.highlightColors">highlightColors</a></td>
201 <td>Public method to get the highlight colors.</td> 207 <td>Public method to get the highlight colors.</td>
341 <td><a href="#HexEditWidget.setAddressWidth">setAddressWidth</a></td> 347 <td><a href="#HexEditWidget.setAddressWidth">setAddressWidth</a></td>
342 <td>Public method to set the width of the address area.</td> 348 <td>Public method to set the width of the address area.</td>
343 </tr><tr> 349 </tr><tr>
344 <td><a href="#HexEditWidget.setAsciiArea">setAsciiArea</a></td> 350 <td><a href="#HexEditWidget.setAsciiArea">setAsciiArea</a></td>
345 <td>Public method to set the visibility of the ASCII area.</td> 351 <td>Public method to set the visibility of the ASCII area.</td>
352 </tr><tr>
353 <td><a href="#HexEditWidget.setCursorBytePosition">setCursorBytePosition</a></td>
354 <td>Public method to set the cursor position in bytes.</td>
346 </tr><tr> 355 </tr><tr>
347 <td><a href="#HexEditWidget.setCursorPosition">setCursorPosition</a></td> 356 <td><a href="#HexEditWidget.setCursorPosition">setCursorPosition</a></td>
348 <td>Public method to set the cursor position.</td> 357 <td>Public method to set the cursor position.</td>
349 </tr><tr> 358 </tr><tr>
350 <td><a href="#HexEditWidget.setData">setData</a></td> 359 <td><a href="#HexEditWidget.setData">setData</a></td>
626 </dl><a NAME="HexEditWidget.copy" ID="HexEditWidget.copy"></a> 635 </dl><a NAME="HexEditWidget.copy" ID="HexEditWidget.copy"></a>
627 <h4>HexEditWidget.copy</h4> 636 <h4>HexEditWidget.copy</h4>
628 <b>copy</b>(<i></i>) 637 <b>copy</b>(<i></i>)
629 <p> 638 <p>
630 Public method to copy the selected bytes to the clipboard. 639 Public method to copy the selected bytes to the clipboard.
631 </p><a NAME="HexEditWidget.cursorPosition" ID="HexEditWidget.cursorPosition"></a> 640 </p><a NAME="HexEditWidget.cursorBytePosition" ID="HexEditWidget.cursorBytePosition"></a>
641 <h4>HexEditWidget.cursorBytePosition</h4>
642 <b>cursorBytePosition</b>(<i></i>)
643 <p>
644 Public method to get the cursor position in bytes.
645 </p><dl>
646 <dt>Returns:</dt>
647 <dd>
648 cursor position in bytes
649 </dd>
650 </dl><dl>
651 <dt>Return Type:</dt>
652 <dd>
653 int
654 </dd>
655 </dl><a NAME="HexEditWidget.cursorPosition" ID="HexEditWidget.cursorPosition"></a>
632 <h4>HexEditWidget.cursorPosition</h4> 656 <h4>HexEditWidget.cursorPosition</h4>
633 <b>cursorPosition</b>(<i></i>) 657 <b>cursorPosition</b>(<i></i>)
634 <p> 658 <p>
635 Public method to get the cursor position. 659 Public method to get the cursor position.
636 </p><dl> 660 </p><dl>
795 </dl><dl> 819 </dl><dl>
796 <dt>Return Type:</dt> 820 <dt>Return Type:</dt>
797 <dd> 821 <dd>
798 int 822 int
799 </dd> 823 </dd>
824 </dl><a NAME="HexEditWidget.goto" ID="HexEditWidget.goto"></a>
825 <h4>HexEditWidget.goto</h4>
826 <b>goto</b>(<i>offset, fromCursor=False, backwards=False, extendSelection=False</i>)
827 <p>
828 Public method to move the cursor.
829 </p><dl>
830 <dt><i>offset</i> (int)</dt>
831 <dd>
832 offset to move to
833 </dd><dt><i>fromCursor</i> (bool)</dt>
834 <dd>
835 flag indicating a move relative to the current cursor
836 </dd><dt><i>backwards</i> (bool)</dt>
837 <dd>
838 flag indicating a backwards move
839 </dd><dt><i>extendSelection</i> (bool)</dt>
840 <dd>
841 flag indicating to extend the selection
842 </dd>
800 </dl><a NAME="HexEditWidget.hasSelection" ID="HexEditWidget.hasSelection"></a> 843 </dl><a NAME="HexEditWidget.hasSelection" ID="HexEditWidget.hasSelection"></a>
801 <h4>HexEditWidget.hasSelection</h4> 844 <h4>HexEditWidget.hasSelection</h4>
802 <b>hasSelection</b>(<i></i>) 845 <b>hasSelection</b>(<i></i>)
803 <p> 846 <p>
804 Public method to test for a selection. 847 Public method to test for a selection.
1267 </p><dl> 1310 </p><dl>
1268 <dt><i>on</i> (bool)</dt> 1311 <dt><i>on</i> (bool)</dt>
1269 <dd> 1312 <dd>
1270 flag indicating the visibility of the ASCII area 1313 flag indicating the visibility of the ASCII area
1271 </dd> 1314 </dd>
1315 </dl><a NAME="HexEditWidget.setCursorBytePosition" ID="HexEditWidget.setCursorBytePosition"></a>
1316 <h4>HexEditWidget.setCursorBytePosition</h4>
1317 <b>setCursorBytePosition</b>(<i>pos</i>)
1318 <p>
1319 Public method to set the cursor position in bytes.
1320 </p><dl>
1321 <dt><i>pos</i> (int)</dt>
1322 <dd>
1323 cursor position in bytes
1324 </dd>
1272 </dl><a NAME="HexEditWidget.setCursorPosition" ID="HexEditWidget.setCursorPosition"></a> 1325 </dl><a NAME="HexEditWidget.setCursorPosition" ID="HexEditWidget.setCursorPosition"></a>
1273 <h4>HexEditWidget.setCursorPosition</h4> 1326 <h4>HexEditWidget.setCursorPosition</h4>
1274 <b>setCursorPosition</b>(<i>pos</i>) 1327 <b>setCursorPosition</b>(<i>pos</i>)
1275 <p> 1328 <p>
1276 Public method to set the cursor position. 1329 Public method to set the cursor position.

eric ide

mercurial