Beta testers wanted for new lister plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

HenrikHusted
Junior Member
Junior Member
Posts: 39
Joined: 2003-03-24, 10:47 UTC

Beta testers wanted for new lister plugin

Post by *HenrikHusted »

Hi all,
I've created a small lister plugin, it's in very early beta stage so it really doesn't do much. It will properly crash on your computers...
Currently it only works on C/CPP files and I'm only interested in feedback from people using these files :wink:
The lister doesn't do nearly as much as the excellent hpg_ed.wlx so there might not be any reason to continue development.

Download it from here http://henrik.husted.net/download/scintilla.zip.
Mr. Q.
Junior Member
Junior Member
Posts: 8
Joined: 2003-03-04, 15:55 UTC

Post by *Mr. Q. »

needs: msvcr70.dll
http://www.dll-files.com/dllindex/dll-files.shtml?msvcr70

got it working after I restarted TC. Looks good and no crashes yet...fingers crossed :)
HenrikHusted
Junior Member
Junior Member
Posts: 39
Joined: 2003-03-24, 10:47 UTC

Post by *HenrikHusted »

Bugger, forgot that I was building on VC7 :(
I got access to VC6 at work, I'll try to build a new version after Easter. Guess that more people will have the DLL for that version. Thanks for the link.

.Henrik
HenrikHusted
Junior Member
Junior Member
Posts: 39
Joined: 2003-03-24, 10:47 UTC

Post by *HenrikHusted »

New version is now available.
This time is build using VC6, hopefully you all have the runtime dlls. If you get an error while adding it to tcmd then please let me know.

There is a few key commands available:

CTRL Q : Un/Collapse the code found a the cursor pos.
CTRL H : Un/Collapse all
CTRL SHIFT 0..9 : Set bookmark, restored next time the file is loaded.
CTRL 0..9 : Goto bookmark
CTRL Num+ : Zoom in
CTRL Num- : Zoom out (or CTRL and mousewheel)

The color syntax looks bad :D Edit the ini file to make it look better.
Please let me know if any find this usefull.

.Henrik
User avatar
SCHMaster
Member
Member
Posts: 199
Joined: 2003-02-08, 00:39 UTC
Location: Ukraine
Contact:

Post by *SCHMaster »

2HenrikHusted
Hi, rival :wink:
I always examine plugins like my SynUs, but when installing your plugin, TC raise exception
Error loading plugin file!
The plugin probably needs some DLLs missing on your system

:cry:
You build plugin with runtime packages?

P.S. System - WinXP
HenrikHusted
Junior Member
Junior Member
Posts: 39
Joined: 2003-03-24, 10:47 UTC

Post by *HenrikHusted »

Thats what I get for not running Dependency Walker :oops:
Please try to download again, this time you don't need debug versions of the systems DDLs.

.Henrik
User avatar
Francesco
Junior Member
Junior Member
Posts: 40
Joined: 2003-02-06, 11:58 UTC
Location: Austria, Upper Austria

Post by *Francesco »

Helllo,

I like your plug-in.

How to add syntax-coloring for python files?
The configuration file is not clear for me :?
Should I edit in following fashion?
[Styles]
; *.py
SCE_???_COMMENT = | 0x00008000 | 0x00FFFFFF | 0 | 1 | "Verdana" | 10 |

Apart from:
I open a cpp file with F3, change to total commander, and open
another cpp file, than total commander crashes:

Access Violation at address 01372666, Read of address FFFFFFFF
(It seems, if your plug-in will be opened in a second instance, total commander crashes)

best regards
Francesco
HenrikHusted
Junior Member
Junior Member
Posts: 39
Joined: 2003-03-24, 10:47 UTC

Post by *HenrikHusted »

Thanks for the feedback.
New version available that should fix your problem with two open files. Also added syntax coloring for python files.

In the ini files you'll have to edit all SCE_P_???, like this:

Code: Select all

SCE_P_COMMENTLINE  = | 0x000000FF | 0x00FFFFFF | 0 | 0 | "Verdana"     | 10 |
Once you got something that looks good please mail it to me :D
User avatar
SCHMaster
Member
Member
Posts: 199
Joined: 2003-02-08, 00:39 UTC
Location: Ukraine
Contact:

Post by *SCHMaster »

2HenrikHusted

Good plugin!
But adjusting the color schemes and types of the files difficult and uncomfortable

Possible, it is necessary to add the form of the adjustment? There was much comfortable
User avatar
Francesco
Junior Member
Junior Member
Posts: 40
Joined: 2003-02-06, 11:58 UTC
Location: Austria, Upper Austria

Post by *Francesco »

Hello Henrik,

I've downloaded the new version.
My observations in short:

1) cpp color highlighting doesn't work anymore (if i copy the old wlx file, color highlighting is ok).

