refactor(Buffer): rename Metrix to Metrics
Metrix was a bit too silly
This commit is contained in:
parent
633cc5a1c1
commit
f06a7b3d6a
7 changed files with 211 additions and 211 deletions
|
|
@ -16,7 +16,7 @@ pub fn from_cursor(cursor: *const Cursor) Self {
|
|||
return .{ .begin = cursor.*, .end = cursor.* };
|
||||
}
|
||||
|
||||
pub fn line_from_cursor(cursor: Cursor, root: Buffer.Root, mtrx: Buffer.Metrix) Self {
|
||||
pub fn line_from_cursor(cursor: Cursor, root: Buffer.Root, mtrx: Buffer.Metrics) Self {
|
||||
var begin = cursor;
|
||||
var end = cursor;
|
||||
begin.move_begin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue