Some editors have a feature to return to the last location where editting took place. Some keep track of the last few places (e.g. 3-5). Examples: In Crimson Editor, you can press Ctrl+\. In MS Word, you can press Shift+F5. Reason for the feature: Anytime you're working with a file that's more than a few lines long, it can be inconvenient to try to find your place again after you do a quick search for something (e.g. looking up something you wrote earlier, or a function definition, or something). A cumbersome approximation of this feature would be to press Ctrl+z followed by Ctrl+Shift+z. Reproducible: Always
Similar information also is available through the line modification system, all in all a valid wish.
*** Bug 335544 has been marked as a duplicate of this bug. ***
I am trying to solve this junior job but experiencing problems while doing it. Although this is not the right way for solving but just a workaround for the problem.Any advice for doing it in another way along with some help and code references would be highly appreciable. I am implementing it by using two SLOTS on the same signal (First SLOT as undo and second SLOT as redo when the specific key combination is triggered).Here is link to the code : http://pastie.org/9482326 But the problem is I don't know in which class redo and undo functions are implemented and hence which object would I be using in the connect function.
Ashish, unless you gave up reading and hacking Kate code, I suggest to ask development-related questions on the kwrite-devel mailing list.
Git commit 6551b56a329b0674af93e85a87fae4850dbbe1cd by Sven Brauch, on behalf of Ashish Bansal. Committed on 24/10/2014 at 13:22. Pushed by brauch into branch 'master'. implement "go to last editing position" action REVIEW:120299 M +45 -0 src/document/katedocument.cpp M +21 -0 src/document/katedocument.h M +25 -0 src/view/kateview.cpp M +10 -0 src/view/kateview.h http://commits.kde.org/ktexteditor/6551b56a329b0674af93e85a87fae4850dbbe1cd