ann: hpg_ed 0.5.11 - 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

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

ann: hpg_ed 0.5.11 - programmer's viewer&editor

Post by *hpg »

V 0.5.11:
Changes
- enh: converting files from/to Windows/Linux via save as dialog.
- add: Added about button that displays a msgbox including all version information of hpg_ed.
- add: Added xml to the initial associations (html highlighter), that are applied if hpg_ed is started for the first time.
- add: New option "Convert spaces to TABS on save". When option is switched on, a definable number of spaces will be converted to a real tab character.
(Its also a great feature to reformat you codes)
- add: Display warning on long lines ( >= 1024 characters ). Those files are not editable by the editor and are rejected (quiet) to the default lister (during load).
- add: env "USERRESFOLDER" can be set to a comma sparated list of folders to find the "user reserved" file(s).
Order now is:
1st USERRESFOLDER
2nd current folder
3rd all parent folders (upto root) of current folder
- add: Added menu to display all current keyboard bidings in a table. A temporary file is created and the default .txt associated editor is called with that file.
- add: Added document properties menu item, that displays some information about the current loaded document, its state encoding and the used user reserved keyword file.
- add: Added ANSIToOEM and OEMtoANSI convertings

http://www.liveordead.de/free/hpg_ed_0511.zip
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Am I blind or... there is no "Goto line number..." option?
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
norfie
Power Member
Power Member
Posts: 1194
Joined: 2003-02-18, 14:18 UTC

Post by *norfie »

Last edited by norfie on 2004-09-10, 21:01 UTC, edited 1 time in total.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Thanks norfie,
I haven't noticed it because... I have the toolbar off so... it's impossible to use (and find) this function.
So... I'm not blind :-)

Is it maybe possible to get it without the toolbar on?
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
AlleyKat
Senior Member
Senior Member
Posts: 203
Joined: 2003-06-15, 10:51 UTC
Location: for personal info, see wiki
Contact:

Post by *AlleyKat »

:) works fine, if a little slower I think.

A little on the language:
  • Dialog-box when using 'Goto line number', cancel button reads 'Abbrechen'.
  • Drop-down on Save button, shortcut-text reads 'Strg+S' and 'Umsch+Strg+S'.
  • Options dropdown, 'Configure...' shortcut text reads 'Alt+Eingabe'.
Also, Backspace doesn't seem to work.

Not that it really matters to me, I read german :wink:

It's a fab editor tool! Can I help in any way 'bout the PHP highlighting, you just give the word.
User avatar
aziemer
Junior Member
Junior Member
Posts: 53
Joined: 2003-06-11, 06:56 UTC
Location: near Bremen, Germany
Contact:

Post by *aziemer »

I found 2 problems in version 0.5.11:

1) If you switch from viewer into edit mode, the backspace key does not work. You have to go into the Options and close it with the "CLOSE" button, from now on BS behaves as expected.

The second is probably @Ghisler

2) When you change the viewer by pressing '4' the window looses the keyboard focus! You have to click into it to regain control

aziemer
*** Don't panic ***
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

About 2): To which viewer do you switch? 4) circles through all plugins, that's why I ask.
Author of Total Commander
https://www.ghisler.com
User avatar
aziemer
Junior Member
Junior Member
Posts: 53
Joined: 2003-06-11, 06:56 UTC
Location: near Bremen, Germany
Contact:

Post by *aziemer »

2Ghisler

Jupp, that's exactly what I'm doing - circle through the viewers.
I start viewing a C-file with the standard lister (starting with this because the file ends in .C51 which has no special viewer linked).
Now pressing '4' brings up HPG_ED, cursor control still OK. Next switch is to the old LNUM sample plugin (still living :wink: ), when I get here, the caret is gone and no cursor control until a click into the window.


Andreas
*** Don't panic ***
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Well, TC sets the active window to the plugin when it is loaded. It's the job of the plugin to react to the wm_activate message and activate its children...
Author of Total Commander
https://www.ghisler.com
rolandd
Senior Member
Senior Member
Posts: 313
Joined: 2003-06-26, 09:02 UTC
Location: Indonesia
Contact:

Post by *rolandd »

In general I found 2 errors:

When you click on Options and then behind Configure it says Alt+Eingabe. Someone mentioned this before just don't remember who (sorry :oops: )

Second, if you click Options and check Line numbers On/Off. It works, but if you go to Configure, you will see the choice there is unchanged and then if you close the configure dialog, your line numbers will either reappear or disappear just depending on how it was configured.

Thats all folks. Besides that it looks cool :)

Botak
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Botak wrote: Second, if you click Options and check Line numbers On/Off. It works, but if you go to Configure, you will see the choice there is unchanged and then if you close the configure dialog, your line numbers will either reappear or disappear just depending on how it was configured.
The same with toolbar ;-)
The "Colse" button just works as "Apply and Close" :-)

BTW: I wrote some time ago about strange size and position of the Configuration window under WinNT, there is also no "Hints" panel on it :-(.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
hpg
Junior Member
Junior Member
Posts: 79
Joined: 2003-03-16, 12:20 UTC

Post by *hpg »

2Botak
Second, if you click Options and check Line numbers On/Off. It works, but if you go to Configure, you will see the choice there is unchanged and then if you close the configure dialog, your line numbers will either reappear or disappear just depending on how it was configured.
Yes, this is by design. I did't want to save options when temporary set via menu (in the editor view).
Because some users wants e.g. to switch the line numbers on, only for the current file and not for all following files.

The configuration dialog represents the saved options and not the currently selected runtime options.

Sorry, but I think this is the best compromise for most users ;-)
User avatar
AlleyKat
Senior Member
Senior Member
Posts: 203
Joined: 2003-06-15, 10:51 UTC
Location: for personal info, see wiki
Contact:

Post by *AlleyKat »

Found another strange thing...

Marking up 2 lines w/ the mouse or keyboard can produce the following result:
Image: http://alleykat.1go.dk/hpg_ed_strange.jpg

Seems it stops the marking for unknown reasons after

Code: Select all

'&nbsp'
OK, php is trying to make a fool of me here... it's "& nbsp" without the space.
hpg
Junior Member
Junior Member
Posts: 79
Joined: 2003-03-16, 12:20 UTC

Post by *hpg »

2Botak:
When you click on Options and then behind Configure it says Alt+Eingabe. Someone mentioned this before just don't remember who (sorry :oops: )
Ok, I think about installing an English version of my IDE. And then all should (initially, at least, hopefully!) be displayed in English.
I have no idea why this happens. On some test machines all is correctly in English!?
hpg
Junior Member
Junior Member
Posts: 79
Joined: 2003-03-16, 12:20 UTC

Post by *hpg »

2AlleyKat
Marking up 2 lines w/ the mouse or keyboard can produce the following result:
Image: http://alleykat.1go.dk/hpg_ed_strange.jpg
Seems it stops the marking for unknown reasons after

Code: Select all

' '
OK, php is trying to make a fool of me here... it's "& nbsp" without the space.
Hmm, this is a new bug. I know about a strange behavior when selecting only! whitespaces. In this case the editor does not know about any valid selection...

How do you produce the marked lines? Could you send me a protion of code and a step by step list?

Thanks,
hpg
Post Reply