GspellNavigatorText

GspellNavigatorText — A GspellNavigator implementation for GtkTextView

Functions

Properties

GtkTextView * view Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── GspellNavigatorText

Implemented Interfaces

GspellNavigatorText implements GspellNavigator.

Includes

#include <gspell/gspell.h>

Description

GspellNavigatorText is a simple implementation of the GspellNavigator interface for the GtkTextView widget.

If a selection exists in the GtkTextView, only the selected text is spell checked. Otherwise the whole buffer is checked.

If only the selected text is spell checked, the implementation of gspell_navigator_change_all() changes only the occurrences that were present in the selection.

The implementation of gspell_navigator_goto_next() selects the misspelled word and scrolls to it.

You need to call gspell_text_buffer_set_spell_checker() to associate a GspellChecker to the GtkTextBuffer.

Functions

gspell_navigator_text_new ()

GspellNavigator *
gspell_navigator_text_new (GtkTextView *view);

Parameters

view

a GtkTextView.

 

Returns

a new GspellNavigatorText object.

[transfer full]

Types and Values

GspellNavigatorText

typedef struct _GspellNavigatorText GspellNavigatorText;

Property Details

The “view” property

  “view”                     GtkTextView *

The GtkTextView. The buffer is not sufficient, the view is needed to scroll to the misspelled words.

Flags: Read / Write / Construct Only

See Also

GspellNavigator, GspellCheckerDialog