Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Thu, 18 Jun 2015 14:22:25 UTC Commit: f715f8a35c79e7f5c1ef70b276d7b1bbc51d0bc2 https://github.com/geany/geany/commit/f715f8a35c79e7f5c1ef70b276d7b1bbc51d0b...
Log Message: ----------- Merge pull request #425 from b4n/remove-some-unused-sciwrappers
Remove a few unused Scintilla wrappers functions
Modified Paths: -------------- src/sciwrappers.c src/sciwrappers.h
Modified: src/sciwrappers.c 24 lines changed, 0 insertions(+), 24 deletions(-) =================================================================== @@ -273,12 +273,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. @@ -857,12 +851,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); @@ -1030,12 +1018,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); -} - - GEANY_API_SYMBOL void sci_set_target_start(ScintillaObject *sci, gint start) { @@ -1303,12 +1285,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(-) =================================================================== @@ -158,7 +158,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); @@ -170,13 +169,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).