Displaying 1 result from an estimated 1 matches for "oneol".
Did you mean:
oneof
2007 Oct 24
1
Problems with creating my own syntax highlighter
..."Courier", true, true, true)
@sci.set_styling(2,10)
puts 1
end
This prints out "1" when you edit the text(twice actually, which i do not
understand), but doesn''t change the text layout. But if I put it in an event
triggered by a button, it will work(onEOL is triggered by clicking the "show
end of line" button in the scintilla sample):
def onEOL
@sci.clear_document_style
@sci.start_styling(1,31)
@sci.style_set_font_attr(10, 10, "Courier", true, true, true)
@sci.set_styling(2,10)
puts 1
end
As soon as I cl...