I have problem how add second margin to scintilla control which can
show marker symbol( similiar like FBEDIT for error line).
I dont understand what i do wrong or maby i use just wrong order of
messages.
Any help will be OK...
Thanks advance ...
Aurel
I have currently this situation:
Code: Select all
'SendMessage(hwndScintilla,SCI_SETMARGINTYPEN,1,SC_MARGIN_NUMBER )
'SendMessage(hwndScintilla,SCI_SETMARGINWIDTHN,1,40)
SendMessage(hwndScintilla,SCI_SETMARGINTYPEN,0,SC_MARGIN_SYMBOL )
SendMessage(hwndScintilla,SCI_SETMARGINWIDTHN,0,18)
SendMessage(hwndScintilla,SCI_SETFOLDMARGINCOLOUR,0,BLACK_BRUSH )
SendMessage(hwndScintilla, SCI_MARKERDEFINE, 0, SC_MARK_SHORTARROW )
SendMessage(hwndScintilla, SCI_MARKERSETFORE, 0, RGB( 80, 0, 0 ) )
SendMessage(hwndScintilla, SCI_MARKERSETBACK, 0, RGB( 255, 0, 0 ) )
SendMessage(hwndScintilla, SCI_MARKERADD, 1, 0 )