Fossil SCM

Add the "brlist" match-style option to the timeline submenu.

drh 2021-04-28 18:09 trunk
Commit b1e409b29ae5a7f7842859072170d4725eb16fdfda074348eb163638af1d6ee5
1 file changed +2 -1
+2 -1
--- src/timeline.c
+++ src/timeline.c
@@ -2570,11 +2570,12 @@
25702570
if( zSearch ){
25712571
blob_appendf(&desc, " matching \"%h\"", zSearch);
25722572
}
25732573
if( g.perm.Hyperlink ){
25742574
static const char *const azMatchStyles[] = {
2575
- "exact", "Exact", "glob", "Glob", "like", "Like", "regexp", "Regexp"
2575
+ "exact", "Exact", "glob", "Glob", "like", "Like", "regexp", "Regexp",
2576
+ "brlist", "List"
25762577
};
25772578
double rDate;
25782579
zDate = db_text(0, "SELECT min(timestamp) FROM timeline /*scan*/");
25792580
if( (!zDate || !zDate[0]) && ( zAfter || zBefore ) ){
25802581
zDate = mprintf("%s", (zAfter ? zAfter : zBefore));
25812582
--- src/timeline.c
+++ src/timeline.c
@@ -2570,11 +2570,12 @@
2570 if( zSearch ){
2571 blob_appendf(&desc, " matching \"%h\"", zSearch);
2572 }
2573 if( g.perm.Hyperlink ){
2574 static const char *const azMatchStyles[] = {
2575 "exact", "Exact", "glob", "Glob", "like", "Like", "regexp", "Regexp"
 
2576 };
2577 double rDate;
2578 zDate = db_text(0, "SELECT min(timestamp) FROM timeline /*scan*/");
2579 if( (!zDate || !zDate[0]) && ( zAfter || zBefore ) ){
2580 zDate = mprintf("%s", (zAfter ? zAfter : zBefore));
2581
--- src/timeline.c
+++ src/timeline.c
@@ -2570,11 +2570,12 @@
2570 if( zSearch ){
2571 blob_appendf(&desc, " matching \"%h\"", zSearch);
2572 }
2573 if( g.perm.Hyperlink ){
2574 static const char *const azMatchStyles[] = {
2575 "exact", "Exact", "glob", "Glob", "like", "Like", "regexp", "Regexp",
2576 "brlist", "List"
2577 };
2578 double rDate;
2579 zDate = db_text(0, "SELECT min(timestamp) FROM timeline /*scan*/");
2580 if( (!zDate || !zDate[0]) && ( zAfter || zBefore ) ){
2581 zDate = mprintf("%s", (zAfter ? zAfter : zBefore));
2582

Keyboard Shortcuts

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