ann: hpg_0.57 - programmer's viewer&editor

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
hpg
Junior Member
Junior Member
Posts: 79
Joined: 2003-03-16, 12:20 UTC

ann: hpg_0.57 - programmer's viewer&editor

Post by *hpg »

Hi there,
here are some of the the visible changes.

Internally I rewrote almost the complete plugin
A lot of other bug fixes are not described in detail in the
history, there were too much :-[

(to support in the very next revision something like
personal highlighters and additional special keywords etc.).


Note: Version 0.5.6 was an internal release only.

URL: http://liveordead.de/free/hpg_ed_057.zip

(Please help me to find bugs! If the release is almost bug free I will
send them to CG for his Addons section again :-))

V 0.5.7:
Changes:
- add: Added MRU of the last 10 documents loaded with
hpg_ed
- add: Added MS Visual Studio like Bookmarks,
CTRL-F2 Set/Unsets a bookmark
F2 jumps to the next bookmark regardingless of the
bookmark's number
- add: Bookmarks can be Set/Unset by simply clicking on the
Gutter with the left mouse button.
- add: Added option 'Hide gutter'. If line numbers are switched
off, the gutter (and of course the bookmark indicators!) can be
hided.

V 0.5.6:
Changes:
- fix: Toolbar buttons do not reflect the real states for cut, copy,
paste
- enh: Removed the configuration from main application and
moved it to the new hpg_ed_cfg.dll. So the code is smaller and
the plugin loads faster into memory.
- add: Support now unix (linux) text files. hpg_ed detects now
whether a file is either ANSI(PC) oder UNIX (linux) style and
saves the file in the detected format.
(Also added an indicator in main window, that displays unix in
case of unix files).
- fix: Cursor Beyond EOF did not work, instead the SmartTabs
value was used, which lead to strange effects :-[.
- enh: Colour can be either one of the 16 palette entries or any
custom color selectable with a standard color dialog.

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

Post by *HenrikHusted »

This is a great plugin, keep up the good work :D

.Henrik
djek
Junior Member
Junior Member
Posts: 46
Joined: 2003-02-11, 14:07 UTC

Re: hpg_0.57 - programmer's viewer&editor

Post by *djek »

Lovely plugin.
I had to move the hpg_ed_cfg.dll to the totcmd directory, it crashed when it couldn't find the dll.

Maybe it's not such a good idea to use F2 for something else then the standard lister reload.
Or maybe lister should use CTRL-R too, that would be more logical.

Thanks for a great plugin

no bugs so far
hpg
Junior Member
Junior Member
Posts: 79
Joined: 2003-03-16, 12:20 UTC

Re: hpg_0.57 - programmer's viewer&editor

Post by *hpg »

Maybe it's not such a good idea to use F2 for something else then the standard lister reload. Or maybe lister should use CTRL-R too, that would be more logical.
Agreed.
But I want to use Ctrl-F2/F2 its such a nice thing and I love it...
Other opinions?
no bugs so far
Good news, thanks :-)
djek
Junior Member
Junior Member
Posts: 46
Joined: 2003-02-11, 14:07 UTC

Re: hpg_0.57 - programmer's viewer&editor

Post by *djek »

djek wrote:Maybe it's not such a good idea to use F2 for something else then the standard lister reload. Or maybe lister should use CTRL-R too, that would be more logical.
hpg wrote:Agreed.
But I want to use Ctrl-F2/F2 its such a nice thing and I love it...
Other opinions?

No, I'm used to it now.
Besides your the programmer, I'm the user :wink:

I think F2 for lister should be remapped to CTRL-R
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

djek> Maybe it's not such a good idea to use F2 for something else then the standard lister reload. Or maybe lister should use CTRL-R too, that would be more logical.
hpg> Agreed. But I want to use Ctrl-F2/F2 its such a nice thing and I love it... Other opinions?

Just make it configurable :) and everybody will be happy. Maybe just read redefined hotkeys from your INI (for the time being) to reduce development time.
User avatar
Ergo
Senior Member
Senior Member
Posts: 204
Joined: 2003-02-05, 12:20 UTC
Location: Belarus
Contact:

Post by *Ergo »

Good plugin. But what about highlighting other languages. I want it to highlight PHP and PowerPro scripts. Someone else would like it to highlight Python or something else. It is dead way to make a pugin that do not implement user's highlighting schemes :(
I like FAR's colorer's plugin way. It supports everything you like.
Wincmd.ru WWW.TOTALCMD.NET
I see that future is near...
hpg
Junior Member
Junior Member
Posts: 79
Joined: 2003-03-16, 12:20 UTC

Post by *hpg »

Ergo wrote:Good plugin. But what about highlighting other languages. I want it to highlight PHP and PowerPro scripts. Someone else would like it to highlight Python or something else. It is dead way to make a pugin that do not implement user's highlighting schemes :(
I like FAR's colorer's plugin way. It supports everything you like.
Cool down :-}, I'm just working on it, AND Python is still supported as one of the highlighters, just give me some time...
Note: its just a weekend job for me.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

By chance I've found a small bug in the viewer.

Browsing some txt files I've found that one of them is corrupted, it finishes eariler than it should (it's just shorter). But opening it in another viewer/editor I've found it's ok. Only hpg_ed showed it corrupted :-(
I couldn't understand why. But when I've browsed the file in hex view I've found that in a place where hpg_ed finishes browsing it, there is a character written as 00. Of course it shouldn't be there, but it was and most of other viewers/editors (even standard lister) had no problem with it.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Ergo
Senior Member
Senior Member
Posts: 204
Joined: 2003-02-05, 12:20 UTC
Location: Belarus
Contact:

Post by *Ergo »

Cool down :-}, I'm just working on it, AND Python is still supported as one of the highlighters, just give me some time...
It is not you who are to write highlighting schemes. Users are to make them. You are just to make an engine that would implement user's schemes.
Wincmd.ru WWW.TOTALCMD.NET
I see that future is near...
hpg
Junior Member
Junior Member
Posts: 79
Joined: 2003-03-16, 12:20 UTC

Post by *hpg »

Ergo wrote:
Cool down :-}, I'm just working on it, AND Python is still supported as one of the highlighters, just give me some time...
It is not you who are to write highlighting schemes. Users are to make them. You are just to make an engine that would implement user's schemes.
That's exactly what I mean :-) I'm writing on an egine to add yourown highlighters...
User avatar
Ergo
Senior Member
Senior Member
Posts: 204
Joined: 2003-02-05, 12:20 UTC
Location: Belarus
Contact:

Post by *Ergo »

That's exactly what I mean I'm writing on an egine to add yourown highlighters...
Then it's cool :) And it would be a nice idea to write an engine that would use already existant color scheme files (e.g from EditPlus or UltraEdit)
Wincmd.ru WWW.TOTALCMD.NET
I see that future is near...
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Small bug:
Options / Configure / About - a new window is opened.
If I close the configuration window before closing About window - whole TC closes. :-(
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
WatchUer
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-22, 10:46 UTC
Location: China

Post by *WatchUer »

djk wrote:Small bug:
Options / Configure / About - a new window is opened.
If I close the configuration window before closing About window - whole TC closes. :-(
Yes, I got this error too.
Post Reply