[gedit-code-assistance/wip/indent] Do not make it a user action so we do not interfere with the undo manager
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-code-assistance/wip/indent] Do not make it a user action so we do not interfere with the undo manager
- Date: Wed, 9 Apr 2014 16:13:58 +0000 (UTC)
commit 57ccaa86c35f291dce95b501608deb1a617a327c
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Apr 9 17:29:06 2014 +0200
Do not make it a user action so we do not interfere with the undo manager
src/gca-view.vala | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/gca-view.vala b/src/gca-view.vala
index b1a6699..c57f370 100644
--- a/src/gca-view.vala
+++ b/src/gca-view.vala
@@ -382,11 +382,8 @@ class View : Object
var indent_string = get_indent_string_from_indent_level(indent_level);
- buf.begin_user_action();
buf.delete(ref start, ref end);
-
buf.insert(ref start, indent_string, -1);
- buf.end_user_action();
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]