Skip to content

Commit 3db77e9

Browse files
authored
ADD: multiarc.html: Opening an archive in an associated application (flag 256 and an alternative solution for external archivers). (#50)
UPD: faq.html: 7.1. UPD: variables.html: Summary table of all variables. CHG: doublecmd.css: Style for the DC version label. Other small fixes/changes. alpha: ADD: cmds.html: cm_CopyNetNamesToClip, cm_LoadList, cm_MoveTabLeft, cm_MoveTabRight. alpha: ADD: configuration.html: Configuration files: doublecmd.cfg. alpha: ADD: configuration.html: Section 'Colors': 'Dark mode'. alpha: ADD: configuration.html: Section 'Miscellaneous': 'Show splash screen'. alpha: ADD: configuration.html: Section 'Tools/Editor': 'Block indent'. alpha: ADD: configxml.html: AutoCopy, FindWordAtCursor, ImageBackColor1, ImageBackColor2, LongInStatus. alpha: ADD: faq.html: 5.8: Using 'Tools > Editor > Highlighters'. alpha: ADD: help.html: List of pre-installed plugins: MacPreview (macOS), RTF view (Windows). alpha: ADD: help.html: Note about dark mode (Win10+). alpha: ADD: help.html: cm_MakeDir: Extended syntax. alpha: ADD: help.html: cm_ExtractFiles: Smart extract. alpha: ADD: lua.html: os.setenv(), os.unsetenv(). alpha: ADD: multiarc.html: Add base64.wcx to the list of default plugins. alpha: ADD: multirename.html: Find and replace: 'Case sensitive' and 'Replace only once per file'. alpha: ADD: multirename.html: List of files: Load names from clipboard. alpha: ADD: viewer.html: Note about SVG support, WIC; items 'Office XML (text only)', 'Wrap text' and 'Show transparency'. DEL: 'Show as Wrap text'. alpha: UPD: cm_options.html: List of parameters.
1 parent 7d1f304 commit 3db77e9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+368
-70
lines changed

doc/en/cm_options.html

+4
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ <h1>Parameters of internal command <a href="cmds.html#cm_Options">cm_Options</a>
4545
<td class="varcell"><div class="firstcolumnaleft">TOptionsColorsGroup</div></td>
4646
<td class="hintcell">Colors</td>
4747
</tr>
48+
<tr>
49+
<td class="varcell"><div class="firstcolumnaleft">TfrmOptionsColors<span class="versionref"><sup>(Alpha version)</sup></span></div></td>
50+
<td class="hintcell">Colors (Windows 10 1809 and newer)</td>
51+
</tr>
4852
<tr>
4953
<td class="varcell"><div class="firstcolumnaleft">TfrmOptionsFilePanelsColors</div></td>
5054
<td class="hintcell">Colors&nbsp;&gt; File panels</td>

doc/en/cmds.html

+60-1
Original file line numberDiff line numberDiff line change
@@ -1036,6 +1036,11 @@ <h2><a name="catnetwork">2.6. Network</a></h2>
10361036
<div class="cmdname"><a name="cm_NetworkDisconnect">cm_NetworkDisconnect</a></div></td>
10371037
<td class="cmdhintcell">Nothing for the moment, but might be used in the future with network related stuff.</td>
10381038
</tr>
1039+
<tr>
1040+
<td class="cmdcell"><img class="IntCmdImage" title="cm_CopyNetNamesToClip" alt="cm_CopyNetNamesToClip" src="../../pixmaps/dctheme/32x32/actions/cm_copynetnamestoclip.png">
1041+
<div class="cmdname"><a name="cm_CopyNetNamesToClip">cm_CopyNetNamesToClip</a><span class="versionref"><sup>(Alpha version)</sup></span></div></td>
1042+
<td class="cmdhintcell">Windows only: copy names with UNC path.</td>
1043+
</tr>
10391044
</table>
10401045
<p class="navback"><a href="#topofpage">(back to top)</a></p>
10411046
</div>
@@ -1095,6 +1100,50 @@ <h2><a name="catmiscellaneous">2.7. Miscellaneous</a></h2>
10951100
</table>
10961101
</td>
10971102
</tr>
1103+
<tr>
1104+
<td class="cmdcell"><img class="IntCmdImage" title="cm_LoadList" alt="cm_LoadList" src="../../pixmaps/dctheme/32x32/actions/cm_loadlist.png">
1105+
<div class="cmdname"><a name="cm_LoadList">cm_LoadList</a><span class="versionref"><sup>(Alpha version)</sup></span></div></td>
1106+
<td class="cmdhintcell">Load list of files/folders from the specified text file.<br>
1107+
<br>
1108+
<table class="innercmddesc">
1109+
<tr class="rowinnerdesc">
1110+
<th class="innerdescheader">Parameter</th>
1111+
<th class="innerdescheader">Value</th>
1112+
<th class="innerdescheader">Description</th>
1113+
</tr>
1114+
<tr>
1115+
<td class="innerdescparamcell">filename</td>
1116+
<td class="innerdescvaluecell">file name</td>
1117+
<td class="innerdescdesccell">full path to file with list</td>
1118+
</tr>
1119+
<tr>
1120+
<td class="innerdescparamcell" rowspan="6">side</td>
1121+
<td class="innerdescvaluecell">left</td>
1122+
<td class="innerdescdesccell">load list into left panel</td>
1123+
</tr>
1124+
<tr>
1125+
<td class="innerdescvaluecell">right</td>
1126+
<td class="innerdescdesccell">load list into right panel</td>
1127+
</tr>
1128+
<tr>
1129+
<td class="innerdescvaluecell">active</td>
1130+
<td class="innerdescdesccell">load list into active panel</td>
1131+
</tr>
1132+
<tr>
1133+
<td class="innerdescvaluecell">inactive</td>
1134+
<td class="innerdescdesccell">load list into inactive panel</td>
1135+
</tr>
1136+
<tr>
1137+
<td class="innerdescvaluecell"><i>(nothing)</i></td>
1138+
<td class="innerdescdesccell">load list into active panel</td>
1139+
</tr>
1140+
<tr>
1141+
<td class="innerdescvaluecell"><i>(absent)</i></td>
1142+
<td class="innerdescdesccell">load list into active panel</td>
1143+
</tr>
1144+
</table>
1145+
</td>
1146+
</tr>
10981147
</table>
10991148
<p class="navback"><a href="#topofpage">(back to top)</a></p>
11001149
</div>
@@ -1597,7 +1646,7 @@ <h2><a name="catnavigation">2.10. Navigation</a></h2>
15971646
<tr>
15981647
<td class="cmdcell"><img class="IntCmdImage" title="cm_EditPath" alt="cm_EditPath" src="../../pixmaps/dctheme/32x32/actions/cm_editpath.png">
15991648
<div class="cmdname"><a name="cm_EditPath">cm_EditPath</a></div></td>
1600-
<td class="cmdhintcell">User may type directly the directory he wants see in the selected panel. Also see <kbd>Shift+F6</kbd> <a href="shortcuts.html#main_window">here</a>.</td>
1649+
<td class="cmdhintcell">User may type directly the directory he wants see in the selected panel. Also see <kbd>F2</kbd> and <kbd>Shift+F6</kbd> <a href="shortcuts.html#main_window">here</a>.</td>
16011650
</tr>
16021651
<tr>
16031652
<td class="cmdcell"><img class="IntCmdImage" title="cm_ChangeDir" alt="cm_ChangeDir" src="../../pixmaps/dctheme/32x32/actions/cm_changedir.png">
@@ -2424,6 +2473,16 @@ <h2><a name="cattabs">2.16. Tabs</a></h2>
24242473
<div class="shrtctkey">Ctrl+Shift+Tab</div></td>
24252474
<td class="cmdhintcell">Change to <a href="help.html#cm_PrevTab">previous tab</a>.</td>
24262475
</tr>
2476+
<tr>
2477+
<td class="cmdcell"><img class="IntCmdImage" title="cm_MoveTabLeft" alt="cm_MoveTabLeft" src="../../pixmaps/dctheme/32x32/actions/cm_movetableft.png">
2478+
<div class="cmdname"><a name="cm_MoveTabLeft">cm_MoveTabLeft</a><span class="versionref"><sup>(Alpha version)</sup></span></div></td>
2479+
<td class="cmdhintcell">Move current tab to the left.</td>
2480+
</tr>
2481+
<tr>
2482+
<td class="cmdcell"><img class="IntCmdImage" title="cm_MoveTabRight" alt="cm_MoveTabRight" src="../../pixmaps/dctheme/32x32/actions/cm_movetabright.png">
2483+
<div class="cmdname"><a name="cm_MoveTabRight">cm_MoveTabRight</a><span class="versionref"><sup>(Alpha version)</sup></span></div></td>
2484+
<td class="cmdhintcell">Move current tab to the right.</td>
2485+
</tr>
24272486
<tr>
24282487
<td class="cmdcell"><img class="IntCmdImage" title="cm_RenameTab" alt="cm_RenameTab" src="../../pixmaps/dctheme/32x32/actions/cm_renametab.png">
24292488
<div class="cmdname"><a name="cm_RenameTab">cm_RenameTab</a></div></td>

doc/en/configuration.html

+16-5
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ <h2>Content</h2>
4343
</dl>
4444
</dd>
4545
<dt>2.4. <a href="#ConfigFonts">Fonts</a></dt>
46-
<dt>2.5. Colors:</dt>
46+
<dt>2.5. <a href="#ConfigColor">Colors</a></dt>
4747
<dd>
4848
<dl>
4949
<dt>2.5.1. <a href="#ConfigColorPanels">File panels</a></dt>
@@ -137,6 +137,7 @@ <h2><a name="config_files">1. Configuration files</a></h2>
137137
<p>The main files are:</p>
138138
<ul>
139139
<li><p><tt>doublecmd.xml</tt>&nbsp;&ndash; all the main program settings;</p></li>
140+
<li><p><tt>doublecmd.cfg</tt><span class="versionref"><sup>(Alpha version)</sup></span>&nbsp;&ndash; settings that are applied before initialization of all program components and loading <tt>doublecmd.xml</tt>;</p></li>
140141
<li><p><tt>extassoc.xml</tt>&nbsp;&ndash; file extension association configuration;</p></li>
141142
<li><p><tt>pixmaps.txt</tt>&nbsp;&ndash; maps file extensions to MIME-types icon names;</p></li>
142143
<li><p><tt>multiarc.ini</tt>&nbsp;&ndash; external archivers;</p></li>
@@ -196,6 +197,7 @@ <h2><a name="settings">2. Configuration</a></h2>
196197
<p><span class="italic">Tab indents blocks</span>&nbsp;&ndash; If enabled, <kbd>Tab</kbd> and <kbd>Shift+Tab</kbd> act as block indent, unindent when text is selected.</p>
197198
<p><span class="italic">Smart Tabs</span>&nbsp;&ndash; When the <kbd>Tab</kbd> key is used, caret will go to the next non-space character of the previous line.</p>
198199
<p><span class="italic">Tab width</span>&nbsp;&ndash; The width of the tab character (in number of characters). If <span class="italic">Use spaces instead tab characters</span> is enabled, then the <kbd>Tab</kbd> key will insert the specified number of space characters. This setting does not apply if the <span class="italic">Smart Tabs</span> option is enable.</p>
200+
<p><span class="italic">Block indent</span><span class="versionref"><sup>(Alpha version)</sup></span>&nbsp;&ndash; sets the number of characters by which the indent will increase or decrease when using the corresponding commands.</p>
199201
<p><span class="italic">Right margin</span>&nbsp;&ndash; Line length marker, thin vertical line at the given position: lines will not be truncated with a forced line break, it is just a visual hint. Useful in cases where there is a recommendation to limit the length of strings (for example, 80 or 120 characters).</p>
200202
<br>
201203

@@ -258,6 +260,15 @@ <h2><a name="settings">2. Configuration</a></h2>
258260
<p>Normal (proportional) font above, monospaced below.</p>
259261
<br>
260262

263+
<p><span class="bold"><a name="ConfigColor">2.5. Colors</a></span><span class="versionref"><sup>(Alpha version)</sup></span></p>
264+
<p><span class="italic">Dark mode</span>&nbsp;&ndash; enables or disables dark mode support (only Windows 10 1809 and newer):</p>
265+
<ul>
266+
<li><p><span class="italic">Auto</span>&nbsp;&ndash; system settings will be used.</p></li>
267+
<li><p><span class="italic">Enabled</span>&nbsp;&ndash; enable forcibly.</p></li>
268+
<li><p><span class="italic">Disabled</span>&nbsp;&ndash; disable forcibly.</p></li>
269+
</ul>
270+
<br>
271+
261272
<p><span class="bold"><a name="ConfigColorPanels">2.5.1. Colors&nbsp;&gt; File panels</a></span></p>
262273
<p>This section contains settings for the appearance of file panels:</p>
263274
<p class="figure"><img class="largeimage" title="Color settings" alt="Color settings" src="images/imgDC/pic30.png" width="804" height="459"></p>
@@ -787,14 +798,15 @@ <h2><a name="settings">2. Configuration</a></h2>
787798

788799
<p><span class="bold"><a name="ConfigMisc">2.17. Miscellaneous</a></span></p>
789800
<p>This section contains parameters for which there was no suitable place in other sections of the settings:</p>
790-
<p class="figure"><img class="largeimage" title="Miscellaneous" alt="Miscellaneous" src="images/imgDC/pic46.png" width="542" height="483"></p>
801+
<p class="figure"><img class="largeimage" title="Miscellaneous" alt="Miscellaneous" src="images/imgDC/pic46.png" width="542" height="487"></p>
802+
<p><span class="italic">Show splash screen</span><span class="versionref"><sup>(Alpha version)</sup></span>&nbsp;&ndash; If enabled, before displaying the main window, Double Commander will show a splash screen containing the program icon and version, compilation date, and the version of Lazarus, FPC, and operating system.</p>
791803
<p><span class="italic">Show warning messages ("OK" button only)</span>&nbsp;&ndash; shows warning messages if enabled. (For example, if Double Commander cannot set some property or attribute of a file due to file system restrictions in the target directory.)</p>
792804
<p><span class="italic">Always go to the root of a drive when changing drives</span>&nbsp;&ndash; If unchecked, Double Commander will go to the last open directory on this drive (in this case, you can go to the root directory of the drive by pressing its button twice).</p>
793805
<p><span class="italic">Show current directory in the main window title bar</span>&nbsp;&ndash; If enabled, Double Commander will display the name of the current folder and the active panel path in the main window title bar.</p>
794806
<p><span class="italic">Thumbnails</span>&nbsp;&ndash; Here you can enable to save cache of thumbnails of images and set their size. The thumbnail cache directory can be found in the <a href="#ConfigDC">Configuration</a> section. Double Commander uses PNG or JPEG (only for *.bmp, *.jpg and *.jpeg) formats. The thumbnail name is the MD5 sum of the full name of the source file. The full name of the source file, its size and modification date will be added to the file.</p>
795807
<p>The <span class="italic">Remove thumbnails for no longer existing files</span> button will help to remove obsolete thumbnails.</p>
796808
<p><span class="italic">File comments (descript.ion)</span>&nbsp;&ndash; Here you can set the default encoding for existing file comments (OEM, ANSI or UTF-8) and the encoding for new files (UTF-8 BOM, UTF-16 LE or UTF-16 BE).</p>
797-
<p>The next group of parameters is used for import from Total Commander and export <a href="directoryhotlist.html#exportimporttc">Directory Hotlist</a> and <a href="toolbar.html">toolbar</a>: <span class="italic">TC executable</span>, <span class="italic">Configuration file</span> and <span class="italic">Toolbar output path</span> </p>
809+
<p>The next group of parameters is used for import from Total Commander and export <a href="directoryhotlist.html#exportimporttc">Directory Hotlist</a> and <a href="toolbar.html">toolbar</a>: the path and name of the Total Commander executable file and the main configuration file, as well as the directory where the toolbar files are located.</p>
798810
<br>
799811

800812
<p><span class="bold"><a name="ConfigRefresh">2.18. Auto refresh</a></span></p>
@@ -929,15 +941,14 @@ <h2><a name="settings">2. Configuration</a></h2>
929941
<li><p><tt>{!VIEWER}</tt>&nbsp;&ndash; call viewer (internal or external, depends on the configuration);</p></li>
930942
<li><p><tt>{!SHELL}</tt>&nbsp;&ndash; run in terminal and stay open at the end.</p></li>
931943
</ul>
932-
<p>As a command, you can use the <a href="cmds.html">internal commands</a> of Double Commander. The parameters of the internal commands are specified one per line, so you can specify only one here. Also, using the internal command cm_Execute Script, you can run <a href="lua.html">Lua scripts</a>, in this case you can get the names of the selected files using <a href="cmds.html#cm_CopyFullNamesToClip">cm_CopyFullNamesToClip</a> or <a href="cmds.html#cm_SaveSelectionToFile">cm_SaveSelectionToFile</a>.</p>
944+
<p>As a command, you can use the <a href="cmds.html">internal commands</a> of Double Commander. The parameters of the internal commands are specified one per line, so you can specify only one here. Also, using the internal command <a href="cmds.html#cm_ExecuteScript">cm_ExecuteScript</a>, you can run <a href="lua.html">Lua scripts</a>, in this case you can get the names of the selected files using <a href="cmds.html#cm_CopyFullNamesToClip">cm_CopyFullNamesToClip</a> or <a href="cmds.html#cm_SaveSelectionToFile">cm_SaveSelectionToFile</a>.</p>
933945
<p><span class="italic">Parameters</span>&nbsp;&ndash; command parameters including variables:</p>
934946
<ul>
935947
<li><p>any variable from <a href="variables.html">"percent" variables</a>.</p></li>
936948
<li><p><tt>&lt;?command?&gt;</tt>&nbsp;&ndash; runs "command" in the system shell and feeds the output to the command above.</p></li>
937949
</ul>
938950
<p>At a minimum, you must specify a file name, usually <code>%p</code>.</p>
939951
<p><span class="italic">Start path</span>&nbsp;&ndash; command start directory. This directory will become the working directory of the program being launched, and if you do not need to explicitly specify it, then just leave this field empty: in this case, the working directory will be the current directory of the active file panel (regular files) or the system directory for the temporary files (files from archives and WFX plugins).</p>
940-
<p>An association sets example, called <tt>doublecmd.ext.example</tt>, is in the program directory.</p>
941952
<p>All available actions will be displayed in the "Actions" submenu in the context menu:</p>
942953
<p class="figure"><img class="largeimage" title="Context menu" alt="Context menu" src="images/imgDC/pic49.png" width="460" height="288"></p>
943954
<br>

doc/en/configxml.html

+29
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,11 @@ <h2><a name="manualed">3. Options to change manually</a></h2>
171171
<td class="hintcell">For the internal Differ tool, set the color for differing characters in binary mode.</td>
172172
</tr>
173173

174+
<tr>
175+
<td class="cmdcell"><div class="firstcolumnaleft">&lt;FindWordAtCursor&gt;<span class="versionref"><sup>(Alpha version)</sup></span><br><small>from &lt;Editor&gt;</small></div></td>
176+
<td class="hintcell">Internal editor and differ tool: if nothing is selected, the search and replace dialog will use the word under the cursor (<code>True</code>) or text from the search history (<code>False</code>). <code>True</code> by default.</td>
177+
</tr>
178+
174179
<tr>
175180
<td class="cmdcell"><div class="firstcolumnaleft">&lt;AutoExtractOpenMask&gt;<br><small>from &lt;FileOperations&gt;</small></div></td>
176181
<td class="hintcell">
@@ -237,6 +242,11 @@ <h2><a name="manualed">3. Options to change manually</a></h2>
237242
</td>
238243
</tr>
239244

245+
<tr>
246+
<td class="cmdcell"><div class="firstcolumnaleft">&lt;AutoCopy&gt;<span class="versionref"><sup>(Alpha version)</sup></span><br><small>from &lt;Viewer&gt;</small></div></td>
247+
<td class="hintcell">For the internal viewer, enables (<code>True</code>) or disables automatic copying of the selected text to the clipboard. <code>True</code> by default.</td>
248+
</tr>
249+
240250
<tr>
241251
<td class="cmdcell"><div class="firstcolumnaleft">&lt;ExtraLineSpan&gt;<br><small>from &lt;FilesViews&gt;</small></div></td>
242252
<td class="hintcell">
@@ -261,6 +271,12 @@ <h2><a name="manualed">3. Options to change manually</a></h2>
261271
</td>
262272
</tr>
263273

274+
<tr>
275+
<td class="cmdcell"><div class="firstcolumnaleft">&lt;LongInStatus&gt;<span class="versionref"><sup>(Alpha version)</sup></span><br><small>from &lt;FilesViews&gt;&lt;ColumnsView&gt;</small></div></td>
276+
<td class="hintcell">If the columns view is set and there are no selected files, the status bar displays the file name under the cursor (<code>True</code>) or the number of files (<code>False</code>, by default).<br>
277+
If <code>True</code>, the status bar will also show the number of files when the cursor is on the ".." item. For links, target objects will additionally be displayed.</td>
278+
</tr>
279+
264280
<tr>
265281
<td class="cmdcell"><div class="firstcolumnaleft">&lt;TitleStyle&gt;<br><small>from &lt;FilesViews&gt;&lt;ColumnsView&gt;</small></div></td>
266282
<td class="hintcell">
@@ -490,6 +506,19 @@ <h2><a name="manualed">3. Options to change manually</a></h2>
490506
</td>
491507
</tr>
492508

509+
<tr>
510+
<td class="cmdcell"><div class="firstcolumnaleft">&lt;ImageBackColor1&gt;<span class="versionref"><sup>(Alpha version)</sup></span><br><small>from &lt;Viewer&gt;</small></div></td>
511+
<td class="hintcell">For the internal viewer, sets the background color of the window when viewing images.</td>
512+
</tr>
513+
514+
<tr>
515+
<td class="cmdcell"><div class="firstcolumnaleft">&lt;ImageBackColor2&gt;<span class="versionref"><sup>(Alpha version)</sup></span><br><small>from &lt;Viewer&gt;</small></div></td>
516+
<td class="hintcell">
517+
If <a href="viewer.html#mnu_image">Image&nbsp;&gt; Show transparency</a> is enabled, the internal viewer indicates transparency using a checkerboard pattern as background and <code>ImageBackColor2</code> defines the color of the squares.<br>
518+
If not set, the viewer will automatically calculate the value: for a dark background, light squares will be used and vice versa.
519+
</td>
520+
</tr>
521+
493522
<tr>
494523
<td class="cmdcell"><div class="firstcolumnaleft">&lt;ImageExifRotate&gt;<br><small>from &lt;Viewer&gt;</small></div></td>
495524
<td class="hintcell">

0 commit comments

Comments
 (0)