OnSpecialLineMarkup is an event. You can assign it in the object inspector.
Hi!
Okay, I wrote few applications, my largest project contains about five-thousand lines, well, I know what is the event.Well, I don't see how can I use this event, please write a working example, if possible.
For example: procedure NextLineIsBold; or procedure NextLineTextColor (const color:TColor); etc...
My example (with your event code):
procedure TForm1.Button1Click(Sender: TObject);
begin
SynEdit1.Lines.Add(Edit1.Text);
end;
The second line is bold only. I want to choice, which line is bold, and which line is not.
Markup will be applied, if special is true
Okay, I think I don't call this event directly, how can I change "special" variable?
ps.: on TSynEdit F1 or ctrl-F1 result is nothing (no help found for...)
Thanks for your help!