10.02.2013 Views

SlickEdit User Guide

SlickEdit User Guide

SlickEdit User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

TEXT EDITING<br />

The figure below shows how the original example changes when you type “int” at the cursor while the block<br />

is selected.<br />

Hex Mode Editing<br />

You can enable Hex view/edit mode on a per-document or language-specific basis:<br />

• To view the current binary or text file in a Hex mode, click View > Hex or View > Line Hex (or use<br />

the commands hex or linehex, respectively).<br />

• To enable Hex or Line Hex view on a language-specific basis, so that each file opened in that<br />

language is displayed in Hex mode, use the Language-Specific View Options.<br />

If you close a file in Hex mode, the file will be displayed in Hex mode the next time it is opened. When the<br />

cursor is in hex data, the data can be overwritten or hex nibbles (characters 0 through F) can be inserted.<br />

When the cursor is in the text data, overwrite it if you want, or insert text characters the same as if editing a<br />

text file. All of the search and replace commands work while <strong>SlickEdit</strong>® is in Hex mode. Only character<br />

selections are displayed when in Hex mode.<br />

See also Hex/Line Hex View for more information.<br />

Hex/Text View Key Bindings<br />

Hex mode key bindings override normal key bindings for the emulation. Most of the other emulation keys<br />

will perform the same operation. However, keys that are bound to the following commands perform hex<br />

cursor motion: top_of_buffer, bottom_of_buffer, page_up, page_down, begin_line, end_line,<br />

begin_line_text_toggle, cursor_left, and cursor_right.<br />

Hex/Text View Operation Key Shortcut<br />

Delete Byte to Left of Cursor and Move Cursor Left Backspace<br />

Delete Byte Under Cursor Delete<br />

Move Cursor to Beginning of Hex Line Home<br />

Move Cursor to Last Character of Hex Line End<br />

236 <strong>SlickEdit</strong>® <strong>User</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!