Skip to content

DopusWorX 1.0.0-beta.8

Choose a tag to compare

@HyperWorX HyperWorX released this 28 Jun 19:29

DopusWorX 1.0.0-beta.8

This is a development build, with a lot of new ground in it, so please put it through its paces and report anything that looks wrong.

The headline additions are a binary and hex inspector (on by default for binary files, with an optional byte editor), Mermaid diagrams, a right-click menu you can drive by keyboard and touch, Go to line, a choice of which view markdown opens in, raw HTML and centred blocks that render in Live, and a smoother flash-free open, with a batch of rendering, clipboard and install fixes. The reworked split source view is also worth a careful look.

Added

  • Binary and hex inspector, on by default. A file that is actually binary, detected by its content rather than its extension, now opens in a hex inspector instead of the old not-shown-as-text notice. It shows an offset, hex and ASCII dump with a data inspector down the side that reads the bytes under the cursor as 8, 16, 32 and 64-bit integers and as 32 and 64-bit floats. Select a byte range by click, shift-click or drag (Ctrl+A selects the whole file), jump to an offset with Ctrl+G (hex, 0x or #decimal), and search for a hex pattern or text with the Hex toggle in the find bar. Copy gives you the selection as hex or as text. View as hex on the menu opens any file in the inspector, and View as text takes you back.
  • Hex editor, opt-in. Turn on the hex editor in Settings and the dump becomes editable: overwrite or insert bytes, type in either the hex or the ASCII column, undo and redo, and Ctrl+S writes the bytes back to disk. It is off by default, so the inspector is read-only until you ask for it.
  • Mermaid diagrams, on by default. A fenced mermaid block is drawn as a diagram in Reading, Live and the split preview, covering every diagram type (flowchart, sequence, class, state, pie, gantt and the rest), and you can turn Render Mermaid diagrams off in Settings. Diagrams take their colours from the active palette so they match the page, or you can pin a palette by name, and they recolour on a light or dark switch. In Live, click a diagram to edit its source and click away to redraw. Settings cover the theme, a classic or hand-drawn style, flowchart edge shape, a separate diagram font, named font sizes, label wrapping, sequence-step numbers and a connection limit. A diagram that cannot be parsed shows a tidy error box with its source. The engine downloads only the first time you open a note that has a diagram.
  • A right-click menu set of enhancements and extras, working better on a touchscreen, a press and hold opens it. The rendered HTML View also gets a small Copy and Select all menu.
  • Go to line. Press Ctrl+G in any editor surface (markdown Live or Source, and code View or Edit) to open a small popup, type a line number and press Enter to jump there and centre it. It is also on the right-click menu as Go to line.
  • Open markdown in. A setting to choose whether markdown files open in Reading, Live or Source by default.
  • Remember each file's view is now a duration. Keep it Always, turn it Off, or set anything from five minutes up to a year, after which a file falls back to its default view.
  • Centre a block. A centred div, a element or a text-align style now centres the text, and whole tables, in both Reading and Live; left, right and justify work too.
  • Raw HTML in Live. A raw HTML block (a details box, a mark, an image) now renders in Live the way it does in Reading, instead of sitting as raw tags; the source comes back when you put the cursor on it.
  • Magnify active row, on by default. In Source and code editing the line your cursor is on lifts slightly toward you, so it is easier to keep your place. Turn it off under Formats, Code and source files.
  • Paste into CSV cells. Ctrl+V or a Paste menu item drops the clipboard into the grid: a copied range lands as a range, and a single value fills the whole selection.
  • A CSV table now reopens at the zoom you left it, remembered per file.
  • A Wrap long lines in code blocks setting (on by default) controls whether long lines in rendered code blocks wrap or scroll, separate from the source editor.
  • Separate left and right page padding. The single page-padding setting is now a Left value and a Right value, so the two margins can be set independently. Existing setups keep their old padding.

Changed

  • The viewer and Settings now open on the pane background and ease the page and toolbar in, instead of snapping in or flashing a light-then-dark page.
  • Refresh now reloads from disk. Ctrl+R, F5 or the toolbar refresh re-reads the file from disk in any mode, not just Reading. If you have unsaved edits it asks first before discarding them.
  • Smarter error reporting for a formula that fails to render keeps the source you typed, shown in red, with a short plain-language note of what went wrong underneath, readable on any theme, instead of raw engine jargon.
  • The install and uninstall scripts find Directory Opus from the registry, so they work wherever it is installed.
  • Internal rename. The viewer's internal CSS class and storage prefix changed from mdwx to dwx. If you wrote custom CSS that targets .mdwx- classes, point it at the matching .dwx- classes instead. Remembered views and CSV layouts are migrated across automatically.

Fixed

  • Select all on an editable surface now selects the whole document, not just the part on screen, so copying from a long file no longer drops the off-screen text.
  • Saving a file whose original was renamed or moved no longer silently recreates the old name. The viewer notices the original is gone and offers Save As instead.
  • Open link in browser now appears only for real external links, so it no longer opens dead in-page or relative addresses in your browser.
  • Live now always wraps the editor, so the raw source of a code block you click into no longer runs off the side of the pane.
  • In Live, a wrapped list item now hangs its text under the first line, and bullets and numbers line up.
  • Copy image address on a local image now copies the path you wrote, not the viewer's internal address; external and data links are left untouched.
  • Right-click Paste in the editor works again: the host now grants the viewer clipboard-read access, so the menu's Paste is no longer silently ignored.

Security

  • Updated the bundled DOMPurify and the build tooling to clear dependency advisories; none were exploitable in the way the viewer uses them, and the audit now reports clean.

Install

Download the zip, quit Directory Opus, extract and run Install.cmd.

sha256: 0c2e7ce006713b38f98b7f6d83f79ba244717867d23086f1655b8b448428e85a