diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-05-23 18:14:06 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-05-23 18:14:06 -0500 |
commit | 08c816fe5d4eba7bc34c354c6958f1117f1a63a4 (patch) | |
tree | c14296c07840d4134d83b48df7691bac24d44d6a /interfaces/ktexteditor/ktexteditor.cpp | |
parent | 6c806af1c99890adecb42abf52f4d6dc8ae72899 (diff) | |
download | tdelibs-08c816fe5d4eba7bc34c354c6958f1117f1a63a4.tar.gz tdelibs-08c816fe5d4eba7bc34c354c6958f1117f1a63a4.zip |
Add document position variable to text editor part
WARNING this breaks the kate/kwrite ABI!
Diffstat (limited to 'interfaces/ktexteditor/ktexteditor.cpp')
-rw-r--r-- | interfaces/ktexteditor/ktexteditor.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/interfaces/ktexteditor/ktexteditor.cpp b/interfaces/ktexteditor/ktexteditor.cpp index 80071447c..c822dc93c 100644 --- a/interfaces/ktexteditor/ktexteditor.cpp +++ b/interfaces/ktexteditor/ktexteditor.cpp @@ -110,6 +110,7 @@ Document::Document( TQObject *parent, const char *name ) : KTextEditor::Editor ( { globalDocumentNumber++; myDocumentNumber = globalDocumentNumber; + myDocumentListPosition = -1; // Don't care } Document::~Document() @@ -121,6 +122,16 @@ unsigned int Document::documentNumber () const return myDocumentNumber; } +long Document::documentListPosition () const +{ + return myDocumentListPosition; +} + +void Document::setDocumentListPosition (long pos) +{ + myDocumentListPosition = pos; +} + TQCString Document::documentDCOPSuffix () const { TQCString num; |