#1863 [macOS] setCursor method in subclass of SCIContentView will not be called

Bug
closed-fixed
5
2016-10-16
2016-09-20
Tse Kit Yam
No

I subclass SCIContentView in my app, and I found that the cursor style will not be chanegd according to the position. This is because Window only set cursor style to SCIContentView but not SCIContentView's subclasses. I think subclasses of SCIContentView have the right and need to get this style too.

In this patch I use -isKindOfClass instead of -isMemberOfClass to check the object type. If the object passed the tes, then the object should be able to cast to SCIContentView and the rest should be the same.

1 Attachments

Discussion

  • Neil Hodgson

    Neil Hodgson - 2016-09-20
    • labels: --> scintilla, cocoa
    • status: open --> open-fixed
    • assigned_to: Neil Hodgson
     
  • Neil Hodgson

    Neil Hodgson - 2016-10-16
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks