#1494 SCI_MARKERDEFINE with SC_MARK_PIXMAP

Bug
closed-fixed
Neil Hodgson
scintilla (141)
5
2013-07-08
2013-07-05
Behnaz Bouchiat
No

Using Scintilla Edit Control in Windows environment, I'm setting pixmap markers. It worked properly with scilexer.dll version 2.2.4.0. But now, with 3.2.5.0 I'm getting crashes when calling SCI_MARKERDEFINE with SC_MARK_PIXMAP.

Discussion

  • Neil Hodgson
    Neil Hodgson
    2013-07-05

    It works in SciTE 3.2.5 on Windows: the bookmark (Ctrl+F2) symbol is a pixmap marker. You should check that SciTE works for you and then compare its code with yours.

     
  • I didn't find any call to SCI_MARKERDEFINE with SC_MARK_PIXMAP in SciTE.
    I thought that I have to call SCI_MARKERDEFINE before calling SCI_MARKERDEFINEPIXMAP, but apparently it is a mistake. Calling SCI_MARKERDEFINEPIXMAP is enough and working properly.
    Thanks

     
  • Neil Hodgson
    Neil Hodgson
    2013-07-08

    • labels: --> scintilla
    • status: open --> closed-fixed
    • assigned_to: Neil Hodgson
     
  • Neil Hodgson
    Neil Hodgson
    2013-07-08

    Changed the code so that it doesn't crash if there is no pixmap set for a pixmap marker.