Firefly icon indicating copy to clipboard operation
Firefly copied to clipboard

Disable line wrapping

Open PasiSalenius opened this issue 4 years ago • 3 comments

How do you disable line wrapping for the FireflySyntaxView or FireflyTextView? I looked around your API and Sourceful but did not find a way to do this.

PasiSalenius avatar Jan 27 '21 08:01 PasiSalenius

There is not currently a way too disable line wrapping. I can look into a way to add a toggle-able api call to enable/disable it. Thanks for the suggestion.

ActuallyTaylor avatar Jan 27 '21 12:01 ActuallyTaylor

Thanks. I already briefly tried changing a few things but it went nowhere. It might require a more thorough understanding of what is going on between all the different parts.

I've been looking for a text editor view which would do syntax highlighting fast enough, support line numbers and allow both line wrapping and non-wrapping modes. But so far I haven't found any.

PasiSalenius avatar Jan 27 '21 12:01 PasiSalenius

Line wrapping can now be disabled on the macOS version of firefly. I am still looking into a way to do this for iOS.

ActuallyTaylor avatar Jul 05 '21 17:07 ActuallyTaylor