tylerlong / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
Apache License 2.0
0 stars 0 forks source link

The "register" word is errorneously highlighted for Java as a keyword #264

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
See the following page:
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <link href="prettify.css" type="text/css" rel="stylesheet" />
        <script type="text/javascript" src="prettify.js"></script>
    </head>
<body onload="prettyPrint()">
    <pre class="prettyprint lang-java">eventFiringObject.register(eventListener);</pre>
</body>
</html>

What is the expected output?  What do you see instead?
In Java, the "register()" word is a usual method, not a keyword. But it is 
highlighted as a keyword.

What version are you using?  On what browser?
prettify-1-Jun-2011, FF18

Original issue reported on code.google.com by PhotoSla...@gmail.com on 5 Feb 2013 at 8:37

Attachments: