SF.net SVN: geany:[3865] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sun Jun 14 10:31:45 UTC 2009


Revision: 3865
          http://geany.svn.sourceforge.net/geany/?rev=3865&view=rev
Author:   eht16
Date:     2009-06-14 10:31:44 +0000 (Sun, 14 Jun 2009)

Log Message:
-----------
Remove dead code.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/editor.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-06-14 10:24:06 UTC (rev 3864)
+++ trunk/ChangeLog	2009-06-14 10:31:44 UTC (rev 3865)
@@ -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>

Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c	2009-06-14 10:24:06 UTC (rev 3864)
+++ trunk/src/editor.c	2009-06-14 10:31:44 UTC (rev 3865)
@@ -824,14 +824,6 @@
 				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:


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list