Merge pull request #425 from b4n/remove-some-unused-sciwrappers

Remove a few unused Scintilla wrappers functions
This commit is contained in:
Colomban Wendling 2015-06-18 16:22:25 +02:00
commit f715f8a35c
2 changed files with 0 additions and 29 deletions

View File

@ -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);

View File

@ -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);