2) if the first line is a comment, the color doesn't fit with the comment color.

3) only those three parameters works apparantly:
SCE_P_COMMENTLINE = | 0x0000FF00 | 0x00FFFFFF | 0 | 0 | "Verdana" | 10 |
SCE_P_STRING = | 0x0000FF00 | 0x00FFFFFF | 0 | 0 | "Courier New" | 10 |
SCE_P_OPERATOR = | 0x00000000 | 0x00FFFFFF | 0 | 0 | "Courier New" | 10 |
(the others are ignored)

4) for the colors:
0x000F0000 is black
0x00F00000 is the same as 0x00FF0000 (blue)

HTH and best regards,
Last edited by Francesco on 2003-05-05, 10:51 UTC, edited 1 time in total.
Francesco
HenrikHusted
Junior Member
Junior Member
Posts: 39
Joined: 2003-03-24, 10:47 UTC

Post by *HenrikHusted »

I changed the format of the ini file. Did you copy the new ini file to your windows directory?

.Henrik
User avatar
Francesco
Junior Member
Junior Member
Posts: 40
Joined: 2003-02-06, 11:58 UTC
Location: Austria, Upper Austria

Post by *Francesco »

HenrikHusted wrote:I changed the format of the ini file. Did you copy the new ini file to your windows directory?

.Henrik
Yes, i did.
Francesco
HenrikHusted
Junior Member
Junior Member
Posts: 39
Joined: 2003-03-24, 10:47 UTC

Post by *HenrikHusted »

Strange. In the ini file, do you have a line like this:

[SCE_C]
Ext = | ".c" | ".cpp" | ".cxx" | ".h" |


.Henrik
TucknDar
Senior Member
Senior Member
Posts: 227
Joined: 2003-02-07, 09:44 UTC
Location: Oslo
Contact:

Post by *TucknDar »

This is a great plugin! I love it! Needs a few minor fixes here and there (well, I haven't tried the latest version so maybe the fixes are in place...), but will surely be my default syntax-highlighting plugin!

Very nice, especially for us SciTE-users ;)
license #76904
User avatar
Francesco
Junior Member
Junior Member
Posts: 40
Joined: 2003-02-06, 11:58 UTC
Location: Austria, Upper Austria

Post by *Francesco »

HenrikHusted wrote:Strange. In the ini file, do you have a line like this:

[SCE_C]
Ext = | ".c" | ".cpp" | ".cxx" | ".h" |


.Henrik
I have edit the ini file and shortened it and then: also cpp highlighting works again :)

(Python)
SCE_P_COMMENTLINE, SCE_P_OPERATOR, SCE_P_STRING, SCE_P_NUMBER works as expected.
If I set ;SCE_P_IDENTIFIER to a certain color, all the text excpet for comments, numbers .. appears in this color.

Obviously
SCE_P_DEFNAME
SCE_P_CHARACTER
SCE_P_CLASSNAME
SCE_P_COMMENTBLOCK
SCE_P_DEFAULT
SCE_P_STRINGEOL
SCE_P_TRIPLE
SCE_P_TRIPLEDOUBLE
SCE_P_WORD
don't work.

SCE_P_COMMENTLINE = | 0x000000FF
SCE_P_NUMBER = | 0x00000FF0

(both are the same red color)
Francesco
Post Reply