[evolution-patches] gtkhtml: citation and spell checking fix
- From: Radek Doulík <rodo ximian com>
- To: Patches <evolution-patches ximian com>
- Cc: Larry Ewing <lewing ximian com>
- Subject: [evolution-patches] gtkhtml: citation and spell checking fix
- Date: Thu, 31 Jul 2003 11:44:13 +0200
attached patch fixes http://bugzilla.ximian.com/show_bug.cgi?id=46918.
it's already committed in trunk.
Index: htmlengine-edit.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmlengine-edit.c,v
retrieving revision 1.98
diff -u -p -r1.98 htmlengine-edit.c
--- htmlengine-edit.c 20 May 2003 18:25:14 -0000 1.98
+++ htmlengine-edit.c 31 Jul 2003 09:39:22 -0000
@@ -231,8 +231,17 @@ html_engine_select_spell_word_editable (
gboolean cited, cited2;
cited = cited2 = FALSE;
- while (html_selection_spell_word (html_cursor_get_prev_char (e->cursor), &cited))
+ while (html_selection_spell_word (html_cursor_get_prev_char (e->cursor), &cited) || cited) {
html_cursor_backward (e->cursor, e);
+ cited2 = cited;
+ cited = FALSE;
+ }
+
+ if (cited2) {
+ html_cursor_forward (e->cursor, e);
+ cited = TRUE;
+ }
+
html_engine_set_mark (e);
while (html_selection_spell_word (html_cursor_get_current_char (e->cursor), &cited2) || (!cited && cited2)) {
html_cursor_forward (e->cursor, e);
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.1845
diff -u -p -r1.1845 ChangeLog
--- ChangeLog 30 Jul 2003 02:17:54 -0000 1.1845
+++ ChangeLog 31 Jul 2003 09:39:34 -0000
@@ -1,3 +1,14 @@
+2003-07-31 Radek Doulik <rodo ximian com>
+
+ * htmlengine-edit.c (html_engine_select_spell_word_editable): fix
+ cittation
+
+2003-07-30 Radek Doulik <rodo ximian com>
+
+ * htmltextslave.c: as below
+
+ * htmltext.c: break text on item boundaries
+
2003-07-29 Larry Ewing <lewing ximian com>
* htmlengine.c: change the id from a static enum to a gquark so
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]