Ann: hpg_ed.wlx : Syntax Hilighting Viewer and (!)Editor
Moderators: white, Hacker, petermad, Stefan2
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
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.lzvk25 wrote: PS.
Is there a way we could help you to integrate more programming languages for future versions ?
But: nothing is impossible
thnx, cu
hpg666@hotmail.com (hpg
2hpg :
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.
I made a quick search and I found the R&A Library 2.01 (RALIB) at :If someone knows about a new version of the RALIB please tell me.
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.
Last edited by lzvk25 on 2003-03-17, 15:22 UTC, edited 1 time in total.
Memo to Boss : No TC, No Work
- henrich.fukna
- Junior Member
- Posts: 60
- Joined: 2003-03-07, 10:18 UTC
- Location: Bratislava, Slovakia
Next version,sure! also the correct states of cut, copy and paste will be correctedhenrich.fukna wrote:Yep, good plugin
PS: is someway to change colors ? (separately for languages?)
Henrich
hpg666@hotmail.com (hpg
- robinsiebler
- Senior Member
- Posts: 460
- Joined: 2003-03-05, 21:04 UTC
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
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
Re: Problem with XML files
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?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 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
- fabiochelly
- Power Member
- Posts: 603
- Joined: 2003-02-05, 12:03 UTC
- Location: Rambouillet, France
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?
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
#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
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.
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
Not at this time, I'm evaluating SynEdit1.1 at this time, but the TAB handling (indenting!) is very strange...fabiochelly wrote: Could you support Ultraedit word files? with that you'll have hundreds of new formats supported.
Pascal is still there, but the configuration dialog has a bug and do not display this file type in the tree ,fabiochelly wrote: I cannot see 'Pascal' in the configure list: I would like to add .dfm and .dpr to the default Pascal extensions.
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
Of course, the font will be cofigurable in the next version and also the colours used for the highlighters.fabiochelly wrote: Is it possible to choose the font?
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
- ghisler(Author)
- Site Admin
- Posts: 48199
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
https://www.ghisler.com
https://www.ghisler.com
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!
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
Cornelis