-
Notifications
You must be signed in to change notification settings - Fork 94
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
Lines extend beyond viewable area for .txt files #1006
Comments
I'd love to take a stab at fixing this - perhaps adding an option to wrap long lines. I just need to get my head around how the code is organized and whatnot first. |
Yes as discussed with @jancborchardt we should generally wrap lines even in plain text or code files. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hi there, is there any news on this topic? Running NC 21 still shows the behaviour with the scroll bar, except I missed something in the settings. Without line wrapping the text editor is somewhere between hardly usable and unusable and unfortunately shared .txt files are opened with it by default. There was a line wrapping before in NC 18, so is it a degression or a feature request to have no line wrapping? All the best and thank you |
I am sorry if this is fixed. I am on the latest Next Cloud stable version - 22.2.3 and I can confirm having the same problem unless there is an option for word wrap that I'm not seeing. But I'd love to have this behaviour as the default for text files. |
This was meant to be backported as it's a bugfix but the backport failed. I'll give it another try. |
Describe the bug
Each line in a text file extends infinitely to the right until broken manually by the enter/return key in files with a .txt extension.
To Reproduce
Open existing text file with a .txt extension or start new file and enter an unbroken line of text.
Expected behavior
Lines wrap based on the size of the editor window as they do with .md files.
Screenshots
Web
![text-web](https://user-images.githubusercontent.com/36998292/92270704-815b7500-eeb4-11ea-9b94-438f49754105.gif)
![text-web2](https://user-images.githubusercontent.com/36998292/92270717-83bdcf00-eeb4-11ea-89b9-a08ab145c109.gif)
Android App
![text-mobile](https://user-images.githubusercontent.com/36998292/92270953-f5961880-eeb4-11ea-9cf4-97d9bba60f0c.gif)
Server Info
Nextcloud 19.02
Client Info
Firefox 78-80
macOS, Linux
Nextcloud Android App v3.13.0
The text was updated successfully, but these errors were encountered: