mirror of
https://github.com/SerenityOS/serenity
synced 2026-04-25 17:15:42 +02:00
LibWeb already thinks it knows how to handle `file://` URLs, so does not call into the client to handle the URL scheme. Replacing these with `launch://` means LibWeb will call into `handle_custom_scheme`, which allows the Help app to process these requests.
689 B
689 B
Name
TextEditor - SerenityOS text editor
Synopsis
$ TextEditor [--preview-mode mode] [file[:line[:column]]]
Description
TextEditor is a text document editor for SerenityOS featuring a preview mode which allows automatic live rendering of HTML and Markdown documents.
Options
--preview-mode mode: Preview mode, one of 'none', 'html', 'markdown', 'auto'
Arguments
file[:line[:column]]: File to edit, with optional starting line and column number
Examples
$ TextEditor /home/anon/Documents/emoji.txt
$ TextEditor /home/anon/Documents/emoji.txt:5:12