Commit 483fd796 authored by Alexandre Franke's avatar Alexandre Franke

Fix indentation

parent 03ea9328
......@@ -364,8 +364,8 @@ fn get_selected_text(event_widget: Option<&gtk::Widget>) -> Option<SelectedText>
Some((s, e)) => {
let text = w.get_text()?;
let slice: String = text.chars()
.take(e as usize).skip(s as usize)
.take(e as usize).skip(s as usize)
Some(SelectedText{ widget: w.clone(), text: slice.to_string(), start: s, end: e })
_ => None
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment