Upd: ListerPlugin Syntax Viewer/Editor: hpg_ed 0.5

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

Post by *hpg »

AXL wrote:
  1. Options / Wrap text - doesn't really work
  2. Vertical scroll bar scrolls only up to column 256 even if line is longer
    I have to check whether this is a bug or just by design.
  3. It is possible to move cursor to infinity both vertically and horizontally.
    Must stop at last line and move from last character on the line to first position on the next line.
  4. Option to position cursor at the end of line when clicking behind the end
Correct, this is a programmer editor not really a lister or viewer, that means the used editor component do not contain wrap mode or a cursor
move mode you suggested, sorry :-(
Probably I will take the time to check the problem with 256 columns.
AXL
Junior Member
Junior Member
Posts: 6
Joined: 2003-02-13, 22:18 UTC
Location: Estonia

Post by *AXL »

this is a programmer editor not really a lister or viewer, that means the used editor component do not contain wrap mode
Agree with that. I'll just remove all text file extensions to view them with wrapping.
cursor move mode you suggested
Disagree.
The mode I suggested is used in every editor I've tried.
(most of the time I use HomeSite 5.2 for web, but I also use ConText and JEdit)
HenrikHusted
Junior Member
Junior Member
Posts: 39
Joined: 2003-03-24, 10:47 UTC

Small bug

Post by *HenrikHusted »

If you're viewing a C file the is a small problem with the syntax highlighting.

Code: Select all

//*********
void SomeCode(void);
will cause everything to be syntax colored as a comment.

Yes, "//" is not ANSI C but most compilers will allow it :D

Great plugin, use it constantly. Hope that you'll fix this small isuse.
hpg
Junior Member
Junior Member
Posts: 79
Joined: 2003-03-16, 12:20 UTC

Re: Small bug

Post by *hpg »

HenrikHusted wrote:If you're viewing a C file the is a small problem with the syntax highlighting.

Code: Select all

//*********
void SomeCode(void);
will cause everything to be syntax colored as a comment.

Yes, "//" is not ANSI C but most compilers will allow it :D
No its not a small problem, it's inside the editor (BTW: some of the strangest codes I ever saw, written in PASCAL).
So I just took a short look at the parser and noticed that there are some problems with comments in PASCAL too.
So this could take some time to fix :-(
User avatar
henrich.fukna
Junior Member
Junior Member
Posts: 60
Joined: 2003-03-07, 10:18 UTC
Location: Bratislava, Slovakia

Re: Small bug

Post by *henrich.fukna »

HenrikHusted wrote:If you're viewing a C file the is a small problem with the syntax highlighting.

Code: Select all

//*********
void SomeCode(void);
will cause everything to be syntax colored as a comment.

Yes, "//" is not ANSI C but most compilers will allow it :D

Great plugin, use it constantly. Hope that you'll fix this small isuse.
It is correct !!! Cause // is the C++ (Delphi, Java, C#) line comment. The C has only /* ... */
//***** is a slash (/) with next comment (/*****)
User avatar
Hacker
Moderator
Moderator
Posts: 13073
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Depends on the C version.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
JackFoo
Senior Member
Senior Member
Posts: 373
Joined: 2003-02-05, 19:53 UTC
Location: ERROR

Post by *JackFoo »

Actually it doesn't, as HenrikHusted already pointed that current _ANSI_ C doesn't define // as a comment, C99 (new standart adds this style) and most compilers support it. Hey what the hack, if compiler handles it properly than use it... (there is no portability issue here after compilation).

Cheers.
Post Reply