#1494 SCI_MARKERDEFINE with SC_MARK_PIXMAP

Bug
closed-fixed
scintilla (249)
5
2013-07-08
2013-07-05
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.

     
  • Behnaz Bouchiat

    Behnaz Bouchiat - 2013-07-08

    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.

     

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

Sign up for the SourceForge newsletter:





No, thanks