summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/Pick.zig2
-rw-r--r--core/builtins.zig18
2 files changed, 10 insertions, 10 deletions
diff --git a/core/Pick.zig b/core/Pick.zig
index 39202fb9..398354b5 100644
--- a/core/Pick.zig
+++ b/core/Pick.zig
@@ -1904,7 +1904,7 @@ pub fn resumeFrom(p: *Pardes, from: usize) void {
}
/// The `k`th newest kept picker reopened as it was, asked from pane
-/// `from`, in the tag of the pane its Enter lands in.
+/// `from`, under its tag (UX DESIGN O1).
fn resumeAt(p: *Pardes, from: usize, k: usize) void {
const pk = (if (k > 0) nth(p, k) else null) orelse
return p.setMessage(.at(from), if (k == 0) "Resume: the newest picker" else "Resume: no picker before it: the last 8 are kept");
diff --git a/core/builtins.zig b/core/builtins.zig
index 176cabe0..62e53eaf 100644
--- a/core/builtins.zig
+++ b/core/builtins.zig
@@ -797,7 +797,7 @@ pub const Themes = struct {
pub const scope: Scope = .session;
pub const output: OutputTraits = .{ .name = config.themes_buffer, .steps = true, .commands = true };
pub fn run(c: Ctx) void {
- // From the keyboard, where the walk is on: a picker in the tag, the
+ // From the keyboard, where the walk is on: a picker under the tag, the
// window wearing its row (Pick.zig, SPEC ยง5.1).
if (pardes.Pick.asked(c.p)) return pardes.Pick.open(c.p, c.id, .themes, "", "", "");
panes.Output.openThemes(c.p, c.id) catch |err| c.p.reportError(.at(c.id), "themes", err);
@@ -1625,11 +1625,11 @@ pub const Help = struct {
}
};
-/// Show what a key sequence runs: the next keys typed are replayed in the tag.
+/// Show what a key sequence runs: the next keys typed are replayed under the tag.
///
-/// The tag shows `Keys` and the keys as they are typed; a sequence that
-/// reaches a leaf unrolls its level under the tag with the leaf on the
-/// cursor and its documentation beside it, and Enter runs it. Every root
+/// The row under the tag shows `Keys` and the keys as typed; a sequence
+/// that reaches a leaf unrolls its level below with the leaf on the cursor
+/// and its documentation beside it, and Enter runs it. Every root
/// answers: SPC, g, m, z, Z, [, ], window mode's C-w. A sequence nothing
/// is bound to is shown struck, `runs nothing`. Esc leaves it.
pub const Keys = struct {
@@ -1744,7 +1744,7 @@ pub const Message = struct {
/// Show the messages said so far, the newest first, an error's places
/// under it.
///
-/// Where jumps walk, a list in the pane's tag: Enter Looks a row (a
+/// Where jumps walk, a list under the pane's tag: Enter Looks a row (a
/// message's cause, a place), C-q keeps it as a +Messages; else the
/// +Messages.
pub const Messages = struct {
@@ -1861,7 +1861,7 @@ pub const Search = struct {
pub fn run(c: Ctx) void {
const line = std.mem.trim(u8, c.arg orelse "", " \t\r\n");
const asked = panes.Query.parse(line) orelse panes.Query.parse(std.mem.concat(c.p.scratch.allocator(), u8, &.{ "/", line }) catch return).?;
- // `SPC b b`, `SPC s s`, `SPC /` and the like: a picker in the tag.
+ // `SPC b b`, `SPC s s`, `SPC /` and the like: a picker under the tag.
if (pardes.Pick.asked(c.p)) switch (asked.source) {
inline .find, .grep, .recent, .panes, .symbols, .all => |s| return pardes.Pick.open(c.p, c.id, @field(pardes.Pick.Source, @tagName(s)), "", asked.pat, ""),
else => {},
@@ -2045,7 +2045,7 @@ pub const Forward = struct {
/// Reopen the last picker as it was: its rows, marks, cursor and query.
///
-/// In the tag of the pane its Enter lands in from this one: this pane if it
+/// Under this pane's tag, previewing where its Enter lands: this pane if it
/// reads, else its reader. `SPC '`; again after its Esc, nothing typed
/// between, the one before it; Ctrl-o and Ctrl-i in it, the older and newer.
pub const Resume = struct {
@@ -2206,7 +2206,7 @@ pub const Hover = struct {
/// List the language server's code actions for the cursor, to apply one.
///
-/// Typed where jumps walk, they are a picker in the pane's tag, the one
+/// Typed where jumps walk, they are a picker under the pane's tag, the one
/// under the cursor shown as its edit, applied by Enter or its digit; else
/// a +Lsp lists them.
pub const CodeAction = struct {