Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,080
    • Issues 2,080
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #21768
Closed
Open
Created Apr 13, 2012 by FPC Admin account@fpc_adminOwner

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

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)
Assignee
Assign to
Time tracking