delphidabbler / codesnip

A code bank designed with Pascal in mind
https://delphidabbler.com/software/codesnip
Other
111 stars 34 forks source link

Refactor names in `URTFUtils` unit #100

Open delphidabbler opened 1 year ago

delphidabbler commented 1 year ago

This unit has several RTF*** routines that could do with grouping together in a TRTF record w/ methods.

But, TRTF is currently used to encapsulate RTF markup. So rename TRTF as TRTFMarkup or TRTFCode.

The unit also contains TRichEditHelper which contains a single method to help loading RTF code into a RichEdit control. This doesn't sit well here. Perhaps it would be better if moved to its own unit, and maybe converted into a class helper.