- 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
python3instead ofpythonto runcotcommand itself.
- Let
cotscript 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
--waitoption with some clients other than Terminal.app. - Fix an issue where
--columncould misplace the insertion point when a negative number was given.
- Change
--columncount from 0-based to 1-based. - Fix an issue where the last empty line was ignoed when specifying the cursor position with
--lineoption. - Improve error message when failed.
- Fix an issue where
cotcommand failed to open paths or stdin containing backslash character.
- Fix an issue where
cotcommand failed if the client application is non-scriptable.
- Bring the window that called
cotto the front after--wait.
- Avoid creating an extra blank document if
cotcommand creates new document. - Fix an issue where launching application with
--backgroundoption 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
--newoption.
- Fix an issue where
--lineoption didn't work under specific environments. - Fix an issue where command could failed if the default Python is Python3.
- Fix an issue where
--lineand--columnoptions 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.