Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ann: hpg_ed.wlx : Syntax Hilighting Viewer and (!)Editor
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
hpg
Junior Member
Junior Member


Joined: 16 Mar 2003
Posts: 79

PostPosted: Sun Mar 16, 2003 12:07 pm    Post subject: Ann: hpg_ed.wlx : Syntax Hilighting Viewer and (!)Editor Reply with quote

Cool
Here is a programmers viewer and editor, I used in the past a lot. Now I think its time to share, maybe someone find it useful.
Comments are welcomed (and I know there is another similar plugin out there SynEd Smile

Download: http://liveordead.de/free/hpg_ed.zip

Regards, have fun!
_________________
hpg666@hotmail.com (hpg :-)
Back to top
View user's profile Send private message Send e-mail
lzvk25
Member
Member


Joined: 08 Feb 2003
Posts: 178
Location: Collierville, TN

PostPosted: Sun Mar 16, 2003 8:56 pm    Post subject: Reply with quote

This is very cool ! Thank you ! Very Happy

PS.
Is there a way we could help you to integrate more programming languages for future versions ?

Question
_________________
Memo to Boss : No TC, No Work
Back to top
View user's profile Send private message Send e-mail
hpg
Junior Member
Junior Member


Joined: 16 Mar 2003
Posts: 79

PostPosted: Mon Mar 17, 2003 2:24 am    Post subject: Reply with quote

lzvk25 wrote:

PS.
Is there a way we could help you to integrate more programming languages for future versions ?

Question


Unfortunately the systax highlighters are interational part of the editor component, so it seems to be very hard to enhance it. If someone knows about a new version of the RALIB please tell me.
But: nothing is impossible Wink

thnx, cu
_________________
hpg666@hotmail.com (hpg :-)
Back to top
View user's profile Send private message Send e-mail
lzvk25
Member
Member


Joined: 08 Feb 2003
Posts: 178
Location: Collierville, TN

PostPosted: Mon Mar 17, 2003 7:00 am    Post subject: Reply with quote

2hpg :

Quote:
If someone knows about a new version of the RALIB please tell me.


I made a quick search and I found the R&A Library 2.01 (RALIB) at :
http://www.gsc.hu/delphicomp.php?lang=en

Also check for Synedit 1.1 at :
http://delphi.icm.edu.pl/newl/c40/f008_001.htm
http://synedit.sourceforge.net

I hope this helps.
Smile
_________________
Memo to Boss : No TC, No Work


Last edited by lzvk25 on Mon Mar 17, 2003 9:22 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
henrich.fukna
Junior Member
Junior Member


Joined: 07 Mar 2003
Posts: 58
Location: Bratislava, Slovakia

PostPosted: Mon Mar 17, 2003 8:50 am    Post subject: Reply with quote

Yep, good plugin Very Happy

PS: is someway to change colors ? (separately for languages?)

Henrich
Back to top
View user's profile Send private message
hpg
Junior Member
Junior Member


Joined: 16 Mar 2003
Posts: 79

PostPosted: Tue Mar 18, 2003 12:42 pm    Post subject: Reply with quote

henrich.fukna wrote:
Yep, good plugin Very Happy

PS: is someway to change colors ? (separately for languages?)

Henrich


Next version,sure! also the correct states of cut, copy and paste will be corrected Smile
_________________
hpg666@hotmail.com (hpg :-)
Back to top
View user's profile Send private message Send e-mail
robinsiebler
Senior Member
Senior Member


Joined: 05 Mar 2003
Posts: 449

PostPosted: Tue Mar 18, 2003 12:43 pm    Post subject: Problem with XML files Reply with quote

I loaded an XML file in Lister. I pressed '4' to edit it with this plugin. The plugin showed up with an empty pane. I pressed '1' to redisplay the file in Lister. It showed up just fine. I went back to the plugin (same empty pane) and clicked on the reload button. I got a 'File not found' dialog box.
_________________
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
Back to top
View user's profile Send private message
hpg
Junior Member
Junior Member


Joined: 16 Mar 2003
Posts: 79

PostPosted: Tue Mar 18, 2003 1:03 pm    Post subject: Re: Problem with XML files Reply with quote

robinsiebler wrote:
I loaded an XML file in Lister. I pressed '4' to edit it with this plugin. The plugin showed up with an empty pane.
I pressed '1' to redisplay the file in Lister. It showed up just fine. I went back to the plugin (same empty pane) and clicked on the reload button. I got a 'File not found' dialog box.


I cannot reproduce this here. Is the XML file in an archive, I noticed this behavior sometimes with different file types. Did you add xml to the html systax highlighter in the configuration dialog?

I you did all correctly please send me the XML file, maybe there is a problem with the editor itself.

Regards,
hpg
_________________
hpg666@hotmail.com (hpg :-)
Back to top
View user's profile Send private message Send e-mail
fabiochelly
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 594
Location: Vincennes, France

PostPosted: Tue Mar 18, 2003 3:44 pm    Post subject: Reply with quote

Hi,

Great congratulations for your plugin.

Could you support Ultraedit word files? with that you'll have hundreds of new formats supported.

I cannot see 'Pascal' in the configure list: I would like to add .dfm and .dpr to the default Pascal extensions.

Is it possible to choose the font?
_________________
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
lzvk25
Member
Member


Joined: 08 Feb 2003
Posts: 178
Location: Collierville, TN

PostPosted: Tue Mar 18, 2003 7:22 pm    Post subject: Reply with quote

I took a quick look at the R&A Library 2.01 (RALIB) found at :
http://www.gsc.hu/delphicomp.php?lang=en

And according to hpg, it is being used in the development of this plugin.
And it seems that the languages syntax are hardcoded in this library, specifically in the file \ralib\lib\RAHLEditor.pas

Maybe it will be needed to modify this file (or maybe other) in order to accomodate more languages.
Confused
_________________
Memo to Boss : No TC, No Work
Back to top
View user's profile Send private message Send e-mail
hpg
Junior Member
Junior Member


Joined: 16 Mar 2003
Posts: 79

PostPosted: Wed Mar 19, 2003 3:08 am    Post subject: Reply with quote

fabiochelly wrote:

Could you support Ultraedit word files? with that you'll have hundreds of new formats supported.

Not at this time, I'm evaluating SynEdit1.1 at this time, but the TAB handling (indenting!) is very strange...

fabiochelly wrote:

I cannot see 'Pascal' in the configure list: I would like to add .dfm and .dpr to the default Pascal extensions.

Pascal is still there, but the configuration dialog has a bug and do not display this file type in the tree Sad,
next version I will fix it! (I already associated the dfm files to c++builder Smile
To associate the PASCAL file type you may edit the hpg_ed.ini file (located
either in your tcmd's directory or in your window's folder:

locate section EXT:

[EXT]
...
.dfm=1
.dpr=1
...

add these two entries and you're done!

1 = Syntax highlighting id for PASCAL/Delphi, maybe I will find the time to document that Wink

fabiochelly wrote:

Is it possible to choose the font?

Of course, the font will be cofigurable in the next version and also the colours used for the highlighters.


Ok, I think there is a lot of stuff in the next version. I wrote the plugin from scratch, because I needed it. But there seemed to be some very strange bugs left.
I hope in Version 0.5 all bugs are fixed.

Regards,
hpg
_________________
hpg666@hotmail.com (hpg :-)
Back to top
View user's profile Send private message Send e-mail
norfie
Power Member
Power Member


Joined: 18 Feb 2003
Posts: 1194

PostPosted: Tue Mar 25, 2003 6:31 am    Post subject: Reply with quote



Last edited by norfie on Fri Sep 10, 2004 1:30 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24602
Location: Switzerland

PostPosted: Wed Mar 26, 2003 3:33 pm    Post subject: Reply with quote

Yes, hpg_ed is very nice, I use it too now - but I'm also missing line numbers for source code.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
norfie
Power Member
Power Member


Joined: 18 Feb 2003
Posts: 1194

PostPosted: Thu Mar 27, 2003 1:57 am    Post subject: Reply with quote



Last edited by norfie on Fri Sep 10, 2004 1:32 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
corny
Junior Member
Junior Member


Joined: 07 Feb 2003
Posts: 96

PostPosted: Thu Mar 27, 2003 3:13 am    Post subject: Bugs in hpg_ed Reply with quote

Hi,

I've started using hpg_ed this week, and noticed a few little bugs:

1. Separating functions by writing "//***************" (dunno why I did that) isn't supported by hpg_ed. All lines following that string are interpreted as comment (which is correct when "/* */" is used for marking comments, but in fact this is a single line comment because of // ).
2. The font configuration dialog disappears in the back of the main configuration dialog.
3. When adding an extension which is already supported by another type (ie adding .inc in the C/C++, which also exists in PASCAL) makes hpg_ed not to respond anymore.

That's all I have for now, this is a great plugin!
_________________
Regards,
Cornelis
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group