Improve memory usage by shrinking buffer header size and highlighter state size.
Improve performance of status line context display (which shows the first line of the function that the cursor is currently in). This feature was making JOE very slow on extremely large files with auto indent enabled (typically JSON or XML data files). Now the syntax highlighter computes the context display (using a new syntax named context.jsf).
Add a mode 'title' to enable or disable the status line context display (previously autoindent mode was overloaded to do this).
Disable syntax highlighting and context display in very large files
Force more appropriate modes when we enter hex dump display: enable overtype, disable autoindent, wordwrap, ansi, picture.
Handle middle mouse button in "joe -mouse" mode (before it did nothing). It's treated as paste (copy region to mouse) as expected. (patch from Petr Olsak).
Do not kill region highlighting during incremental search (patch from Petr Olsak).
Negative numbers were not being recognized in blocks
PgUp/PgDn would try to scroll menu if the window above is a menu (it should do this only for completion menus associated with prompts)
Use 'LC_ALL=C sed' to get JOE to compile in OS X.
Forward direction delimiter matching where the delimiters do not begin with special characters (for example in Verilog "begin" / "end") was not working.
Get mouse to work in menus: this broke in 4.1
Character classes with ranges were not working for UTF-8 (as in \[a-z])
Apply spec highlighting to .spec files
Gracefully handle short terminals: fix segfaults which occur when trying to shrink terminal while many windows are on the screen or while turning on help with a short terminal. Fix similar bugs involving the skiptop option. JOE now works even if the terminal height is only one line.