summaryrefslogtreecommitdiffstats
path: root/kate
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-23 18:14:06 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-23 18:14:06 -0500
commit08c816fe5d4eba7bc34c354c6958f1117f1a63a4 (patch)
treec14296c07840d4134d83b48df7691bac24d44d6a /kate
parent6c806af1c99890adecb42abf52f4d6dc8ae72899 (diff)
downloadtdelibs-08c816fe5d4eba7bc34c354c6958f1117f1a63a4.tar.gz
tdelibs-08c816fe5d4eba7bc34c354c6958f1117f1a63a4.zip
Add document position variable to text editor part
WARNING this breaks the kate/kwrite ABI!
Diffstat (limited to 'kate')
-rw-r--r--kate/part/katedocument.cpp9
-rw-r--r--kate/part/katedocument.h2
2 files changed, 11 insertions, 0 deletions
diff --git a/kate/part/katedocument.cpp b/kate/part/katedocument.cpp
index 0bb3d4ddf..603388479 100644
--- a/kate/part/katedocument.cpp
+++ b/kate/part/katedocument.cpp
@@ -5052,6 +5052,15 @@ uint KateDocument::documentNumber () const
return KTextEditor::Document::documentNumber ();
}
+long KateDocument::documentListPosition () const
+{
+ return KTextEditor::Document::documentListPosition ();
+}
+
+void KateDocument::setDocumentListPosition (long pos)
+{
+ KTextEditor::Document::setDocumentListPosition (pos);
+}
diff --git a/kate/part/katedocument.h b/kate/part/katedocument.h
index 46e9e87f8..d967a25ab 100644
--- a/kate/part/katedocument.h
+++ b/kate/part/katedocument.h
@@ -1065,6 +1065,8 @@ class KateDocument : public Kate::Document,
k_dcop:
uint documentNumber () const;
+ long documentListPosition () const;
+ void setDocumentListPosition (long pos);
};
#endif