Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Eeive/Evcode-ide
/ line_count
Method
line_count
src/editor/document.rs:26–28 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
24
}
25
26
pub fn line_count(&self) -> usize {
27
self.rope.len_lines().max(1)
28
}
29
30
pub fn len_chars(&self) -> usize {
31
self.rope.len_chars()
Callers
5
line
Method · 0.45
line_to_char
Method · 0.45
next_grapheme_boundary
Method · 0.45
insert_line
Method · 0.45
delete_line
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected