[Solved] Is there a good XML viewer plugin for TotalCommander 9.22a?

English support forum

Moderators: Stefan2, white, sheep, Hacker

Post Reply
User avatar
colemanlee
Junior Member
Junior Member
Posts: 19
Joined: 2019-02-27, 15:03 UTC
Location: ghisler.ch
Contact:

[Solved] Is there a good XML viewer plugin for TotalCommander 9.22a?

Post by *colemanlee » 2019-09-12, 15:50 UTC

Hi,
Is there a good XML viewer plugin for TotalCommander 9.22a?
  1. My TotalCommander uses HTMLView.wlx64 to preview .XML file, but it has no XML section folding function, only show full expanded code.
  2. I installed xbaseview 32bit http://totalcmd.net/plugring/xbaseview.html to TotalCommander 9.22a x64 in Microsoft Windows 10 x64, and move it to the top of wlx list in configuration, but it does not work. Is there something wrong?
Last edited by colemanlee on 2019-09-14, 10:58 UTC, edited 1 time in total.
Jeff

User avatar
norfie²
Power Member
Power Member
Posts: 832
Joined: 2006-02-10, 07:27 UTC

Re: Is there a good XML viewer plugin for TotalCommander 9.22a?

Post by *norfie² » 2019-09-12, 17:26 UTC

"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"

User avatar
colemanlee
Junior Member
Junior Member
Posts: 19
Joined: 2019-02-27, 15:03 UTC
Location: ghisler.ch
Contact:

Re: Is there a good XML viewer plugin for TotalCommander 9.22a?

Post by *colemanlee » 2019-09-13, 05:59 UTC

norfie² wrote:
2019-09-12, 17:26 UTC
Give CudaLister a chance.
http://totalcmd.net/plugring/CudaLister.html
Hi,
Problem solved, thank you very much.
But when I click [options dialog...] -> [Theme - UI...], it shows nothing in the list, how to choose themes?
I have these themes in the folder "cudalister\themes":
  • amy.cuda-theme-syntax
  • cobalt.cuda-theme-syntax
  • darkwolf.cuda-theme-syntax
  • ebony.cuda-theme-syntax
  • green.cuda-theme-syntax
  • navy.cuda-theme-syntax
  • sub.cuda-theme-syntax
  • zeus.cuda-theme-syntax
  • amy.cuda-theme-ui
  • cobalt.cuda-theme-ui
  • darkwolf.cuda-theme-ui
  • ebony.cuda-theme-ui
  • green.cuda-theme-ui
  • navy.cuda-theme-ui
  • sub.cuda-theme-ui
  • white.cuda-theme-ui
  • zeus.cuda-theme-ui
  • Zeus-CudaText.license.txt
Jeff

User avatar
norfie²
Power Member
Power Member
Posts: 832
Joined: 2006-02-10, 07:27 UTC

Re: Is there a good XML viewer plugin for TotalCommander 9.22a?

Post by *norfie² » 2019-09-13, 06:27 UTC

You could edit the option in the LSPLUGIN.INI.
There should be a LSPLUGIN.INI in the same folder as WINCMD.INI.

Example for the white theme:
[CudaLister]
...
theme_ui=white
..
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"

User avatar
colemanlee
Junior Member
Junior Member
Posts: 19
Joined: 2019-02-27, 15:03 UTC
Location: ghisler.ch
Contact:

Re: Is there a good XML viewer plugin for TotalCommander 9.22a?

Post by *colemanlee » 2019-09-13, 07:44 UTC

norfie² wrote:
2019-09-13, 06:27 UTC
You could edit the option in the LSPLUGIN.INI.
There should be a LSPLUGIN.INI in the same folder as WINCMD.INI.

Example for the white theme:
[CudaLister]
...
theme_ui=white
..
Hi,
There is no [CudaLister] section in my LSPLUGIN.INI, but my CudaLister plugin runs properly.
Here is my full LSPLUGIN.INI content:

Code: Select all

[PEViewer]
DefaultTab=ctInfo
SaveDefaultTab=True
Localization=
AutoDetermineCompiler=False
InfoFrame.lvInfo.Columns[0].Width=150
ImportExportFrame.Splitter1Pos=135
ImportExportFrame.Splitter2Pos=179
ImportExportFrame.UndecorateCPPNames=True
ImportExportFrame.lvExportFunctions.Columns[0].SortOrder=soNone
ImportExportFrame.lvExportFunctions.Columns[1].Width=50
ImportExportFrame.lvExportFunctions.Columns[1].SortOrder=soNone
ImportExportFrame.lvExportFunctions.Columns[2].Width=50
ImportExportFrame.lvExportFunctions.Columns[2].SortOrder=soNone
ImportExportFrame.lvExportFunctions.Columns[3].Width=80
ImportExportFrame.lvExportFunctions.Columns[3].SortOrder=soNone
ImportExportFrame.lvExportFunctions.Columns[4].Width=80
ImportExportFrame.lvExportFunctions.Columns[4].SortOrder=soNone
ImportExportFrame.lvImportModules.Columns[0].SortOrder=soNone
ImportExportFrame.lvImportModules.Columns[1].Width=40
ImportExportFrame.lvImportModules.Columns[1].SortOrder=soNone
ImportExportFrame.lvImportFunctions.Columns[0].SortOrder=soNone
ImportExportFrame.lvImportFunctions.Columns[1].Width=50
ImportExportFrame.lvImportFunctions.Columns[1].SortOrder=soNone
ImportExportFrame.lvImportFunctions.Columns[2].Width=120
ImportExportFrame.lvImportFunctions.Columns[2].SortOrder=soNone
HeadersFrame.Splitter1Pos=150
HeadersFrame.lvSections.Columns[0].SortOrder=soNone
HeadersFrame.lvSections.Columns[1].Width=85
HeadersFrame.lvSections.Columns[1].SortOrder=soNone
HeadersFrame.lvSections.Columns[2].Width=85
HeadersFrame.lvSections.Columns[2].SortOrder=soNone
HeadersFrame.lvSections.Columns[3].Width=85
HeadersFrame.lvSections.Columns[3].SortOrder=soNone
HeadersFrame.lvSections.Columns[4].Width=85
HeadersFrame.lvSections.Columns[4].SortOrder=soNone
HeadersFrame.lvSections.Columns[5].Width=85
HeadersFrame.lvSections.Columns[5].SortOrder=soNone
HeadersFrame.lvSections.Columns[6].Width=170
HeadersFrame.lvSections.Columns[6].SortOrder=soNone
ResourcesFrame.Splitter1Pos=149
I tried to add these content to LSPLUGIN.INI and restart TC, it still not work, the background and color doesn't change.

Code: Select all

[CudaLister]
theme_ui=white
or

Code: Select all

[CudaLister]
theme_ui=darkwolf.cuda-theme-ui
What is the full content of [CudaLister] section in LSPLUGIN.INI, can you share it with me?
---I need the language setup parameters in [CudaLister], too
Jeff

User avatar
petermad
Power Member
Power Member
Posts: 8470
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Is there a good XML viewer plugin for TotalCommander 9.22a?

Post by *petermad » 2019-09-13, 09:25 UTC

What is the full content of [CudaLister] section in LSPLUGIN.INI, can you share it with me?
Here is mine:

Code: Select all

[CudaLister]
def_utf8=0
font_name=Consolas
font_size=9
color_font=2105376
color_bg=15000804
color_unpri=10526904
num_style=0
tab_size=4
tab_spaces=0
unpri_spaces=0
unpri_ends=0
gutter_nums=1
gutter_fold=1
minimap=0
minimap_tooltip=1
click_link=0
copy_line=0
last_line_on_top=1
caret_virtual=0
no_caret=0
only_known_types=0
max_size=2
theme_ui=white
theme_syntax=-
License #524 (1994)
Danish Total Commander Translator
TC 9.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b6 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
colemanlee
Junior Member
Junior Member
Posts: 19
Joined: 2019-02-27, 15:03 UTC
Location: ghisler.ch
Contact:

Re: Is there a good XML viewer plugin for TotalCommander 9.22a?

Post by *colemanlee » 2019-09-13, 13:39 UTC

petermad wrote:
2019-09-13, 09:25 UTC
What is the full content of [CudaLister] section in LSPLUGIN.INI, can you share it with me?
Here is mine:

Code: Select all

[CudaLister]
def_utf8=0
font_name=Consolas
font_size=9
color_font=2105376
color_bg=15000804
color_unpri=10526904
num_style=0
tab_size=4
tab_spaces=0
unpri_spaces=0
unpri_ends=0
gutter_nums=1
gutter_fold=1
minimap=0
minimap_tooltip=1
click_link=0
copy_line=0
last_line_on_top=1
caret_virtual=0
no_caret=0
only_known_types=0
max_size=2
theme_ui=white
theme_syntax=-
Hi,
Thank you for your help, I copy it into LSPLUGIN.INI, then I change the font size of CudaLister, the "font_size" not change in LSPLUGIN.INI. It means the preferences in LSPLUGIN.INI are not relevant to CudaLister.
I installed the CudaLister properly by press enter on wlx_cudalister_1.6.8.1.zip, the function is ok.
I don't know why I can not set the preferences.
Jeff

User avatar
Usher
Senior Member
Senior Member
Posts: 434
Joined: 2011-03-11, 10:11 UTC

Re: Is there a good XML viewer plugin for TotalCommander 9.22a?

Post by *Usher » 2019-09-13, 20:35 UTC

2colemanlee
It's not the ini file you are looking for ;-)

Try another way.
1. Run TC as Administrator and change theme in CudaLister preferences.
2. Restart TC as Administrator and ensure that CudaLister preferences are changed.
3. Use Alt+F7 to find just changed file. It may have another extension (not INI), but it should contain the name of the theme you have just selected and it's the newest file found.
Regards from Poland
Andrzej P. Wozniak

User avatar
colemanlee
Junior Member
Junior Member
Posts: 19
Joined: 2019-02-27, 15:03 UTC
Location: ghisler.ch
Contact:

Re: Is there a good XML viewer plugin for TotalCommander 9.22a?

Post by *colemanlee » 2019-09-13, 23:14 UTC

Usher wrote:
2019-09-13, 20:35 UTC
2colemanlee
It's not the ini file you are looking for ;-)

Try another way.
1. Run TC as Administrator and change theme in CudaLister preferences.
2. Restart TC as Administrator and ensure that CudaLister preferences are changed.
3. Use Alt+F7 to find just changed file. It may have another extension (not INI), but it should contain the name of the theme you have just selected and it's the newest file found.
Hi,
I do it follow your instructions, but when I click [options dialog...] -> [Theme - UI...], it shows nothing on the list. So I cannot select any theme.
I have posted the issue on Github.

---Updated 4 hours later after posted ---

I found the reason, the file path of CudaLister should be all English. If the path has non-English words such as Chinese characters, CudaLister will create a garbled folder name such as "30_ϵͳС����" and store [CudaLister] section to this garbled folder.
There are no theme files in this folder so it can not show themes in [Theme - UI...] dialog box.

Thank you Usher, your monitor the file change method is very good but i cannot get the main point at first.
I only monitor the TC folder at first, then I find no file changed, in fact CudaLister create another garbled folder name and store the LSPLUGIN.INI file.
It is better CudaLister could support non-English words path.

Problem solved, thank you, friends.
Jeff

Post Reply