text_overflow.diff (1,240 bytes)
Index: scribus/plugins/scripter/api_textitem.cpp
===================================================================
--- scribus/plugins/scripter/api_textitem.cpp (revision 17677)
+++ scribus/plugins/scripter/api_textitem.cpp (working copy)
@@ -425,7 +425,7 @@
return true;
}
-int TextAPI::textOverFlows(bool checkLinks)
+int TextAPI::textOverFlows(/* bool checkLinks */)
{
if (!checkHaveDocument())
RAISE("No document open");
Index: scribus/plugins/scripter/api_textitem.h
===================================================================
--- scribus/plugins/scripter/api_textitem.h (revision 17677)
+++ scribus/plugins/scripter/api_textitem.h (working copy)
@@ -28,6 +28,7 @@
Q_PROPERTY(QList<QVariant> distances READ distances)
Q_PROPERTY(bool deleteText READ deleteText)
Q_PROPERTY(bool traceText READ traceText)
+ Q_PROPERTY(int textOverflows READ textOverFlows)
Q_PROPERTY(bool hyphenate READ hyphenate)
Q_PROPERTY(bool dehyphenate READ dehyphenate)
Q_PROPERTY(bool PDFBookMark READ PDFBookMark WRITE setPDFBookMark)
@@ -71,7 +72,7 @@
bool deleteText();
bool traceText();
- int textOverFlows(bool checkLinks);
+ int textOverFlows(/* bool checkLinks */);
bool hyphenate();
bool dehyphenate();