TMSMemo

Component : TMSFMXMemo
When you create a new TElementStyle in the allStyles collection, and set stComment as styleType the text formatting is not from TElementStyle but inherit it from TFMXMemoStyler. I need to have two different styles for commets.

If you can modify the line 4240 in the FMX.TMSMemo with :

if (DrawStyle.isComment > 0) and (not DrawStyle.isURL) then
begin
(* FontColor := FSyntaxStyles.CommentStyle.FTextColor;
Font.Style := FSyntaxStyles.CommentStyle.FStyle;
BrushColor := FSyntaxStyles.CommentStyle.FBkColor; *)
LoadFromItemStyle
end

tnkx
Ivan