[gnome-builder] libide: use "move-error" gsignalaction to navigate errors in emacs mode



commit c8b0dace8fdc8ecc02034238418057e0028618db
Author: Christian Hergert <christian hergert me>
Date:   Thu Mar 12 17:03:18 2015 -0700

    libide: use "move-error" gsignalaction to navigate errors in emacs mode

 data/keybindings/emacs.css |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/data/keybindings/emacs.css b/data/keybindings/emacs.css
index 82c30eb..27cb9ef 100644
--- a/data/keybindings/emacs.css
+++ b/data/keybindings/emacs.css
@@ -52,8 +52,8 @@
   bind "<ctrl>s" { "action" ("editor-frame", "find", "") };
   bind "<ctrl>period" { "action" ("win", "global-search", "") };
   bind "<ctrl>comma" { "action" ("app", "preferences", "") };
-  bind "<alt>n" { "action" ("editor-frame", "next-diagnostic", "") };
-  bind "<alt>p" { "action" ("editor-frame", "previous-diagnostic", "") };
+  bind "<alt>n" { "move-error" (down) };
+  bind "<alt>p" { "move-error" (up) };
   bind "<ctrl>j" { "action" ("editor-view", "switch-pane", "") };
   bind "<shift><ctrl>j" { "action" ("editor-view", "toggle-split", "") };
   bind "<ctrl><alt>Page_Up" { "action" ("stack", "previous-document", "") };
@@ -85,6 +85,7 @@
   bind "2" { "action" ("editor-view", "toggle-split", "") };
   bind "3" { "action" ("stack", "split-document-right", "") };
   bind "o" { "action" ("stack", "focus-right", "") };
+  bind "grave" { "move-error" (down) };
 }
 
 /*


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]