[evolution/wip/webkit2] Bug 759584 - Threading lost for some quotes lines in same paragraph after pressing Enter in quoted t
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] Bug 759584 - Threading lost for some quotes lines in same paragraph after pressing Enter in quoted t
- Date: Thu, 3 Mar 2016 13:42:22 +0000 (UTC)
commit 5111cc18f7109d0952ec2705e8c626b9bda39464
Author: Tomas Popela <tpopela redhat com>
Date: Thu Mar 3 13:48:08 2016 +0100
Bug 759584 - Threading lost for some quotes lines in same paragraph after pressing Enter in quoted text
.../e-html-editor-selection-dom-functions.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/web-extensions/composer/e-html-editor-selection-dom-functions.c
b/web-extensions/composer/e-html-editor-selection-dom-functions.c
index 495a57b..f869bca 100644
--- a/web-extensions/composer/e-html-editor-selection-dom-functions.c
+++ b/web-extensions/composer/e-html-editor-selection-dom-functions.c
@@ -2720,6 +2720,7 @@ wrap_lines (WebKitDOMDocument *document,
mark_and_remove_leading_space (document, nd);
if (!webkit_dom_node_get_next_sibling (nd) &&
+ length_left <= length_to_wrap &&
g_str_has_suffix (nd_content, " ")) {
mark_and_remove_trailing_space (document, nd);
no_sibling = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]