View Issue Details

IDProjectCategoryView StatusLast Update
0030395PackagesPackagespublic2017-09-26 05:21
ReporterDavid Assigned ToMartin Friebe  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version1.0.14 
Summary0030395: SynEdit doesn't have WordWrapping
DescriptionI 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 ReproduceAttached 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 InformationI 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.
TagsNo tags attached.
Fixed in Revision
LazTarget-
Widgetset
Attached Files

Activities

David

2016-07-21 13:49

reporter  

David

2016-08-02 16:13

reporter  

David

2016-08-02 16:13

reporter  

synedit.zip (132,048 bytes)

David

2016-08-02 16:14

reporter   ~0093965

I just uploaded an updated version of the implementation with several bugs fixed.
Also uploaded the files I had to modify on versiĆ³n 1.6 (FPC 3.0) under Windows XP.

Issue History

Date Modified Username Field Change
2016-07-21 13:49 David New Issue
2016-07-21 13:49 David File Added: syneditwordwrapping.zip
2016-07-21 15:26 Martin Friebe Assigned To => Martin Friebe
2016-07-21 15:26 Martin Friebe Status new => assigned
2016-08-02 16:13 David File Added: syneditwordwrapping_update.zip
2016-08-02 16:13 David File Added: synedit.zip
2016-08-02 16:14 David Note Added: 0093965
2016-08-02 18:36 Bart Broersma LazTarget => -
2016-08-02 18:36 Bart Broersma Summary SynEdit doesn't has WordWrapping => SynEdit doesn't have WordWrapping