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,094
    • Issues 2,094
    • 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

Scheduled maintenance on the database layer will take place on 2022-07-02. We expect GitLab.com to be unavailable for up to 2 hours starting from 06:00 UTC. Kindly follow our status page for updates and read more in our blog post.

  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #30395
Closed
Open
Created Jul 21, 2016 by FPC Admin account@fpc_adminOwner

SynEdit doesn't have WordWrapping

Original Reporter info from Mantis: dabdala
  • Reporter name: David

Description:

I Implemented a WordWrapping class, in a similar fashion to Trimming and TabExpansion.

I implemented it, and tested on Linux and Windows (with a newer Lazarus version on the latter).

It's not fully tested, but is working as expected (so far). You can use it to Visually WordWrap (has a way or retrieving original lines), or Physically WordWrap.

Didn't found a way of implementing WordWrapping without disturbing the actual string buffer, which is the way I think should be done.

Steps to reproduce:

Attached is the wrapping class and the detail of other classes that need changes, as implementation is very "intermixed" (I mean there are many dependencies between classes).

Additional information:

I don't fully understands SynEdit implementation (nor really want to), so probably (I hope) there is a better way of doing it, but as I didn't found any implementation except the "plugin" of Delphi version, this is the best I could come by.

Mantis conversion info:

  • Mantis ID: 30395
  • Version: 1.0.14
  • Monitored by: » mcclane (John McClane)
Assignee
Assign to
Time tracking