Ill play with this.. do you know of anyway to get they line number from the mouse point in the margin?
-----Original Message----- From: Phil Thompson <[email protected]> Sent: Thursday, April 19, 2018 09:23 To: Scott Bloom <[email protected]> Cc: [email protected] Subject: Re: Margin help On 19 Apr 2018, at 1:16 am, Scott Bloom <[email protected]> wrote: > > It turns out , it was a mask issue.. I have it resolved. > > However, another issue has come up, also with margins. > > You can get the Line/Index info from a QPoint, but not if the mouse point is > over the margin. > > is there any way to tell what line number the mouse is hovering over in the > margin? Maybe increase the x value by the margin width so that you know it is in the text, then use lineAt(). Phil _______________________________________________ QScintilla mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/qscintilla
