Editors and viewers
Which editor opens which file, the editor plugins for HL7, X12 and EDIFACT, how to save, how to send HL7 messages, and how to switch to another editor with Open with.
Opening a file
F4 opens the file under the cursor over the whole window, as Far's editor does. Esc or F10 goes back to the panels; when there is unsaved work, the app asks first.
The editor is chosen by the file's extension. Open with in the editor's header switches to another one that can read the file.
Which editor opens what
| Files | Editor |
|---|---|
.md .markdown .docx | Markdown |
.json .jsonl .ndjson .geojson | JSON |
.xml .xsd .xsl .xslt .wsdl | XML |
.csv .tsv .xlsx | CSV and spreadsheets |
.pdf | |
.png .jpg .jpeg .webp .bmp .gif .ora | Image editor |
.tif .tiff .heic .heif .avif .jxl | Image metadata |
.log .gz | Log viewer |
.mp4 .m4v .mov .webm .mkv .ogv | Video player |
.dcm .dicom | DICOM viewer |
.nhax .enhax | NHAX viewer |
| Anything else | Text editor, highlighted for the language the name suggests |
For pictures, Image metadata and Steganography are also offered under Open with.
Editors that come as plugins
The editors for healthcare and EDI messages are editor plugins: free downloads, added to the app when you need them. Once one is in, its files open in it as in any other editor, and it goes before the text editor for its extensions.
| Files | Editor plugin |
|---|---|
.hl7 .er7 | HL7 |
.x12, and .edi files that start with ISA | X12 |
.edifact .edf, and .edi files that start with UNA or UNB | EDIFACT |
How to add one is in Plugins.
Saving
- Save writes the file back where it was opened from.
Ctrl+SandF2do the same. - Save as... opens a dialog in the file's folder with a name the editor suggests.
The DICOM and log viewers only show their file, so they have neither.
Sending HL7 messages
The HL7 editor plugin can send the message it shows to an interface engine or any HL7 listener. Send in its toolbar opens the dialog:
- MLLP over TCP: give the listener's address and port. The message is framed as
<VT>message<FS><CR>, sent, and the acknowledgement is waited for. - HTTP(S): give the URL, the method (POST or PUT), the content type, headers if the server wants them, and a user name and password for basic authentication if it asks for one. The message can be sent with MLLP framing inside the request too.
The reply is shown under the form: whether the message was delivered, how long it took, the acknowledgement code with its text (AA, AE, AR), and the whole reply. The app sends the message itself, so a listener needs nothing set up for it.
Everything but the password is remembered, so the dialog has to be filled in only once.
Files on servers and in storages
F3 and F4 work on a file on an FTP or SFTP server as well: saving writes it back to the server. In a secure storage they show and edit a file without writing an unprotected copy to the disk.
New files
Shift+F4 in a file panel asks for a name and opens the new file in the editor for its extension, so notes.md starts in the Markdown editor and data.json in the JSON editor.
Did not find what you were looking for? Ask a question