Difference between revisions of "ATBinHex"

From Lazarus wiki
Jump to navigationJump to search
Line 18: Line 18:
  
 
Text: file is shown in text form
 
Text: file is shown in text form
 +
 
[[File:atbinhex_ModeText.gif]]
 
[[File:atbinhex_ModeText.gif]]
  
 
Binary: file is shown in binary form (with fixed line length)
 
Binary: file is shown in binary form (with fixed line length)
 +
 
[[File:atbinhex_ModeBinary.gif]]
 
[[File:atbinhex_ModeBinary.gif]]
  
 
Hex: file is shown in hex dump
 
Hex: file is shown in hex dump
 +
 
[[File:atbinhex_ModeHex.gif]]
 
[[File:atbinhex_ModeHex.gif]]
  
 
Unicode: Unicode contents of file is shown
 
Unicode: Unicode contents of file is shown
 +
 
[[File:atbinhex_ModeUnicode.gif]]
 
[[File:atbinhex_ModeUnicode.gif]]
  
 
Unicode/Hex: combined Hex and Unicode modes
 
Unicode/Hex: combined Hex and Unicode modes
 +
 
[[File:atbinhex_ModeUHex.gif]]
 
[[File:atbinhex_ModeUHex.gif]]
  

Revision as of 21:54, 20 July 2015

About

ATBinHex is a control that implements the quick file (stream) viewer. Only visible part of file (or stream) is loaded into viewer, so it's suitable to show files of unlimited size.

Original Delphi code is used for a long time inside "Universal Viewer" application.

Author: Alexey Torgashin

Limitations of Lazarus port

  • Some features disabled via ATBinHexOptions.inc (searching of text, printing, regex hiliting of URLs).
  • Removed method OpenFile, it used Win API, now use OpenStream.
  • Removed codepages support (1-byte pages)

View modes

There are 5 view modes available:

Text: file is shown in text form

atbinhex ModeText.gif

Binary: file is shown in binary form (with fixed line length)

atbinhex ModeBinary.gif

Hex: file is shown in hex dump

atbinhex ModeHex.gif

Unicode: Unicode contents of file is shown

atbinhex ModeUnicode.gif

Unicode/Hex: combined Hex and Unicode modes

atbinhex ModeUHex.gif

Homepage

Requirements

Lazarus: 1.4.0.

Tested on: Windows 7, QT (Win7), Linux GTK2 (Ubuntu 14.04), MacOS X 10.8.