[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kate/buffer
From: Christoph Cullmann <cullmann () kde ! org>
Date: 2010-06-13 17:57:56
Message-ID: 20100613175756.2FE70AC8CF () svn ! kde ! org
[Download RAW message or body]
SVN commit 1137608 by cullmann:
;) nice try, but line and column must be references ;)
M +1 -1 katetexthistory.cpp
M +3 -2 katetexthistory.h
--- trunk/KDE/kdelibs/kate/buffer/katetexthistory.cpp #1137607:1137608
@@ -200,7 +200,7 @@
}
}
-void TextHistory::Entry::transformCursor (int cursorLine, int cursorColumn, bool moveOnInsert) const
+void TextHistory::Entry::transformCursor (int &cursorLine, int &cursorColumn, bool moveOnInsert) const
{
/**
* simple stuff, sort out generic things
--- trunk/KDE/kdelibs/kate/buffer/katetexthistory.h #1137607:1137608
@@ -94,10 +94,11 @@
public:
/**
* transform cursor for this history entry
- * @param cursor cursor to transform
+ * @param line line number of the cursor to transform
+ * @param column column number of the cursor to transform
* @param moveOnInsert behavior of this cursor on insert of text at it's position
*/
- void transformCursor (int line, int column, bool moveOnInsert) const;
+ void transformCursor (int &line, int &column, bool moveOnInsert) const;
/**
* Types of entries, matching editing primitives of buffer and placeholder
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic