JujuEdit is an Australian text editor for Microsoft Windows created by Mark Pursey. It has a number of notable features:
- Regular expression–driven, finite state machine–based syntax highlight engine
- Automatically detects binary files and shows them in a hexadecimal editor; text, hex and binary modes can be selected on the fly
- NULL-safe editing
- Dynamic switching between character sets and between big and little endian interpretation
- Character set conversion
- Disc-based reading up to 2 GB
- Clean and tidy interface; the program runs SDI but search and replace history is shared between open instances
- The existence of a Unicode byte-order mark (BOM) is indicated by an underlined initial character (use of a BOM is critical in some situations as an indicator of UTF-8 encoding as distinct from ANSI)
- Alt+Page Up/Down cycles through files in the current directory that have the same file extension, preserving the scroll position where possible
All new files default to UTF8. DOS and UNIX line endings are recognised.
My dream is that one day it gets resurrected, or a replacement program appears that does what only JujuEdit does.
Revised unauthorised version
JujuEdit 1.441 was made available in 2006. Since then, the project has become abandoned. Mark Pursey resumed development briefly some years later, shortly before switching to Mac, thus ending the project forever. The source code is reportedly too entangled with the other Juju products for it to be released. (You can see parts of other projects embedded inside JujuEdit.)
The shell extension shipped with the original installer interferes with Explorer, and it no longer works in modern 64-bit Windows. In addition, the default program icon is terrible, the toolbar icons are woefully outdated, and the program does not handle file association.
The installer below provides a revised program icon, a fresh set of toolbar icons that feel at home in Windows 10, and a set of file types and file type icons for common file types that I personally use. File associations are not made automatically; file types must be assigned manually per modern Windows practice (Windows 8 will prompt automatically). The file type icons supplied at present are: CGI, CSS, INC, INI, LOG, *NIX (used for the .htacess file type), “Juju”, PHP, SQL, TXT and XML; please let me know if you desire additional type icons.
The installer also adds an “JujuEdit this” command to all file types, which makes use of the program’s ability to serve as both a text and a hex editor. Any time you come across a file you don’t recognise, you can send it straight to JujuEdit and it will open.
The default syntax highlight definitions comprise a pared-down, updated set compared to what ships with JujuEdit normally.
Modern versions of Windows will allow a shortcut icon to override a program icon, but this loses its effect when you select the target monitor using UltraMon or use 7+ Taskbar Tweaker to split every window out as a separate taskbar icon. Consequently, this is why the replacement program icon is targeted towards the taskbar instead of being targeted towards optimum resampling to 16×16 for the window icon. (My previous custom program icon that I’ve used for years was indeed engineered to suit XP’s nearest neighbour resizing: every fourth pixel was set according to the 16×16 size and the rest of the image was built around it. This was acceptable in XP as the taskbar used 16×16 icons, but Windows 7 and 8 use 32×32 icons on the taskbar and Windows 10 uses 24×24 icons scaled down senselessly from 32×32 regardless of whether the program provides that size natively. My previous custom icon looked awful at 32×32—being in essence the 16×16 icon scaled up—but this barely mattered in XP. Now I expect the icon to look as acceptable on the taskbar as is possible with Windows 10’s scaling, including situations where it cannot be overridden by a shortcut, such as alt+tab.)
Icon version 1.0a above was my high-quality recreation of Mark’s original icon, with an extra 48×48 mode for Windows XP; Mark’s icon was low-colour and only extended to 32×32. Icon 1.0b was the same, but the 32×32 image was totally redesigned for scaling to 16×16, and was therefore hideous. Version 2.4 is the most recent revision of my redesigned icon, designed for Windows 7, 8 and 10. The 32×32 icon has a number of subtle differences to optimise its appearance when scaled down to smaller sizes. The version 2 series is characterised by visual simplification and different typeface for the “J”.
The soft wrap toolbar button was originally drawn as a modern curve shape, but the same icon is also used for the status bar, where each keystroke causes the icon to be drawn over itself, compounding the anti-aliasing. The angular arrow used in this public release is a compromise that addresses this limitation.
Bugs and limitations
Off the top of my head (and there are more):
- Save does not check for an existing file, and will overwrite without prompting!
- The program misinterprets some raw data files as Chinese instead of binary
- The program constantly interrogates every open file, presumably to check for external changes
- The program uses the ANSI Windows API for everything, including file handling and search and replace; while Unicode is extensively supported, you cannot use Unicode paths, or search for or replace with Unicode text
- Undo is per-keystroke, not per-stride, which I prefer, but many may hate; it also fails to restore the text selection
- Occasional visual glitches with the scroll position
- Window → Close All is broken
- When creating a new syntax highlighting configuration, it ignores the name you give it; the name must be set by manually altering the configuration files, and those are confusing
- The recent file is right-aligned in modern versions of Windows
- The program only gives Windows a 32×32 window icon, which means that the window icon is always fuzzy: any optimised 16×16 icon is ignored
- No DPI awareness
- Not enough choice of colours!
- Reverse video setting is not saved
- Go to line dialog is modeless and is a complete pain to use with Active Window Tracking
There is not much that I really want to see changed, besides sorting out the wretched window icon. Chiefly:
- Regular expression–based document structure menu, that allows arbitrary character sequences to be defined as document structure that can be selected from a document outline menu
For the most part, the program does all it needs to do: it’s fast and simple and that is all I ever want.
JujuEdit is copyright 2000–2006 Jujusoft (Mark Pursey)