Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sat, 21 Feb 2015 18:18:58 UTC Commit: 5a8e89ce8a268055d2af56e1a1ccb6b2278ce798 https://github.com/geany/geany/commit/5a8e89ce8a268055d2af56e1a1ccb6b2278ce7...
Log Message: ----------- sciwrappers: Remove a few unused functions
Modified Paths: -------------- src/sciwrappers.c src/sciwrappers.h
Modified: src/sciwrappers.c 24 lines changed, 0 insertions(+), 24 deletions(-) =================================================================== @@ -269,12 +269,6 @@ void sci_zoom_off(ScintillaObject *sci) }
-gint sci_get_zoom(ScintillaObject *sci) -{ - return (gint) SSM(sci, SCI_GETZOOM, 0, 0); -} - - /** Sets a line marker. * @param sci Scintilla widget. * @param line_number Line number. @@ -812,12 +806,6 @@ void sci_scroll_caret(ScintillaObject *sci) }
-void sci_scroll_lines(ScintillaObject *sci, gint lines) -{ - SSM(sci, SCI_LINESCROLL, 0, lines); -} - - void sci_scroll_columns(ScintillaObject *sci, gint columns) { SSM(sci, SCI_LINESCROLL, (uptr_t) columns, 0); @@ -978,12 +966,6 @@ void sci_insert_text(ScintillaObject *sci, gint pos, const gchar *text) }
-void sci_target_from_selection(ScintillaObject *sci) -{ - SSM(sci, SCI_TARGETFROMSELECTION, 0, 0); -} - - void sci_set_target_start(ScintillaObject *sci, gint start) { SSM(sci, SCI_SETTARGETSTART, (uptr_t) start, 0); @@ -1239,12 +1221,6 @@ void sci_cancel(ScintillaObject *sci) }
-gint sci_get_target_end(ScintillaObject *sci) -{ - return (gint) SSM(sci, SCI_GETTARGETEND, 0, 0); -} - - gint sci_get_position_after(ScintillaObject *sci, gint start) { return (gint) SSM(sci, SCI_POSITIONAFTER, (uptr_t) start, 0);
Modified: src/sciwrappers.h 5 lines changed, 0 insertions(+), 5 deletions(-) =================================================================== @@ -157,7 +157,6 @@ void sci_use_popup (ScintillaObject *sci, gboolean enable); void sci_goto_pos (ScintillaObject *sci, gint pos, gboolean unfold); void sci_set_search_anchor (ScintillaObject *sci); void sci_set_anchor (ScintillaObject *sci, gint pos); -void sci_scroll_lines (ScintillaObject *sci, gint lines); void sci_scroll_columns (ScintillaObject *sci, gint columns); gint sci_search_next (ScintillaObject *sci, gint flags, const gchar *text); gint sci_search_prev (ScintillaObject *sci, gint flags, const gchar *text); @@ -169,13 +168,9 @@ void sci_assign_cmdkey (ScintillaObject *sci, gint key, gint command); void sci_selection_duplicate (ScintillaObject *sci); void sci_line_duplicate (ScintillaObject *sci);
-void sci_target_from_selection (ScintillaObject *sci); -gint sci_get_target_end (ScintillaObject *sci); - void sci_set_keywords (ScintillaObject *sci, guint k, const gchar *text); void sci_set_lexer (ScintillaObject *sci, guint lexer_id); void sci_set_readonly (ScintillaObject *sci, gboolean readonly); -gint sci_get_zoom (ScintillaObject *sci);
gint sci_get_lines_selected (ScintillaObject *sci); gint sci_get_first_visible_line (ScintillaObject *sci);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).