Summary: | [PATCH] Move cursor up/down to equal indent | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Alan Prescott <alanjprescott> |
Component: | scripting | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | christoph |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kate/4472f3846323aae42ea4f97ef9cfaf597853b38b | Version Fixed In: | 4.10 |
Sentry Crash Report: | |||
Attachments: | A kate script to do it |
Description
Alan Prescott
2001-03-13 13:43:18 UTC
Confirming this is missing from KDE4 trunk at the moment. Unsure about the future of this feature, though. You can implement this now in upcoming KDE 4.6 very easy as script yourself, see: http://docs.kde.org/development/en/kdesdk/kate/advanced-editing-tools-scripting.html (it's possible to bind actions already, the documentation in the link simply was not yet updated to reflect this). In fact, I do not think this action belongs hard coded in C++ into KatePart. Provide a script like Dominik says, otherwise this won't get in ever, sorry. Created attachment 74884 [details]
A kate script to do it
Since I've just seen a kate script to do nearly what I want following a posting on Planet KDE I took the plunge and modified it to do what I wanted - here's the result.
Please excuse any poor quality javascript code - it's not a programming language I've used much before.
Reopen, until we commit this to the new scripting API. Git commit 4472f3846323aae42ea4f97ef9cfaf597853b38b by Christoph Cullmann. Committed on 30/10/2012 at 20:15. Pushed by cullmann into branch 'master'. first scripting commands contribution since LONG ;) thanks for patch to Alan Prescott may more contributions arrive ;) A +88 -0 part/script/data/commands/jumpMatchingIndent.js http://commits.kde.org/kate/4472f3846323aae42ea4f97ef9cfaf597853b38b |