MaterialFiles icon indicating copy to clipboard operation
MaterialFiles copied to clipboard

Feature Request: Add a word wrap toggle to the text editor.

Open ioogithub opened this issue 4 years ago • 3 comments

Please a a word wrap toggle to the text editor. Reading code on a phone that wraps text is nearly impossible. A good example of another f-droid app that does it well is is https://github.com/billthefarmer/editor. It would be nice to use the Material Files editor for this purpose.

ioogithub avatar Jun 13 '21 18:06 ioogithub

This may be a good feature to add, but I still want to emphasize that a fully functional text editor is not a priority for this file manager project, and I'd still recommend you to get a dedicated text editor app instead.

zhanghai avatar Jun 13 '21 19:06 zhanghai

I understand and agree completely that a fully functional text editor would be out of scope however for many common tasks, two feature enhancements would probably satisfy the vast majority of use cases for opening text files.

  1. A simple single keyword search, perhaps an icon in the top left when pressed opens a line below where you can enter your word to search with ^ v buttons. The Amaze file manager editor has this feature however the version available in fdroid is old and broken. I am not requesting regex functionality or anything elaborate just a simple search to find words in the text file which has to be one of the top use cases of opening a text file to read in the first place.

  2. The second is a toggle for word wrap. Any files that contain indentation (such as scripts) are very difficult to read on a text viewer that is imposing word wrapping. A simple word wrap toggle would really improve usability.

Right now I am using 4 different text editors when really I have simple requirements- read, find info in and make simple edits to text files. It would be great is MaterialFiles could do this.

Thank you for this awesome project.

ioogithub avatar Jun 14 '21 22:06 ioogithub

I too agree that the ability to turn on / off the word wrapping would be a great addition and a simple text search would be perfect to integrate into Material Files. Thanks for Material Files it is a great project.

Does anyone have any suggestions for a FOSS text editor for Android. Word Wrap and search are essential and if at all possible ability to work with larger files would be great also? Thanks

mosource21 avatar Apr 22 '24 09:04 mosource21