SciTE doesn't highlight 'true' and 'false' keywords in Java files. To reproduce: 1) $ touch test.java 2) $ scite test.java 3) type "true false int test" (without the quotes) You will see that SciTE highlights the keyword 'int', but doesn't highlight 'true' and 'false'. Looks like those keywords were forgotten in the lexer for Java. I tested this with version 1.62 and 1.68. Same outcome for both.
(In reply to comment #0) > SciTE doesn't highlight 'true' and 'false' keywords in Java files. > > To reproduce: > > 1) $ touch test.java > 2) $ scite test.java > 3) type "true false int test" (without the quotes) > > You will see that SciTE highlights the keyword 'int', but doesn't highlight > 'true' and 'false'. Looks like those keywords were forgotten in the lexer for > Java. > > I tested this with version 1.62 and 1.68. Same outcome for both. > if this was a bug it will be of scite not gentoo. on the other hand neither true or false are java keywords, please learn the language :) http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html they are both reserved constants so you will have to ask them to include it on the default file.
(In reply to comment #1) > (In reply to comment #0) > > SciTE doesn't highlight 'true' and 'false' keywords in Java files. > > > > To reproduce: > > > > 1) $ touch test.java > > 2) $ scite test.java > > 3) type "true false int test" (without the quotes) > > > > You will see that SciTE highlights the keyword 'int', but doesn't highlight > > 'true' and 'false'. Looks like those keywords were forgotten in the lexer for > > Java. > > > > I tested this with version 1.62 and 1.68. Same outcome for both. > > > > if this was a bug it will be of scite not gentoo. I wasn't sure where to report this. > on the other hand neither true or false are java keywords, please learn the > language :) > > http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html That explains why they are missing. However, in the Eclipse IDE they are both highlighted along with the keywords of the language. I originally came from C++ where they are keywords and I learned Java by myself, so nobody told me those were not keywords. > they are both reserved constants > > so you will have to ask them to include it on the default file. I already discovered that the keywords to be highlighted are in a config file so I added them myself.
true/false are not keywords - but you can try to talk with upstream about that.