backported fix, fixes crashing kdevelop, 4.5 try 2

This commit is contained in:
Thomas Janssen 2010-09-10 12:20:06 +02:00
parent 2a36ca6101
commit cd78701fe9
3 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
--- kate/buffer/katetextblock.cpp 2010/09/06 00:49:03 1171997
+++ kate/buffer/katetextblock.cpp 2010/09/06 00:49:36 1171998
--- kate/buffer/katetextblock.cpp 2010/09/06 00:49:03 1171997
+++ kate/buffer/katetextblock.cpp 2010/09/06 00:49:36 1171998
@@ -355,6 +355,7 @@
// get text
@ -16,4 +16,4 @@
+ m_buffer->history().removeText (range, oldLength);
/**
* cursor and range handling below
* cursor and range handling below

View File

@ -1,5 +1,5 @@
--- kate/buffer/katetexthistory.cpp 2010/09/06 00:49:03 1171997
+++ kate/buffer/katetexthistory.cpp 2010/09/06 00:49:36 1171998
--- kate/buffer/katetexthistory.cpp 2010/09/06 00:49:03 1171997
+++ kate/buffer/katetexthistory.cpp 2010/09/06 00:49:36 1171998
@@ -94,7 +94,7 @@
addEntry (entry);
}
@ -286,4 +286,4 @@
+ }
}
}

View File

@ -1,5 +1,5 @@
--- kate/buffer/katetexthistory.h 2010/09/06 00:49:03 1171997
+++ kate/buffer/katetexthistory.h 2010/09/06 00:49:36 1171998
--- kate/buffer/katetexthistory.h 2010/09/06 00:49:03 1171997
+++ kate/buffer/katetexthistory.h 2010/09/06 00:49:36 1171998
@@ -99,6 +99,14 @@
* @param moveOnInsert behavior of this cursor on insert of text at it's position
*/
@ -25,4 +25,4 @@
+ void removeText (const KTextEditor::Range &range, int oldLineLength);
/**
* Generic function to add a entry to the history. Is used by the above functions for the different editing primitives.
* Generic function to add a entry to the history. Is used by the above functions for the different editing primitives.