MCPcopy Create free account
hub / github.com/ahmednooor/lino / decrease_indentation

Method decrease_indentation

src/lino/edit.rs:213–219  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

211
212
213 pub(crate) fn decrease_indentation(&mut self) {
214 if self.selection.is_selected {
215 self.decrease_selected_lines_indentation();
216 } else {
217 self.decrease_current_line_indentation();
218 }
219 }
220
221 pub(crate) fn decrease_selected_lines_indentation(&mut self) {
222 if !self.selection.is_selected {

Callers 2

handle_key_eventMethod · 0.80

Tested by

no test coverage detected