Version:
FarColorer-take5.be5.zip
The simplest error case:
class a{
/*****/
void a(){};
}
The comment doesn't stop at */ - the function declaration is also shown as inside comment (gray color).
In contrast, the following two cases are parsed normally (add a space or remove one asterisk):
class a{
/*** **/
void a(){};
}
class a{
/****/
void a(){};
}
Logged In: YES
user_id=313042
Originator: NO
Please attach the problem file itself.
I can't reproduce this (assume that you meant .java source code)
Source file with error
Logged In: YES
user_id=751323
Originator: YES
File Added: a.java
Logged In: YES
user_id=751323
Originator: YES
I've attached source file (file contents is exactly the same as in error description) and screenshot with error.
BTW, it reproduces on both my work and home PCs.
On home PC I have fresh installation - "The FAR manager, version 1.70 (build 2087)" and Colorer latest version from SF. Defaulf settings for everything in far.
File Added: coloring-err.PNG
Logged In: YES
user_id=313042
Originator: NO
Thanks,
Fixed in
revision 1006.
Index: java.hrc
--- java.hrc (revision 1005)
+++ java.hrc (working copy)
@@ -112,7 +112,7 @@
</inherit>
-->
<inherit scheme="NetAddresses"/>
- <regexp match="/~\*{3,}/"/>
+ <regexp match="/~\*{3,}/" priority="low"/>
<keywords region="CommentContent">
<symb name="*"/><symb name=","/>
<symb name=":"/><symb name=";"/>