[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: [kate] part/syntax: Folding bug fixed
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2011-09-20 21:23:30
Message-ID: 201109202323.30527.dhdev () gmx ! de
[Download RAW message or body]

On Tuesday, 20. September 2011, Adrian Lungu wrote:
> The bug involved placing the mouse into a specific position.
> Can I simulate this with QTEST?
> 
> Adrian

Funnily, to pass line = -1 to getLineInfo is as easy as this:

KateDocument doc;
doc.setText("{\n}");
KateLineInfo info;
doc.lineInfo(&info, -1);

That is basically already what Milian means when he talks about a unit 
test...

Greetings,
Dominik
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic