69 lines
3.1 KiB
C
69 lines
3.1 KiB
C
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*- */
|
|
/* ide-source-iter.h
|
|
* This file is part of GtkSourceView
|
|
*
|
|
* Copyright 2014 - Sébastien Wilmet <swilmet@gnome.org>
|
|
*
|
|
* GtkSourceView is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* GtkSourceView is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <gtk/gtk.h>
|
|
#include <libide-core.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/* Semi-public functions. */
|
|
|
|
IDE_AVAILABLE_IN_3_32
|
|
gboolean _ide_source_iter_forward_visible_word_end (GtkTextIter *iter);
|
|
IDE_AVAILABLE_IN_3_32
|
|
gboolean _ide_source_iter_forward_visible_word_ends (GtkTextIter *iter,
|
|
gint count);
|
|
IDE_AVAILABLE_IN_3_32
|
|
gboolean _ide_source_iter_backward_visible_word_start (GtkTextIter *iter);
|
|
IDE_AVAILABLE_IN_3_32
|
|
gboolean _ide_source_iter_backward_visible_word_starts (GtkTextIter *iter,
|
|
gint count);
|
|
IDE_AVAILABLE_IN_3_32
|
|
void _ide_source_iter_extend_selection_word (const GtkTextIter *location,
|
|
GtkTextIter *start,
|
|
GtkTextIter *end);
|
|
IDE_AVAILABLE_IN_3_32
|
|
void _ide_source_iter_forward_full_word_end (GtkTextIter *iter);
|
|
IDE_AVAILABLE_IN_3_32
|
|
void _ide_source_iter_backward_full_word_start (GtkTextIter *iter);
|
|
IDE_AVAILABLE_IN_3_32
|
|
gboolean _ide_source_iter_starts_full_word (const GtkTextIter *iter);
|
|
IDE_AVAILABLE_IN_3_32
|
|
gboolean _ide_source_iter_ends_full_word (const GtkTextIter *iter);
|
|
IDE_AVAILABLE_IN_3_32
|
|
void _ide_source_iter_forward_extra_natural_word_end (GtkTextIter *iter);
|
|
IDE_AVAILABLE_IN_3_32
|
|
void _ide_source_iter_backward_extra_natural_word_start (GtkTextIter *iter);
|
|
IDE_AVAILABLE_IN_3_32
|
|
gboolean _ide_source_iter_starts_extra_natural_word (const GtkTextIter *iter);
|
|
IDE_AVAILABLE_IN_3_32
|
|
gboolean _ide_source_iter_ends_extra_natural_word (const GtkTextIter *iter);
|
|
IDE_AVAILABLE_IN_3_32
|
|
gboolean _ide_source_iter_starts_word (const GtkTextIter *iter);
|
|
IDE_AVAILABLE_IN_3_32
|
|
gboolean _ide_source_iter_ends_word (const GtkTextIter *iter);
|
|
IDE_AVAILABLE_IN_3_32
|
|
gboolean _ide_source_iter_inside_word (const GtkTextIter *iter);
|
|
|
|
G_END_DECLS
|