Error formatting macro: pagetree: java.lang.NullPointerException

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First determine the platform dependent location of JEdit's mode files. For example, on OS X this will be ~/Library/JEdit/modes. Download Daniel Spiewak's Clojure mode file. Put this in the your modes directory. You also need to edit the catalog file in your modes directory. Make it look like the following:<pre>

Code Block

<?xml version="1.0"?>

...


<!DOCTYPE MODES SYSTEM "catalog.dtd">

...



<MODES>

...



<!-- Add lines like the following, one for each edit mode you add: -->

...


<!-- <MODE NAME="foo" FILE="foo.xml" FILE_NAME_GLOB="*.foo" /> -->

...


<MODE NAME="clojure" FILE="clojure.xml" FILE_NAME_GLOB="*.clj" />

...



</MODES>

...


You may need to restart JEdit.