-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SciTE text editor integration #52
Comments
Does NOT implement save. Only supports Tombo CHI files. Attempts to save *.chi files will be blocked to prevent replacement with plain text, does NOT do so for other files (but also doesn't attempt to decrypt them either). Requires operating system environment variable PT_PASSWORD is set before loading scite. Requires ptcipher in path or set os env PTCIPHER_EXE to full path Can be copy/pasted into Scite Lua start up script or if using ParsKorata mini/simple ExtMan can add: mgr:load_files{'puren_tonbo.lua'} to Lua startup script.
Idea: new issue for ptcipher to accept number of input bytes as command line option. If set, read that many bytes rather than looking for EOF. Windows buffered IO work around idea that need to be tested. |
Research scite_OnOutputLine http://lua-users.org/wiki/SciteExtMan note password passing issues (no set env var API, so would mean command line passing, or keyring). Could implement setenv() in c in a dll loaded into scite. https://stevedonovan.github.io/winapi/examples/setenv.lua.html |
If unable to locate dialog options for lua/scite check out:
|
with:
I'm not seeing any evidence that popen is launching/working in write mode (w or wb). The attached script logs to a hard coded file and that file NEVER gets created. |
TODO mail scite mailing list. |
keyring support added 3413d8b |
Spun out of issue #35 for SciTE https://www.scintilla.org/SciTE.html
http://www.texteditors.org/cgi-bin/wiki.pl?TextEditorFamilies
lua
https://github.com/clach04/puren_tonbo/blob/main/pt_scite.lua
Features
PT_PASSWORD
has be set to correct password.python
-u or settingPYTHONUNBUFFERED=1
)python
Read (decrypt) and Write (encrypt) support
The text was updated successfully, but these errors were encountered: