RichMemo - implement GetStyleRange on Cocoa
Original Reporter info from Mantis: dbannon @davidbannon
-
Reporter name: David
Original Reporter info from Mantis: dbannon @davidbannon
- Reporter name: David
Description:
Currently, GetStyleRange is not implemented in Cocoa RichMemo. Attached is a patch to do so.
Steps to reproduce:
Run patch in the RichMemo's top level dir -
patch -p0 < GetStyleRange.patch
It affects only cocoa/cocoarichmemo.pas
Additional information:
Note I do sanity check on passed parameter TextStart, other similar functions do not, perhaps a decision is made that the overhead is excessive and users should be careful to not pass a TextStart less than zero or greater than length(RichMemo1.Text) - feel free to drop that part or advise and I'll make a new patch.
Mantis conversion info:
- Mantis ID: 34559
- OS: OSX
- OS Build: Sierra
- Platform: Mac
- Monitored by: » @davidbannon (David)