[QScintilla] Margin help

Phil Thompson phil at riverbankcomputing.com
Thu Apr 19 17:22:48 BST 2018


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