@rvk, It can't hurt to ask/verify and for jianwt to (re)confirm and to make sure the intention/idea/request is clear, but from post #11
Due to the limitations of stringgrid (for example, one line cannot automatically replace the next line when the input is full, instead of a simple carriage return), the input interface is not only used for input, but also needs to take string data for the next operation (such as setting the font and color of each paragraph). As I am a beginner, I still do not know much about stringgrid operation. It is estimated that it will not achieve the effect you want, but thank you for the advice of 2 masters.
I want to see if there are any other options. I found that the RichViewEdit control can do this, but it is not supported on linux systems.
In case that is literally per paragraph (no font size/color changing in a single paragraph) then that might perhaps be solvable in another manner.
And you are most probably right about synedit but I did not manage to get up to such a point (I am not familiar with synedit internals) and jainwt dismissed using that option (now that is one post in this thread that
I seem unable to find that quickly during edit

I'm probably just missing something here but TSynEdit even has a OnPaint event.
No, you're not. I got stuck on the different font sizes with different (line) spacing
