#7954: [StyledEdit] shows only small part of file
--------------------------------------+----------------------------
Reporter: diver | Owner: korli
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Applications/StyledEdit | Version: R1/Development
Resolution: | Keywords:
Blocked By: 6447, 9395 | Blocking: 15206
Platform: All |
--------------------------------------+----------------------------
Comment (by ttcoder):
IIRC StyledEdit has a "read-only" mode that was implemented a while back,
when opening files from a partition mounted read-only. Previous to
implementing that mode, it would allow invoking Cmd-S, which would then
show a "read-only partition" BAlert. After that mode was implemented, it
would outright prevent from invoking Save (the Save menu item is
SetEnabled(false)), which is better UX.
Maybe that mode could be "forced" here? That would be in addition to
displaying a B_ERROR_ALERT warning that "This file contains some binary
data which StyledEdit cannot handle and cannot save back to disk reliably,
saving will be disabled to prevent data loss" ?
--
Ticket URL: <https://dev.haiku-os.org/ticket/7954#comment:17>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.