Diffstat (limited to 'noncore/apps/tinykate/libkate/document/katebuffer.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/libkate/document/katebuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/tinykate/libkate/document/katebuffer.cpp b/noncore/apps/tinykate/libkate/document/katebuffer.cpp index 38ba55d..22a4917 100644 --- a/noncore/apps/tinykate/libkate/document/katebuffer.cpp +++ b/noncore/apps/tinykate/libkate/document/katebuffer.cpp | |||
@@ -112,25 +112,25 @@ KWBuffer::slotLoadFile() | |||
112 | { | 112 | { |
113 | loadFilePart(); | 113 | loadFilePart(); |
114 | // emit linesChanged(m_totalLines); | 114 | // emit linesChanged(m_totalLines); |
115 | emit linesChanged(20); | 115 | emit linesChanged(20); |
116 | } | 116 | } |
117 | 117 | ||
118 | /** | 118 | /** |
119 | * Return the total number of lines in the buffer. | 119 | * Return the total number of lines in the buffer. |
120 | */ | 120 | */ |
121 | int | 121 | int |
122 | KWBuffer::count() | 122 | KWBuffer::count() |
123 | { | 123 | { |
124 | // qDebug("m_stringList.count %d",m_stringList.count()); | 124 | qDebug("m_stringList.count %d",m_stringList.count()); |
125 | return m_lineCount; | 125 | return m_lineCount; |
126 | //return m_stringList.count(); | 126 | //return m_stringList.count(); |
127 | // return m_totalLines; | 127 | // return m_totalLines; |
128 | } | 128 | } |
129 | 129 | ||
130 | 130 | ||
131 | void KWBuffer::seek(int i) | 131 | void KWBuffer::seek(int i) |
132 | { | 132 | { |
133 | if (m_stringListCurrent == i) | 133 | if (m_stringListCurrent == i) |
134 | return; | 134 | return; |
135 | while(m_stringListCurrent < i) | 135 | while(m_stringListCurrent < i) |
136 | { | 136 | { |