Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support word wrap in internal editor #579

Closed
Andreas0602 opened this issue Sep 12, 2022 · 10 comments
Closed

Please support word wrap in internal editor #579

Andreas0602 opened this issue Sep 12, 2022 · 10 comments

Comments

@Andreas0602
Copy link

Please support word wrap in internal editor (like in internal viewer).

@Skif-off
Copy link
Contributor

DC uses SynEdit and [as far as I remember] this component does not currently support word wrapping.

@alexx2000
Copy link
Contributor

@ags1234
Copy link

ags1234 commented Nov 2, 2022

Aren't there any other components better than SynEdit, that could replace it?
If SynEdit doesn't even know how to word-wrap, it is easily imaginable it has a lot of other shortcomings.

@alexx2000
Copy link
Contributor

Editor component is a large thing. I don't want to depend on large third-party component because of such a small thing like word-wrap.

@zxcat
Copy link

zxcat commented Sep 21, 2023

https://doublecmd.sourceforge.io/mantisbt/view.php?id=2293

it's 404 now.
So problem is in SynEdit?


Tried to find current status, seems word-wrapping still missing, which is very very very strange…

Some links that can be helpful:

@Skif-off
Copy link
Contributor

original Delphi SynEdit has word wrapping source + SynEditWordWrap.pas

For some reason, no one has ported the latest changes in this Delphi component to Lazarus, a fork of one of the previous versions is used.

@alexx2000
Copy link
Contributor

alexx2000 commented Sep 23, 2023

Lazarus SynEdit has experimental word wrap support:
https://forum.lazarus.freepascal.org/index.php?topic=61258.0

@Skif-off
Copy link
Contributor

@alexx2000 ,
this is not a port of some changes from the Delphi component, is it?

@zxcat
Copy link

zxcat commented Sep 24, 2023

Lazarus SynEdit has experimental word wrap support:
https://forum.lazarus.freepascal.org/index.php?topic=61258.0

Fun stuff there:

Ok, thank you. And how to disable it after it has been enabled?

That isn't implemented yet....

But anyway, that can be worked around even by

  • recreating anything to return in non-wrap mode
  • or let an user do it himself (switching to text mode and then to code mode)

@alexx2000
Copy link
Contributor

@Skif-off, looks like it is an independent implementation. Lazarus SynEdit was forked from Delphi long time ago. So it is a two different components today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants