diff options
Diffstat (limited to 'core/body_layer.zig')
| -rw-r--r-- | core/body_layer.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/body_layer.zig b/core/body_layer.zig index 13c24f97..3736e467 100644 --- a/core/body_layer.zig +++ b/core/body_layer.zig @@ -558,8 +558,8 @@ pub fn renderBody(p: *Pardes, s: *Surface, arena: std.mem.Allocator, pane: *Pane /// Painted targets (SPEC §4.4), while a motion root's level shows in this /// body's tag: each of its keys at the line it would go to, in the gutter /// (`g e t b .` for `g`; for `]` the next and for `[` the previous -/// function, paragraph, test, comment, change, diagnostic, type, argument: -/// `f p T c g d t a`); browsing `m a` or `m i` unrolled, the brackets' +/// function, paragraph, test, comment, change and diagnostic: `f p T c g +/// d`, the spec's, each tree object a query of the rows shown); browsing `m a` or `m i` unrolled, the brackets' /// region around the caret tinted. Only the rows shown are looked at: a /// target off them is not painted (the tag's arrows, SPEC §15, are not /// built). At rest it costs one test of the view's tag state. @@ -778,7 +778,7 @@ fn targetLine(p: *Pardes, pane: *Pane, f: *panes.File.State, role: modal.Normal. if (forward) return if (a < hits.len) lineOf(f, hits[a].start) else null; return if (a > 0) lineOf(f, hits[a - 1].start) else null; }, - inline .goto_function, .goto_class, .goto_parameter, .goto_comment, .goto_test, .goto_entry, .goto_xml_element => |r| { + inline .goto_function, .goto_comment, .goto_test => |r| { // The tree as the motion reads it, made once a revision; with // the Changes layer's lines in the buffer its offsets are not the // buffer's: not painted then. |
