From 485a7f5eb2384e87f62ce85797f2cc1e6ebe7fcd Mon Sep 17 00:00:00 2001 From: eidheim Date: Mon, 13 Dec 2021 12:25:55 +0100 Subject: [PATCH] Fixed latexindent selection formatting --- src/source.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/source.cpp b/src/source.cpp index f9be065..e85a44b 100644 --- a/src/source.cpp +++ b/src/source.cpp @@ -1221,7 +1221,7 @@ void Source::View::setup_format_style(bool is_generic_view) { if(!ignore_selection && get_buffer()->get_has_selection()) { Gtk::TextIter start, end; get_buffer()->get_selection_bounds(start, end); - command += " –n " + std::to_string(start.get_line() + 1) + '-' + std::to_string(end.get_line() + 1); + command += " -n " + std::to_string(start.get_line() + 1) + '-' + std::to_string(end.get_line() + 1); } auto search_path = file_path.parent_path();