Optimize use of TCarbonCaret by not redrawing whole widget with each call to CaretUpdate
Original Reporter info from Mantis: djenkins @dfjenkins
-
Reporter name: David Jenkins
Original Reporter info from Mantis: djenkins @dfjenkins
- Reporter name: David Jenkins
Description:
The call to FWidget.Update in TEmulatedCaret.UpdateCaret forces redraw of whole widget whenever caret is moved. The call to FWidget.Invalidate() should be sufficient to mark caret as dirty and it will be redrawn with the paint routines call Update.
See attached patch against rev 36681
Mantis conversion info:
- Mantis ID: 21768
- Version: 0.9.30.5 (SVN)
- Fixed in revision: 36959 (#eb25ce0e)
- Monitored by: » @dfjenkins (David Jenkins)