Programming => Packages and Libraries => SynEdit => Topic started by: Borneq on December 08, 2019, 12:26:20 am
Title: WordWrap
Post by: Borneq on December 08, 2019, 12:26:20 am
I see forum.lazarus.freepascal old (https://forum.lazarus.freepascal.org/index.php?topic=11430.0) Is any way to break lines ? In old Delphi Synedit I have :
Dont recall why it was not included, but IIRC there was a reason....
That is absolutely the most beautiful circular reasoning I have read this year!
Tnx! (Let's have a poll..., can you better Martin? Are there more such gems? Actually Martin can get away with it...)
Title: Re: WordWrap
Post by: howardpc on December 08, 2019, 02:04:25 pm
I see nothing circular at all. Martin can recall (perhaps incorrectly) that WordWrap was omitted for a good specific reason, i.e. he knows it was not omitted simply through an oversight. Martin cannot now recall exactly what that good reason was. Such memory lapses happen to me all the time. I often go upstairs to retrieve something, and forget what I went up there to retrieve. The only circularity in my forgetting is the journey back downstairs to my starting point without whatever-it-was.
Title: Re: WordWrap
Post by: Borneq on December 08, 2019, 05:18:05 pm
Wrapping works very well. Only thing (maybe I bad make 4 files from diff) is that line numbers are visible lines, not true lines. --- Is OK ! I paste in bad place, should be: "// ftab, currently has" after "{$ENDIF} // WithSynExperimentalCharWidth" second "FTheLinesView := FTabbedLinesView" is not needed "FreeAndNil(FWrappedLinesView)" before "FreeAndNil(FTabbedLinesView)"