- Enable opening directories.
- Ignore piped text if a file to open is specified.
- Add
--syntax
(-s
) option to set desired syntax to the documents just opened.
- Invoke
python3
instead ofpython
to runcot
command itself.
- Let
cot
script use any Python in the system.
- Now cot command requres CotEditor 4.1.0 or later.
- Fix to work also with Python 3.
- Enable reading large piped text.
- Fix an issue where stack trace displayed when using
--wait
option with some clients other than Terminal.app. - Fix an issue where
--column
could misplace the insertion point when a negative number was given.
- Change
--column
count from 0-based to 1-based. - Fix an issue where the last empty line was ignoed when specifying the cursor position with
--line
option. - Improve error message when failed.
- Fix an issue where
cot
command failed to open paths or stdin containing backslash character.
- Fix an issue where
cot
command failed if the client application is non-scriptable.
- Bring the window that called
cot
to the front after--wait
.
- Avoid creating an extra blank document if
cot
command creates new document. - Fix an issue where launching application with
--background
option didn't make CotEditor visible.
- Fix a possible hang under some specific environments.
- Fix an issue where file(s) cannot be opened if the default Python is Python 3.
- Enable using wildcard for file path argument.
- Fix an issue where creating new blank file could fail.
- Create a new file if a non-existent file path is passed in with
--new
option.
- Fix an issue where
--line
option didn't work under specific environments. - Fix an issue where command could failed if the default Python is Python3.
- Fix an issue where
--line
and--column
options didn't move cursor to the desired location if file has blank lines at the end.
- Add
--wait
(-w
) option to wait until a newly opened window closes. - Optimize command performance.
- Fix an issue where command cannot open file whose path includes non-ascii character.
- Open symbolic link target rather than the link itself.