refactor: add egc_chunk_col_pos function
This commit is contained in:
parent
660449c1c0
commit
42ddbe5f2f
2 changed files with 19 additions and 0 deletions
|
|
@ -1749,6 +1749,10 @@ pub fn egc_chunk_width(chunk: []const u8, abs_col: usize, tab_width: usize) usiz
|
|||
return plane().egc_chunk_width(chunk, abs_col, tab_width);
|
||||
}
|
||||
|
||||
pub fn egc_chunk_col_pos(chunk: []const u8, abs_col: usize, tab_width: usize, col: usize) usize {
|
||||
return plane().egc_chunk_col_pos(chunk, abs_col, tab_width, col);
|
||||
}
|
||||
|
||||
pub fn egc_last(egcs: []const u8) []const u8 {
|
||||
return renderer.Plane.egc_last(egcs);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue