Konloch / bytecode-viewer

A Java 8+ Jar & Android APK Reverse Engineering Suite (Decompiler, Editor, Debugger & More)
https://bytecodeviewer.com
GNU General Public License v3.0
14.71k stars 1.15k forks source link

Add word wrap setting #493

Open dozmus opened 7 months ago

dozmus commented 7 months ago

Allows you to turn word wrap on/off for text editors While working on this I also noticed that toggling "show file in tab title" / etc were broken due to throwing exceptions and fixed it, or this would not completely work

Konloch commented 7 months ago

Thank you for this addition!

I ran into an issue when opening large class files with a large font, it renders BCV frozen and unable to be used. I would like this feature added so I'm planning to resolve this issue. One idea is automatically turning off word wrap if the file size is larger than a certain file size limit

1AXxoydkxS

In the video I'm trying to scroll but BCV refuses to update the visual container

Bl3nd commented 7 months ago

Should we consider also having this option in the right click context menu? This could allow for users to control what viewer pane they'd like word wrap on. Might be a redundant idea.