summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2c195d2)
raw | patch | inline | side by side (parent: 2c195d2)
author | gbanaszk <gbanaszk@users.sourceforge.net> | |
Tue, 25 Sep 2007 18:49:20 +0000 (18:49 +0000) | ||
committer | gbanaszk <gbanaszk@users.sourceforge.net> | |
Tue, 25 Sep 2007 18:49:20 +0000 (18:49 +0000) |
src/text-editing.cpp | patch | blob | history |
diff --git a/src/text-editing.cpp b/src/text-editing.cpp
index 02fec31d170f04495d7c8ae4ba753b85d815ba77..193ae7d6edc0dbedf462fdce11d673fc2eede415 100644 (file)
--- a/src/text-editing.cpp
+++ b/src/text-editing.cpp
if (object) {
if (SP_IS_TEXT(object)
+ || (SP_IS_TSPAN(object) && SP_TSPAN(object)->role != SP_TSPAN_ROLE_UNSPECIFIED)
|| SP_IS_TEXTPATH(object)
|| SP_IS_FLOWDIV(object)
|| SP_IS_FLOWPARA(object)
is_line_break = true;
}
-
- if (SP_IS_TSPAN(object) && SP_TSPAN(object)->role != SP_TSPAN_ROLE_UNSPECIFIED) {
- SPObject *prev_object = SP_OBJECT_PREV(object);
- if (prev_object && SP_IS_TSPAN(prev_object)) {
- is_line_break = true;
- }
- }
}
return is_line_break;