@@ -2759,10 +2759,12 @@ impl Deref for Buffer {
}
impl BufferSnapshot {
- /// Returns [`IndentSize`] for a given line that respects user settings and /// language preferences.
+ /// Returns [`IndentSize`] for a given line that respects user settings and
+ /// language preferences.
pub fn indent_size_for_line(&self, row: u32) -> IndentSize {
indent_size_for_line(self, row)
}
+
/// Returns [`IndentSize`] for a given position that respects user settings
/// and language preferences.
pub fn language_indent_size_at<T: ToOffset>(&self, position: T, cx: &App) -> IndentSize {