Frameworks: Simple{Cursor, Range} now gone, use KTextEditor::{Cursor, Range}

Kevin Funk kfunk at kde.org
Wed Jul 9 14:17:44 UTC 2014


On Wednesday 09 July 2014 16:12:14 Milian Wolff wrote:
> On Wednesday 09 July 2014 12:14:14 Kevin Funk wrote:
> > Hey,
> > 
> > I've just submitted a larger changeset to the frameworks branch, which
> > ports away from SimpleCursor and SimpleRange in favor of the now movable
> > types KTextEditor::Cursor and KTextEditor::Range.
> > 
> > Reference:
> > http://quickgit.kde.org/?p=kdevplatform.git&a=commit&h=fd0368f6ce6a3e9cd7a
> > 11 1a3e217eb118cfa843d
> > 
> > This is just a heads-up for the plugin authors, so you know what you need
> > to port when rebasing your project on kdevplatform-frameworks.
> > 
> > I'm starting to write a small porting-document where I highlight these
> > kind
> > of changes so it gets easier for you.
> 
> Awesome! Did you write a porting script for that? See also kde-dev-
> scripts/kf5/
> 
> bye

Nope. That's relatively easy to do via plain string-replacement.

If it gets more complex I'll think about looking into script support.

Greets

-- 
Kevin Funk


More information about the KDevelop-devel mailing list