Scite 十六进制编辑器

lua-users home
wiki

SciTEHexEdit 是一个基本的十六进制查看器和编辑器,作为 SciTE 编辑器的 Lua 扩展编写。

描述:这是一个基本的 SciTE 十六进制查看器和编辑器,仅使用 Lua 脚本扩展,没有其他内容。可以执行浏览、编辑和保存操作。有一个十六进制窗格和一个 ASCII 窗格。十六进制编辑器自动以等宽模式打开,并以彩色显示,更改将突出显示。一个控制台窗口允许输入复杂的命令。还有一个帮助屏幕。

下载: http://sl-hexedit.luaforge.net/

项目页面: http://luaforge.net/projects/sl-hexedit/

示例缓冲区显示

. SciTE Hex Editor . ver 0.10 . 20061011 .
+---------+--------+---------+--------+--------+--------+---------+------+
| Refresh | Revert | FirstPg | PrevPg | NextPg | LastPg | Console | Help |
+---------+--------+---------+--------+--------+--------+---------+------+
+--------+-------------------------------------------------+----------------+
| Offset | 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |   ASCII view   |
+--------+-------------------------------------------------+----------------+
|00000000| 23 20 47 6C 6F 62 61 6C 20 69 6E 69 74 69 61 6C |# Global initial|
|00000010| 69 73 61 74 69 6F 6E 20 66 69 6C 65 20 66 6F 72 |isation file for|
|00000020| 20 53 63 69 54 45 0A 23 20 46 6F 72 20 4C 69 6E | SciTE # For Lin|
|00000030| 75 78 2C 20 70 6C 61 63 65 20 69 6E 20 24 70 72 |ux, place in $pr|
|00000040| 65 66 69 78 2F 73 68 61 72 65 2F 73 63 69 74 65 |efix/share/scite|
|00000050| 0A 23 20 46 6F 72 20 57 69 6E 64 6F 77 73 2C 20 | # For Windows, |
|00000060| 70 6C 61 63 65 20 69 6E 20 73 61 6D 65 20 64 69 |place in same di|
|00000070| 72 65 63 74 6F 72 79 20 61 73 20 53 63 69 54 45 |rectory as SciTE|
|00000080| 2E 45 58 45 20 28 6F 72 20 53 63 31 2E 45 58 45 |.EXE (or Sc1.EXE|
|00000090| 29 0A 23 20 44 6F 63 75 6D 65 6E 74 61 74 69 6F |) # Documentatio|
|000000A0| 6E 20 61 74 20 68 74 74 70 3A 2F 2F 77 77 77 2E |n at http://www.|
|000000B0| 73 63 69 6E 74 69 6C 6C 61 2E 6F 72 67 2F 53 63 |scintilla.org/Sc|
|000000C0| 69 54 45 44 6F 63 2E 68 74 6D 6C 0A 0A 23 20 47 |iTEDoc.html  # G|
|000000D0| 6C 6F 62 61 6C 73 0A 0A 23 20 57 69 6E 64 6F 77 |lobals  # Window|
|000000E0| 20 73 69 7A 65 73 20 61 6E 64 20 76 69 73 69 62 | sizes and visib|
|000000F0| 69 6C 69 74 79 0A 69 66 20 50 4C 41 54 5F 57 49 |ility if PLAT_WI|
+--------+-------------------------------------------------+----------------+
+---------------------------------------------------------------------------+
| d:\bin\wscite\SciTEGlobal.properties                          (unchanged) |
+---------------------------------------------------------------------------+
|    / (FirstPg) [ (Prev1K) - (PrevPg) + (NextPg) ] (Next1K) * (LastPg)     |
|    . or ` (Console Mode) N (Find Next) H (Help Screen)                    |
+---------------------------------------------------------------------------+

帮助屏幕

--- Edit Window Help ---

Keypress navigation is recommended. Double-click "buttons" or press
[Space] with the caret on the desired button. Use the console window,
accessed using a period (.) or a backtick (`), for other commands. See
the bottom of the edit window for keypress commands. Also, [Enter]
moves one line down in the edit columns, and [Space] moves the caret
to the next byte in the hex data column.

SciTEHexEdit starts by: (1) loading the file in the current buffer,
ignoring unsaved changes, or (2) using the contents of the untitled
and unsaved buffer. The edit view is automatically positioned where
the caret was in the current buffer.

- Offset column:
Pressing a valid digit changes the address of the page in view, and
the editor will jump to the block in question.

- Hex data column:
Pressing a valid digit changes data in the file. To make the changes
permanent, save the file. Use "revert" to undo.

- ASCII data column:
Pressing a character changes data in the file. Changes can then be
saved or dropped. Not all characters can be entered, because some
keypresses are handled only by SciTE itself.

Data is colour-coded. Unsaved changes are highlighted in yellow. To
customize SciTEHexEdit further, please modify the Lua script itself.

@ Press H again to return to the previous screen...

控制台窗口

--- SciTE Hex Editor Console ---

Enter single commands at prompt line only. Most commands closes the
console window on successful execution. Adding a "-" as a suffix will
stop the console window from closing, e.g. "save-". Commands (which
are case insensitive) are:

  cls                           goto <dec|hex>
  info                          load <filename>
  revert                        save|saveas [<filename>]
  float <float|hex>             number <dec|hex|"string">
  strings                       search <hex|'string'|"regexp">
  exit|close                    help help|about|console|edit|<cmd>

最近更改 · 偏好设置
编辑 · 历史记录
最后编辑于 2009 年 10 月 31 日下午 7:29 GMT (差异)