Fossil SCM

Improved help text for the "editor" setting.

drh 2025-03-17 12:13 trunk
Commit c94da9d824b523b5cfaca90a48371dc27658dec1b73a142ba525672001434041
1 file changed +8
+8
--- src/db.c
+++ src/db.c
@@ -4784,10 +4784,18 @@
47844784
*/
47854785
/*
47864786
** SETTING: editor width=32 sensitive
47874787
** The value is an external command that will launch the
47884788
** text editor command used for check-in comments.
4789
+**
4790
+** If this value is not set, then environment variables VISUAL and
4791
+** EDITOR are consulted, in that order. If neither of those are set,
4792
+** then a search is made for common text editors, including
4793
+** "notepad", "nano", "pico", "edit", "vi", "vim", and "ed".
4794
+**
4795
+** If this setting is false ("off", "no", "false", or "0") then no
4796
+** text editor is used.
47894797
*/
47904798
/*
47914799
** SETTING: empty-dirs width=40 versionable block-text
47924800
** The value is a list of pathnames parsed according to the same rules as
47934801
** the *-glob settings. On update and checkout commands, if no directory
47944802
--- src/db.c
+++ src/db.c
@@ -4784,10 +4784,18 @@
4784 */
4785 /*
4786 ** SETTING: editor width=32 sensitive
4787 ** The value is an external command that will launch the
4788 ** text editor command used for check-in comments.
 
 
 
 
 
 
 
 
4789 */
4790 /*
4791 ** SETTING: empty-dirs width=40 versionable block-text
4792 ** The value is a list of pathnames parsed according to the same rules as
4793 ** the *-glob settings. On update and checkout commands, if no directory
4794
--- src/db.c
+++ src/db.c
@@ -4784,10 +4784,18 @@
4784 */
4785 /*
4786 ** SETTING: editor width=32 sensitive
4787 ** The value is an external command that will launch the
4788 ** text editor command used for check-in comments.
4789 **
4790 ** If this value is not set, then environment variables VISUAL and
4791 ** EDITOR are consulted, in that order. If neither of those are set,
4792 ** then a search is made for common text editors, including
4793 ** "notepad", "nano", "pico", "edit", "vi", "vim", and "ed".
4794 **
4795 ** If this setting is false ("off", "no", "false", or "0") then no
4796 ** text editor is used.
4797 */
4798 /*
4799 ** SETTING: empty-dirs width=40 versionable block-text
4800 ** The value is a list of pathnames parsed according to the same rules as
4801 ** the *-glob settings. On update and checkout commands, if no directory
4802

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button