If Scratch is passed a file name on the command line for a file which does not exist, it treats it as read-only file, which is obviously wrong.
The Right Thing To Do is not obvious, though. Gedit creates the given files in such cases. For Scratch, which does everything to always show the current state of the file, I'd go with "No file = empty file". This means no infobars and creating the file on first edit.
If Scratch is passed a file name on the command line for a file which does not exist, it treats it as read-only file, which is obviously wrong.
The Right Thing To Do is not obvious, though. Gedit creates the given files in such cases. For Scratch, which does everything to always show the current state of the file, I'd go with "No file = empty file". This means no infobars and creating the file on first edit.
ProblemType: Bug 0+pkg29~ precise1 [origin: LP-PPA- elementary- os-daily] ature: Ubuntu 3.2.0-27.43-generic 3.2.21 scratch- text-editor /usr/bin/ fish
DistroRelease: Ubuntu 12.04
Package: scratch-text-editor 1.1.1+r862-
ProcVersionSign
Uname: Linux 3.2.0-27-generic x86_64
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
CrashDB: scratch_text_editor
Date: Sat Aug 18 02:08:50 2012
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120303)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=
SourcePackage: scratch-text-editor
UpgradeStatus: No upgrade log present (probably fresh install)