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,083
    • Issues 2,083
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 8
    • Merge requests 8
  • 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

GitLab 15.0 is launching on May 22! This version brings many exciting improvements, but also removes deprecated features and introduces breaking changes that may impact your workflow. To see what is being deprecated and removed, please visit Breaking changes in 15.0 and Deprecations.

  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #30481
Closed
Open
Created Aug 19, 2016 by FPC Admin account@fpc_adminOwner

Patch forTCustomMaskEdit to correct behaviour when pasting from clipboard

Original Reporter info from Mantis: Lutz Maendle @lmaendle
  • Reporter name: Lutz Mändle

Description:

In TCustomMaskEdit.CanInsertChar the value ranges for the various tMaskedType cases of the variable current don't matching the value ranges used in TCustomMaskEdit.CharMatchesMask.
When pasting from clipboard this leads to the effect, that on positions where chars are not mandatory, no spaces can inserted.
The attached patch corrects the value ranges in TCustomMaskEdit.CanInsertChar, so that pasting works as expected.

Mantis conversion info:

  • Mantis ID: 30481
  • Version: 1.6
  • Fixed in revision: r52839 (#298e1155)
  • Target version: 1.8
  • LazTarget: 1.6.2
Assignee
Assign to
Time tracking