I was able to achieve the basic format functionality pretty fast using some TAdvRichEditor functions (SetSelectionBold, SetSelectionTextColor, ...). All seemed straight forward until I found that just as there is a function to add a bullet (unsorted) list (SetSellectionBullet), there doesn't seem to be one to add an ordered (numbered) list. Is there any function to do it? What would be the best way?
And just another question. After adding some formating (let's say bold font to a selected text) I want to clear the selection. This can be done with ClearSelection() method but after that, caret remains at the selection start position and not on its end as it should be. Can I fix that behaviour some way?.
Thanks @brunofierens for the SetSelectionBullet hint.
I have download and installed the last version (Aug 1st ver 10.8.1.0 - AdvRichEditor version 1.8.8.1) and the ClearSelection() is still behaving as before just like no fix has been applied.
ClearSelection fix should be in TMS VCL UI Pack v10.8.1.0
If a problem persists, can you please provide sample source project and/or exact steps how to reproduce.
Run the project. Write some text in the editor, select some words and click the speedbutton. The problem should be clearly visible.
I've attached a screen capture video (I zipped it 'cos the system didn't let me upload the video) so you can check for yourself that the problem is still unsolved.