diff options
Diffstat (limited to 'src/Output.zig')
| -rw-r--r-- | src/Output.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Output.zig b/src/Output.zig index cee15dcd..e6a468ee 100644 --- a/src/Output.zig +++ b/src/Output.zig @@ -464,7 +464,7 @@ pub fn open(p: *Pardes, id: usize, dir: []const u8, from: Origin, arg: []const u /// Find and Grep share one +Search a directory, each run replacing what /// the last showed, as acme reuses a directory's +Errors; a pane's own -/// search (LookWord list) keeps a pane a pattern. +/// search keeps a pane a pattern. /// Whether `dir` has its Find/Grep +Search open. pub fn hasFileSearch(p: *Pardes, dir: []const u8) bool { for (p.panes) |slot| { @@ -548,8 +548,8 @@ pub fn fillRows(p: *Pardes, id: usize, dir: []const u8, from: Origin, arg: []con const rf = if (rp.file) |*f| f else continue; const o = if (rf.output) |*x| x else continue; // A file search's rows share the directory's one +Search, and so do - // word looks (`LookWord list`, a terminal's word: a look of a word - // no file names, clicked or written): the next word refills it + // a terminal's word looks (a look of a word no file names, clicked + // or written): the next word refills it // rather than stacking another. A `/` search keeps a +Search each, // which n and N walk. const terminal_word = p.word_look and from == .search and o.from == .search; @@ -621,7 +621,7 @@ pub fn openDiff(p: *Pardes, id: usize, path: []const u8, content: []const u8) !u /// Diff on a +Diff: the diff it stacks, as text. A pane holding it /// already (the newest: a +Pager folded under its +Diff unfolds) is -/// shown; else the file is opened as text, whatever DiffLook says. +/// shown; else the file is opened as text. pub fn showDiffText(p: *Pardes, id: usize, source: []const u8) void { var newest: ?usize = null; for (p.panes, 0..) |slot, i| { |
