Hello.

I'm just introducing myself and explaining why I chose to add myself to the devel list today, as well as providing a patch.

I'm a software developer who, if you can believe it, uses gedit as my primary IDE. (You may have seen me recently in the IRC channel.)

After struggling with the division between gedit 2, gedit 3, and pluma (MATE), I decided to look elsewhere for a light-weight IDE.

My initial impressions of geany are:

1. It runs with about half the RAM of gedit2 on my box.
2. The code seems easier to get in to.
3. It seems to be heading the direction I like and has the look and feel I want. 4. Looks like any feature I miss from gedit I could contribute myself or write a plugin.

So here is my attempt to get involved:

I've attached a patch that adds /Backspace/ to the keyboard events for the file browser so you can go up a directory quicker. It's something I noticed gedit had and I hope others may find it more convenient than previous Alt+Up key combination (which still is there, this is just in addition).

Sorry if I'm doing anything out of step, and I hope I can contribute :-)

Thanks,

Steven Blatnick
>From 545500ecdf3cecdd38e01744051ac41a1c7da9bd Mon Sep 17 00:00:00 2001
From: Steven Blatnick <sblatn...@proofpoint.com>
Date: Tue, 27 Nov 2012 15:29:52 -0700
Subject: [PATCH] File browser now can use backspace, Progress on fixed width tabs

---
 plugins/filebrowser.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/plugins/filebrowser.c b/plugins/filebrowser.c
index d133a20..b065837 100644
--- a/plugins/filebrowser.c
+++ b/plugins/filebrowser.c
@@ -715,9 +715,8 @@ static gboolean on_key_press(GtkWidget *widget, GdkEventKey *event, gpointer dat
 		return TRUE;
 	}
 
-	if ((event->keyval == GDK_Up ||
-		event->keyval == GDK_KP_Up) &&
-		(event->state & GDK_MOD1_MASK))	/* FIXME: Alt-Up doesn't seem to work! */
+	if (( (event->keyval == GDK_Up || event->keyval == GDK_KP_Up) && (event->state & GDK_MOD1_MASK)) || /* FIXME: Alt-Up doesn't seem to work! */
+		(event->keyval == GDK_KEY_BackSpace) )
 	{
 		on_go_up();
 		return TRUE;
-- 
1.7.4.1

_______________________________________________
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel

Reply via email to