Skip to content

Commit

Permalink
doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sysint64 committed Aug 31, 2020
1 parent 2fde8f0 commit 46e07a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions druid/src/text/editable_text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ pub trait EditableText: Sized {
/// Get the next codepoint offset from the given offset, if it exists.
fn next_codepoint_offset(&self, offset: usize) -> Option<usize>;

/// Get the line beginning offset from the given offset, if it exists.
fn line_beginning(&self, offset: usize) -> Option<usize>;

/// Get the line ending offset from the given offset, if it exists.
fn line_ending(&self, offset: usize) -> Option<usize>;

/// Returns `true` if this text has 0 length.
Expand Down

0 comments on commit 46e07a3

Please sign in to comment.