| View previous topic :: View next topic |
| Author |
Message |
hpg Junior Member

Joined: 16 Mar 2003 Posts: 79
|
Posted: Sun Mar 16, 2003 12:07 pm Post subject: Ann: hpg_ed.wlx : Syntax Hilighting Viewer and (!)Editor |
|
|
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
Download: http://liveordead.de/free/hpg_ed.zip
Regards, have fun! _________________ hpg666@hotmail.com (hpg :-) |
|
| Back to top |
|
 |
lzvk25 Member


Joined: 08 Feb 2003 Posts: 178 Location: Collierville, TN
|
Posted: Sun Mar 16, 2003 8:56 pm Post subject: |
|
|
This is very cool ! Thank you !
PS.
Is there a way we could help you to integrate more programming languages for future versions ?
 _________________ Memo to Boss : No TC, No Work |
|
| Back to top |
|
 |
hpg Junior Member

Joined: 16 Mar 2003 Posts: 79
|
Posted: Mon Mar 17, 2003 2:24 am Post subject: |
|
|
| lzvk25 wrote: |
PS.
Is there a way we could help you to integrate more programming languages for future versions ?
 |
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
thnx, cu _________________ hpg666@hotmail.com (hpg :-) |
|
| Back to top |
|
 |
lzvk25 Member


Joined: 08 Feb 2003 Posts: 178 Location: Collierville, TN
|
|
| Back to top |
|
 |
henrich.fukna Junior Member


Joined: 07 Mar 2003 Posts: 58 Location: Bratislava, Slovakia
|
Posted: Mon Mar 17, 2003 8:50 am Post subject: |
|
|
Yep, good plugin
PS: is someway to change colors ? (separately for languages?)
Henrich |
|
| Back to top |
|
 |
hpg Junior Member

Joined: 16 Mar 2003 Posts: 79
|
Posted: Tue Mar 18, 2003 12:42 pm Post subject: |
|
|
| henrich.fukna wrote: | Yep, good plugin
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  _________________ hpg666@hotmail.com (hpg :-) |
|
| Back to top |
|
 |
robinsiebler Senior Member


Joined: 05 Mar 2003 Posts: 449
|
Posted: Tue Mar 18, 2003 12:43 pm Post subject: Problem with XML files |
|
|
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 |
|
 |
hpg Junior Member

Joined: 16 Mar 2003 Posts: 79
|
Posted: Tue Mar 18, 2003 1:03 pm Post subject: Re: Problem with XML files |
|
|
| 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 |
|
 |
fabiochelly Power Member


Joined: 05 Feb 2003 Posts: 594 Location: Vincennes, France
|
Posted: Tue Mar 18, 2003 3:44 pm Post subject: |
|
|
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 |
|
 |
lzvk25 Member


Joined: 08 Feb 2003 Posts: 178 Location: Collierville, TN
|
Posted: Tue Mar 18, 2003 7:22 pm Post subject: |
|
|
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.
 _________________ Memo to Boss : No TC, No Work |
|
| Back to top |
|
 |
hpg Junior Member

Joined: 16 Mar 2003 Posts: 79
|
Posted: Wed Mar 19, 2003 3:08 am Post subject: |
|
|
| 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 ,
next version I will fix it! (I already associated the dfm files to c++builder
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
| 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 |
|
 |
norfie Power Member


Joined: 18 Feb 2003 Posts: 1194
|
Posted: Tue Mar 25, 2003 6:31 am Post subject: |
|
|
Last edited by norfie on Fri Sep 10, 2004 1:30 pm; edited 1 time in total |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24621 Location: Switzerland
|
Posted: Wed Mar 26, 2003 3:33 pm Post subject: |
|
|
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 |
|
 |
norfie Power Member


Joined: 18 Feb 2003 Posts: 1194
|
Posted: Thu Mar 27, 2003 1:57 am Post subject: |
|
|
Last edited by norfie on Fri Sep 10, 2004 1:32 pm; edited 1 time in total |
|
| Back to top |
|
 |
corny Junior Member


Joined: 07 Feb 2003 Posts: 96
|
Posted: Thu Mar 27, 2003 3:13 am Post subject: Bugs in hpg_ed |
|
|
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 |
|
 |
|