[QScintilla] Margin help
Scott Bloom
scott at towel42.com
Thu Apr 19 17:58:52 BST 2018
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 <phil at riverbankcomputing.com>
Sent: Thursday, April 19, 2018 09:23
To: Scott Bloom <scott at towel42.com>
Cc: qscintilla at riverbankcomputing.com
Subject: Re: Margin help
On 19 Apr 2018, at 1:16 am, Scott Bloom <scott at towel42.com> 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
More information about the QScintilla
mailing list