Top | ![]() |
![]() |
![]() |
![]() |
GspellNavigatorTextView 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.
GspellNavigator *
gspell_navigator_text_view_new (GtkTextView *view
);
GtkTextView *
gspell_navigator_text_view_get_view (GspellNavigatorTextView *navigator
);
“view”
property“view” GtkTextView *
The GtkTextView. The buffer is not sufficient, the view is needed to scroll to the misspelled words.
Owner: GspellNavigatorTextView
Flags: Read / Write / Construct Only