Count selected characters macro in JEdit

Reports the number of selected characters to the status bar.

The ”Edit”, ”Word count…” dialog does the same, but this macro is great if you are switching buffers a lot. You have to assign a keyboard shortcut to make it work (bug in JEdit?).