From 42578b0eaf7789b30943e6262054fb3e979c87bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 14 Jun 2009 10:31:44 +0000 Subject: [PATCH] Remove dead code. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3865 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 2 ++ src/editor.c | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 124c798f..00d29d4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ * src/encodings.c, src/encodings.h, src/plugindata.h: Add Japanese encoding "CP932" (patch by Ryƫsei Yamaguchi, thanks). + * src/editor.c: + Remove dead code. 2009-06-12 Nick Treleaven diff --git a/src/editor.c b/src/editor.c index 714e1840..2e2a3041 100644 --- a/src/editor.c +++ b/src/editor.c @@ -824,14 +824,6 @@ static gboolean on_editor_notify(G_GNUC_UNUSED GObject *object, GeanyEditor *edi gint pos = SSM(sci, SCI_GETCURRENTPOS, 0, 0); SSM(sci, SCI_INSERTTEXT, pos, (sptr_t) nt->text); } - else if (nt->listType == 2) - { - gint start, pos = SSM(sci, SCI_GETCURRENTPOS, 0, 0); - start = pos; - while (start > 0 && sci_get_char_at(sci, --start) != '&') ; - - SSM(sci, SCI_INSERTTEXT, pos - 1, (sptr_t) nt->text); - } break; } case SCN_AUTOCCANCELLED: