Closing member of a highlighted pair is in comment text

Started by: Meir3 voices8 posts

Dear Mr. Emura,
I am currently using ver. 9.07.
There is a small problem when a closing member of a highlighted pair is found in comment text:

# Bracket pair highlighting problem
sub bracket_pair
my ($1, # I have a number of issues:
$2, # 1) See what it pairs with?
$3 # 2) more comments
) = @_;

When you place the cursor at the opening member, the wrong closing member, the one in the comment, is highlighted.
Yes, I know, to fix this EmEditor would have to "know" what "a comment" is, as distinct from other configuration types.
What are you folks out there saying, does it worth a fix???
Meir

mguttman wrote:
Dear Mr. Emura,
I am currently using ver. 9.07.
There is a small problem when a closing member of a highlighted pair is found in comment text:

# Bracket pair highlighting problem
sub bracket_pair
my ($1, # I have a number of issues:
$2, # 1) See what it pairs with?
$3 # 2) more comments
) = @_;

When you place the cursor at the opening member, the wrong closing member, the one in the comment, is highlighted.
Yes, I know, to fix this EmEditor would have to "know" what "a comment" is, as distinct from other configuration types.
What are you folks out there saying, does it worth a fix???
Meir

It seems a bug, but this behaivor was the same as version 8. I don't remember exactly why this was not fixed. I will make sure this behavior will be fixed by the next major release. Thank you!

Dear Yutaka,
BTW, I just upgraded to ver. 9.11 and this behaveior is still there. FYI

mguttman wrote:
Dear Yutaka,
BTW, I just upgraded to ver. 9.11 and this behaveior is still there. FYI

I am going to fix it by the next major version -- that is v10. This area is very sensitive, and I don't want to break code in v9.xx. Thank you for understanding.
"by the next major release"
I don't think 9.11 is a major release...
Dear Yukata and zhouzh2,
Don't worry about this "bug"! It is just a minor irritant, not a show stopper. I'll patiently wait for V.10.
And EmEditor is a great product!
Dear Yukata,

This issue is still unsolved in the latest Version - V.10/beta 4 (9.90.4).

Regards,
Meir
Hello mguttman,

Thanks for trying EmEditor beta.

I have just fixed this bug for beta 6. Thanks for reminding me.

Please don't hesitate to ask me if you have further comments or questions. Thanks again!

8 posts in this topic