Ticket #83 (assigned enhancement)
savannah: editor needs read-only mode
Reported by: | ossi | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Future Releases |
Component: | mcedit | Version: | 4.7.1 |
Keywords: | Cc: | dev.nul@…, mooffie@… | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description (last modified by ossi) (diff)
Original: http://savannah.gnu.org/bugs/?23513
Submitted by: | Oswald Buddenhagen <ossi> | Submitted on: | Sat 07 Jun 2008 07:57:22 AM UTC |
Category: | Editor | Severity: | 3 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Release: | current (CVS or snapshot) | Operating System: | All |
Original submission:
the editor needs a read-only mode. in this mode, cursor navigation would work as normal, but any attempt to modify the content would pop up a confirmation dialog requesting to switch the mode. the mode would be initialized from the file's access rights. a manual toggle (and possibly a command line switch to be able to use the editor as a viewer) would be provided.
Attachments
Change History
comment:3 Changed 15 years ago by angel_il
- Status changed from new to accepted
- Owner set to angel_il
comment:4 Changed 15 years ago by kdave
- Version set to 4.6.1
- Summary changed from savannah: need read-only mode to savannah: editor needs read-only mode
- Milestone set to 4.7
comment:5 Changed 15 years ago by styx
#28 should be improved, not this one. At least this feature looks strange enough. And in the lights of previous days I think we just should merge viewer. For now viewer has hex editor ...
comment:6 Changed 15 years ago by styx
- Status changed from accepted to testing
- Resolution set to invalid
comment:8 follow-up: ↓ 11 Changed 14 years ago by nickk9
- Status changed from closed to reopened
- severity set to no branch
- Cc dev.nul@… added
- Component changed from mcedit to mcview
- Version changed from 4.6.1 to 4.7.1
- Resolution invalid deleted
There is another convenient solution for this issue. It would be great if viewer would have key shortcut to run editor on the same file (so i view some file, understand that i need to edit it, then press, say Alt-F4 and get editor on this file from the same position).
comment:9 Changed 14 years ago by nickk9
- Status changed from reopened to accepted
- Owner changed from angel_il to nickk9
Here is proposed patch to implement this (default key binding is F14 aka shift-F4, keymap name ViewRunEditor?).
comment:10 Changed 14 years ago by nickk9
I thought that default editor behaviour (placing current line in the middle of the window) not convenient when switching from viewer to editor (thus is results in shifting text), so i modified abovementioned patch to disable such scrolling in this very case.
comment:11 in reply to: ↑ 8 Changed 14 years ago by andrew_b
It's not a solution for "read-only mode of editor". Ticket #2156 was created for "run editor from viewer" enhancement.
comment:13 Changed 13 years ago by andrew_b
- Branch state set to no branch
- Milestone changed from 4.7 to Future Releases
comment:14 Changed 13 years ago by andrew_b
- Owner nickk9 deleted
- Status changed from accepted to assigned
comment:15 Changed 11 years ago by ossi
- Description modified (diff)
- Reporter changed from slavazanko to ossi
comment:16 Changed 10 years ago by andrew_b
Ticket #3211 has been marked as a duplicate of this ticket.