[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kate/part
From: Christoph Cullmann <cullmann () kde ! org>
Date: 2005-05-29 21:08:08
Message-ID: 1117400888.915972.30879.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 419570 by cullmann:
yeah ;) guess I got the lack problem, this should go into KDE_3_4_BRANCH asap
CCMAIL:kwrite-devel@kde.org
M +6 -8 katedocument.cpp
--- trunk/KDE/kdelibs/kate/part/katedocument.cpp #419569:419570
@@ -1018,14 +1018,12 @@
if (editWithUndo)
undoEnd();
- // only trigger this stuff if something really happened!
+ // edit end for all views !!!!!!!!!
+ for (uint z = 0; z < m_views.count(); z++)
+ m_views.at(z)->editEnd (m_buffer->editTagStart(), m_buffer->editTagEnd(), \
m_buffer->editTagFrom()); +
if (m_buffer->editChanged())
{
- for (uint z = 0; z < m_views.count(); z++)
- {
- m_views.at(z)->editEnd (m_buffer->editTagStart(), m_buffer->editTagEnd(), \
m_buffer->editTagFrom());
- }
-
setModified(true);
emit textChanged ();
}
@@ -3125,14 +3123,14 @@
if (m_indenter->canProcessLine())
{
- //editStart();
+ editStart();
KateDocCursor begin(line, 0, this);
KateDocCursor end(line + lines, 0, this);
m_indenter->processSection (begin, end);
- //editEnd();
+ editEnd();
}
if (!view->blockSelectionMode()) emit charactersSemiInteractivelyInserted (line, \
column, s);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic