If I have
Collections.sort()
the word collections is not higlighted. However if I have:
Collections .sort() // note the space before the period
then Collections is highlighted.
Is there any way to get around this in the java.syn file?
Regards...
Static method syntax highlighting
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: Static method syntax highlighting
although this is not strictly a perfect solution it may reduce the pain
i had the same problem and found that if i replaced my enhanced java.syn file (which had extra classes to highlight) with the original java.syn file that came with textpad, i get the highlighting, as soon as you touch the original java.syn file, you lose the highlighting.
if you are still using you original file then sorry i cant help
i had the same problem and found that if i replaced my enhanced java.syn file (which had extra classes to highlight) with the original java.syn file that came with textpad, i get the highlighting, as soon as you touch the original java.syn file, you lose the highlighting.
if you are still using you original file then sorry i cant help
Re: Static method syntax highlighting
In all the 'Keywords n' sections, split all compound names containing periods/dots/full stops into seperate entries. Eg:Larry Mottle wrote:the word collections is not higlighted. However if I haveCode: Select all
Collections.sort()
then Collections is highlighted.Code: Select all
Collections .sort() // note the space
Code: Select all
java.lang
Code: Select all
java
lang
If you remove all such compound names, then it should work. Certainly did for me.