Remove dead code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3865 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
9d9f40cd15
commit
42578b0eaf
@ -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 <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user