[gedit/wip/spell-checking: 3/4] auto-spell: remove commented print debugging
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/spell-checking: 3/4] auto-spell: remove commented print debugging
- Date: Sat, 11 Jul 2015 15:47:14 +0000 (UTC)
commit f3b795a0d832fc0dcdfd2ee0b92eb9b52f181199
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Jul 11 17:31:57 2015 +0200
auto-spell: remove commented print debugging
With print debugging, depending on the bug we are always interested by
different pieces of information. So that kind of code can be added when
needed.
plugins/spell/gedit-automatic-spell-checker.c | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/plugins/spell/gedit-automatic-spell-checker.c b/plugins/spell/gedit-automatic-spell-checker.c
index 34a85c8..47f45cf 100644
--- a/plugins/spell/gedit-automatic-spell-checker.c
+++ b/plugins/spell/gedit-automatic-spell-checker.c
@@ -70,17 +70,8 @@ check_word (GeditAutomaticSpellChecker *spell,
word = gtk_text_buffer_get_text (GTK_TEXT_BUFFER (spell->doc), start, end, FALSE);
- /*
- g_print ("Check word: %s [%d - %d]\n", word, gtk_text_iter_get_offset (start),
- gtk_text_iter_get_offset (end));
- */
-
if (!gedit_spell_checker_check_word (spell->spell_checker, word, -1))
{
- /*
- g_print ("Apply tag: [%d - %d]\n", gtk_text_iter_get_offset (start),
- gtk_text_iter_get_offset (end));
- */
gtk_text_buffer_apply_tag (GTK_TEXT_BUFFER (spell->doc),
spell->tag_highlight,
start,
@@ -106,11 +97,6 @@ check_range (GeditAutomaticSpellChecker *spell,
GtkTextIter precursor;
gboolean highlight;
- /*
- g_print ("Check range: [%d - %d]\n", gtk_text_iter_get_offset (&start),
- gtk_text_iter_get_offset (&end));
- */
-
if (gtk_text_iter_inside_word (&end))
gtk_text_iter_forward_word_end (&end);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]