TC Akelpad Plugin v1.24

Plugin for viewing text files in Total Commander.
AkelPad is an open source text editor designed to be small and fast.
Possibilities:
Single-window (SDI), multi-window (MDI) and pseudo-multiple-window (PMDI) modes;
Full support for Unicode strings on Unicode systems
(NT/2000/XP/2003/Vista/Seven);
Working with Unicode encodings (UTF-8, UTF-16LE, UTF-16BE, UTF-32LE, UTF-32BE);
Work with any code page installed in the system;
Work with DOS/Windows, Unix and Mac newline formats;
File opening preview;
Correct display of pseudographics;
Block selection of text;
Multi-level rollback of actions;
Quick search/replace text lines;
Remembering the encoding and carriage position in the file;
Print and preview;
Support for language modules;
Plugin support (syntax highlighting, block folding, auto-completion,
running scripts, keyboard macros and much more).

The TCAkelPad plugin allows you to use AkelPad in both x86 and x64 bits.
Moreover, they can be used both with Total Commander x86 and x64.
You can use AkelPad of one bit depth for both bit depths at once
Total Commander.
The plugin allows you to use AkelPad in two modes. In edit mode and
in viewer mode.
The plugin provides double use of the keys '1'..'8', 'N' and 'P'.
When focus is in TC Lister, '1'..'8', 'N' and 'P' work as in TC Lister.
If the focus is in the AkelPad window and editing mode is enabled, the keys
'1'..'8', 'N' and 'P' are used to enter text.
Switch focus between TC Lister and AkelPad using the Ctrl+Tab key combination.

Installation.
The plugin is installed using standard Total Commander tools.
Automatic installation is supported.
Plugin can use AkelPad located in default folders,
either in
any folder on the disk.
By default, the subfolders AkelPad \AkelPad and \AkelPad64 are located in the
folder TCAkelPad plugin and are created automatically.
AkelPad program https://akelpad.sourceforge.net/en/download.php unpack
subfolders \AkelPad and \AkelPad64 of the TCAkelPad plugin, according to
bit depth of the program.
The plugin is ready to go.
You can start viewing files by pressing F3 or
Ctrl+Q.
If AkelPad is not located in the default folders, you need to set the paths to
its executable files in the akelpad.ini file, which is automatically created in
TCAkelPad plugin folder after using it for the first time.
If during the first installation of the plugin you need to immediately set the
path to executable files of AkelPad, create a file akelpad.ini manually or
rename and edit the akelpad.sample.ini file.
In the future, when updating the plugin, akelpad.ini is not overwritten and
stores path settings to AkelPad. The akelpad.sample.ini file lists the possible
path options to AkelPad.
When placing AkelPad in protected folders, you must ensure that access to
AkelPad files are opened.
By default, an empty [Options] section is created in akelpad.ini for
using AkelPad in default folders. In this case, the executables
AkelPads are searched in subfolders \AkelPad and \AkelPad64 according to bit
depth Akelpad.
Even if AkelPad is located in the default folders, you must specify the path to
executable file if the bit depths of AkelPad and Total Commander do not match.
When setting the path to AkelPad, it is allowed to use variables like
%COMMANDER_PATH%.
It is more convenient to place the plugin as the last one in the list of
internal plugins viewing. In this case, it is better to remove all extensions
from the detection string and leave it as x_detect="MULTIMEDIA". Then all text
files will be viewed by the plugin. When using the detection string using a
plugin only files with the extension specified in the detection string will be
viewed.
For AkelPad version 4.9.9 [r4432] and higher, the ability to use
different AkelPad ini files for Lister and QuickView modes. To do this next to
The AkelPad.ini file must contain the AkelPadL.ini and AkelPadQ.ini files. If
at least one of these files is missing, a common one will be used for all modes
AkelPad.ini file.

ATTENTION: The performance of the plugin directly depends on the AkelPad
settings. If you are using modes PMDI or MDI in the AkelPad, you
 must allow the launch of multiple copies of AkelPad. To do this in
the file AkelPadL.ini and/or AkelPadQ.ini in the [Options] section set the value
SingleOpenProgram=0. Otherwise the plugin will not be able to process files
correctly if there is a separate running copy AkelPad.

Distribution conditions.
This software is distributed on an "AS IS" basis and it is free for
non-commercial use. The author does not give any guarantees for the operation
of this software and does not bear any responsibility when using it.

History of changes.
Version 1.24:
 * internal changes.
Version 1.23:
+ The key -down and PgDn keys can be leafed through a document from the
TC Lister mode.
 * internal changes.
Version 1.22:
 * internal changes.
Version 1.21:
 * internal changes.
Version 1.20:
 * internal changes.
Version 1.19:
+ added parameter AskOpenBinFile in akelpad.ini. If it is absent or equal zero,
binary files are opened without request. If it is equal to one, it will get out
request for opening binary files.
 * internal changes.
Version 1.18:
 * internal changes.
Version 1.17:
* Support MS Windows XP SP2 and newer. The size of the plugin has decreased
significantly.
Version 1.16:
 * internal changes.
Version 1.15:
 * internal changes.
Version 1.14:
 * internal changes.
Version 1.13:
 * internal changes.
Version 1.12:
 - fixed a bug with truncation of block names in the list of blocks when transfer
is enabled according to.
 * set the value ShowModify=15 in the [Options] section of the AkelPadL.ini
files and/or AkelPadQ.ini is no longer required.
 * internal changes.
Version 1.11:
 + Now you can use any AkelPad plugin. Freezes and crashes due to plugins
eliminated.
 + F4 key switches editing/viewing mode.
- the files AkelPadINI.7z and Langs_ru.7z were removed from the archive, since
they are no longer required for the plugin to work correctly.
 * internal changes.
Version 1.10:
 + when searching for a string in files, its value is transferred to AkelPad.
 + added AkelPadINI.7z archive with AkelPad test ini files.
Test ini files guarantee correct operation of the plugin. With other settings
AkelPad crashes and freezes are possible, since not all AkelPad plugins can
work correctly with TCAkelPad Plugin.
It also requires additional
settings for correctly saving changed files and other plugin options.
The test ini files should be located next to the AkelPad(64).exe file.
Some AkelPad hotkeys interfere with the correct operation of the plugin, and
disable they are only possible by editing the resources of the language files.
Therefore for Russian-speaking users have added the Langs_ru.7z archive,
which contains modified language files.
Version 1.9:
 * internal changes.
Version 1.8:
 * internal changes.
Version 1.7:
 * internal changes.
Version 1.6:
* the readonly parameter in the akelpad.ini plugin configuration file is no
longer used. Left for compatibility with previous versions of the plugin.
 * internal changes.
Version 1.5:
+ Added handling of the TAB key, which allows you to navigate out of the window
editing in the Lister window.
 + Binary files open without prompting.
 + added processing of keys 1..8.
 * internal changes.
Version 1.4:
 * internal changes.
Version 1.3:
 * internal changes.
Version 1.2:
 + added support for separate ini files for each viewing mode AkelPad.
Version 1.1:
 + added support for detection string.
 * internal changes.
Version 1.0:
 * public version.

Author: Valery Kurenkov.