Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Add "jove" to the list of text editors that Fossil searches for if the "editor" setting and the VISUAL and EDITOR environment variables are not available. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
486f81b931dea1a3d131c1c6b5d8a592 |
| User & Date: | drh 2025-03-19 11:08:47.241 |
Context
|
2025-03-19
| ||
| 11:21 | Add documentation for various settings that influence the display of timelines, but only display them if their values are different from the default. check-in: 1f78e794d3 user: drh tags: trunk | |
| 11:08 | Add "jove" to the list of text editors that Fossil searches for if the "editor" setting and the VISUAL and EDITOR environment variables are not available. check-in: 486f81b931 user: drh tags: trunk | |
|
2025-03-18
| ||
| 20:24 | Typo fixes. check-in: 478a0fa79c user: danield tags: trunk | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
4786 4787 4788 4789 4790 4791 4792 | ** SETTING: editor width=32 sensitive ** The value is an external command that will launch the ** text editor command used for check-in comments. ** ** If this value is not set, then environment variables VISUAL and ** EDITOR are consulted, in that order. If neither of those are set, ** then a search is made for common text editors, including | | | 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 |
** SETTING: editor width=32 sensitive
** The value is an external command that will launch the
** text editor command used for check-in comments.
**
** If this value is not set, then environment variables VISUAL and
** EDITOR are consulted, in that order. If neither of those are set,
** then a search is made for common text editors, including
** "notepad", "nano", "pico", "jove", "edit", "vi", "vim", and "ed".
**
** If this setting is false ("off", "no", "false", or "0") then no
** text editor is used.
*/
/*
** SETTING: empty-dirs width=40 versionable block-text
** The value is a list of pathnames parsed according to the same rules as
|
| ︙ | ︙ |
Changes to src/util.c.
| ︙ | ︙ | |||
669 670 671 672 673 674 675 | ** ** Search algorithm: ** (1) The local "editor" setting ** (2) The global "editor" setting ** (3) The VISUAL environment variable ** (4) The EDITOR environment variable ** (5) Any of the following programs that are available: | | | | 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 |
**
** Search algorithm:
** (1) The local "editor" setting
** (2) The global "editor" setting
** (3) The VISUAL environment variable
** (4) The EDITOR environment variable
** (5) Any of the following programs that are available:
** notepad, nano, pico, jove, edit, vi, vim, ed,
*/
const char *fossil_text_editor(void){
const char *zEditor = db_get("editor", 0);
const char *azStdEd[] = {
"notepad", "nano", "pico", "jove", "edit", "vi", "vim", "ed"
};
int i = 0;
if( zEditor==0 ){
zEditor = fossil_getenv("VISUAL");
}
if( zEditor==0 ){
zEditor = fossil_getenv("EDITOR");
|
| ︙ | ︙ |