Improve documentation
This commit is contained in:
parent
384c5c1fdc
commit
3331f41d7a
6 changed files with 37 additions and 14 deletions
|
|
@ -29,8 +29,9 @@ impl<'a> ViEditor<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
/// Load text from a file, and also set syntax to the best option
|
||||
#[cfg(feature = "std")]
|
||||
pub(crate) fn load_text<P: AsRef<std::path::Path>>(
|
||||
pub fn load_text<P: AsRef<std::path::Path>>(
|
||||
&mut self,
|
||||
font_system: &mut FontSystem,
|
||||
path: P,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue