|
Packit |
a7d494 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*- */
|
|
Packit |
a7d494 |
/* gtksourcebuffer-private.h
|
|
Packit |
a7d494 |
* This file is part of GtkSourceView
|
|
Packit |
a7d494 |
*
|
|
Packit |
a7d494 |
* Copyright (C) 2013, 2016 - Sébastien Wilmet <swilmet@gnome.org>
|
|
Packit |
a7d494 |
*
|
|
Packit |
a7d494 |
* GtkSourceView is free software; you can redistribute it and/or
|
|
Packit |
a7d494 |
* modify it under the terms of the GNU Lesser General Public
|
|
Packit |
a7d494 |
* License as published by the Free Software Foundation; either
|
|
Packit |
a7d494 |
* version 2.1 of the License, or (at your option) any later version.
|
|
Packit |
a7d494 |
*
|
|
Packit |
a7d494 |
* GtkSourceView is distributed in the hope that it will be useful,
|
|
Packit |
a7d494 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
a7d494 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
a7d494 |
* Lesser General Public License for more details.
|
|
Packit |
a7d494 |
*
|
|
Packit |
a7d494 |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit |
a7d494 |
* License along with this library; if not, write to the Free Software
|
|
Packit |
a7d494 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
Packit |
a7d494 |
*/
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
#ifndef GTK_SOURCE_BUFFER_PRIVATE_H
|
|
Packit |
a7d494 |
#define GTK_SOURCE_BUFFER_PRIVATE_H
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
#include <gtk/gtk.h>
|
|
Packit |
a7d494 |
#include "gtksourcetypes.h"
|
|
Packit |
a7d494 |
#include "gtksourcetypes-private.h"
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
G_BEGIN_DECLS
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
GTK_SOURCE_INTERNAL
|
|
Packit |
a7d494 |
void _gtk_source_buffer_update_syntax_highlight (GtkSourceBuffer *buffer,
|
|
Packit |
a7d494 |
const GtkTextIter *start,
|
|
Packit |
a7d494 |
const GtkTextIter *end,
|
|
Packit |
a7d494 |
gboolean synchronous);
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
GTK_SOURCE_INTERNAL
|
|
Packit |
a7d494 |
void _gtk_source_buffer_update_search_highlight (GtkSourceBuffer *buffer,
|
|
Packit |
a7d494 |
const GtkTextIter *start,
|
|
Packit |
a7d494 |
const GtkTextIter *end,
|
|
Packit |
a7d494 |
gboolean synchronous);
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
GTK_SOURCE_INTERNAL
|
|
Packit |
a7d494 |
GtkSourceMark *_gtk_source_buffer_source_mark_next (GtkSourceBuffer *buffer,
|
|
Packit |
a7d494 |
GtkSourceMark *mark,
|
|
Packit |
a7d494 |
const gchar *category);
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
GTK_SOURCE_INTERNAL
|
|
Packit |
a7d494 |
GtkSourceMark *_gtk_source_buffer_source_mark_prev (GtkSourceBuffer *buffer,
|
|
Packit |
a7d494 |
GtkSourceMark *mark,
|
|
Packit |
a7d494 |
const gchar *category);
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
GTK_SOURCE_INTERNAL
|
|
Packit |
a7d494 |
GtkTextTag *_gtk_source_buffer_get_bracket_match_tag (GtkSourceBuffer *buffer);
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
GTK_SOURCE_INTERNAL
|
|
Packit |
a7d494 |
void _gtk_source_buffer_add_search_context (GtkSourceBuffer *buffer,
|
|
Packit |
a7d494 |
GtkSourceSearchContext *search_context);
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
GTK_SOURCE_INTERNAL
|
|
Packit |
a7d494 |
void _gtk_source_buffer_set_as_invalid_character (GtkSourceBuffer *buffer,
|
|
Packit |
a7d494 |
const GtkTextIter *start,
|
|
Packit |
a7d494 |
const GtkTextIter *end);
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
GTK_SOURCE_INTERNAL
|
|
Packit |
a7d494 |
gboolean _gtk_source_buffer_has_invalid_chars (GtkSourceBuffer *buffer);
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
GTK_SOURCE_INTERNAL
|
|
Packit |
a7d494 |
GtkSourceBracketMatchType
|
|
Packit |
a7d494 |
_gtk_source_buffer_find_bracket_match (GtkSourceBuffer *buffer,
|
|
Packit |
a7d494 |
const GtkTextIter *pos,
|
|
Packit |
a7d494 |
GtkTextIter *bracket,
|
|
Packit |
a7d494 |
GtkTextIter *bracket_match);
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
GTK_SOURCE_INTERNAL
|
|
Packit |
a7d494 |
void _gtk_source_buffer_save_and_clear_selection (GtkSourceBuffer *buffer);
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
GTK_SOURCE_INTERNAL
|
|
Packit |
a7d494 |
void _gtk_source_buffer_restore_selection (GtkSourceBuffer *buffer);
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
GTK_SOURCE_INTERNAL
|
|
Packit |
a7d494 |
gboolean _gtk_source_buffer_is_undo_redo_enabled (GtkSourceBuffer *buffer);
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
G_END_DECLS
|
|
Packit |
a7d494 |
|
|
Packit |
a7d494 |
#endif /* GTK_SOURCE_BUFFER_PRIVATE_H */
|