You are here: PSPad forum > Developer forum - new builds > PSPad unicode 4.5.4 (2301) English
Posted by: PsychodelEKS | Date: 2008-02-06 11:39 | IP: IP Logged
I hope it started from one of 227* versions, my PSPad returns path/name in all small letters now. No matter I use file-tab menu or .fileName() function.
Posted by: PsychodelEKS | Date: 2008-02-06 11:45 | IP: IP Logged
Seem like it depend on the path length or some characters. For example, I have .test (txt) files in
C:\P4\tests\css\c21\14.ColorsAndBackgrounds
those are opened as:
c:\p4\tests\css\c21\14.colorsandbackgrounds\c21_14-02_043.test
if opened through explorer (through notepad.exe)
though if I open them directly from PSPad file menu - path case is preserved. So there may be an issue with notepad.exe.
Edited 1 time(s). Last edit at 2008-02-06 11:47 by PsychodelEKS.
Posted by: pspad | Date: 2008-02-08 11:12 | IP: IP Logged
Bug found and corrected. Available in the next build
Posted by: PsychodelEKS | Date: 2008-02-08 12:32 | IP: IP Logged
pspad:Bug found and corrected. Available in the next build
If that is about my issue, thats great =) If not my - less, but still great ;)
Posted by: owilsky | Date: 2008-02-08 13:02 | IP: IP Logged
Same goes for me: If it is my bug, fine
--
Oliver Kötter
Posted by: aloishammer | Date: 2008-02-08 23:51 | IP: IP Logged
One bug, hard to trigger: I tend to write a lot of one-liner Bourne shell scripts, and every so often, I need to save one off on the laptop for later reference, so I copy and paste.
Unfortunately, the code that auto-suggests a filename breaks after a certain point. I got carried away with a one-liner script that runs to 927 characters. When selecting "Save" or "Save As" from the File menu -- or when using the shortcut keys, nothing happens.
After I added a newline at the top, I was able to save the file, and the name was suggested as "New2.txt". When I removed the newline and re-saved the file, it worked fine.
I'd suggest adding a truncation somewhere (50 characters, maybe?) before the auto-suggest function gets its hands on the first line of the text.
Thanks!
Posted by: pspad | Date: 2008-02-09 06:30 | IP: IP Logged
I found a probem. If line is longest then about 250 chars, nothing happends.
I will suggest some resonable part of first line, e.g. 120 chars.
Posted by: pspad | Date: 2008-02-09 06:58 | IP: IP Logged
muthukrish_2000:It will be very much useful if we able to call MEMO style while calling logwindow using script.
I will add logSetType() function into scripting interface. You will be able to choose LOG type
Posted by: pspad | Date: 2008-02-25 17:28 | IP: IP Logged
Rok:Hi,Sorry to bother you again with openFileFromFTP, but I've found a bug again.
In version 2301 I cannot use openFileFromFTP command with full path filename (e.g. "/tmp/foo"):
Set tmpeditor = newEditor()
tmpeditor.openFileFromFTP("/tmp/foo")It works only with filename without path (e.g. "foo"), so the only way is to use it as follows:
Set tmpeditor = newEditor()
ftpCommand("CWD /tmp")
tmpeditor.openFileFromFTP("foo")But in that case you get wrong path for backup file - in my case:
<backup dir>\koh\opt\OV\bin\foo
instead of:
<backup dir>\koh\tmp\fooCan you please check it?
Thank you and best regards,
Rok
Both cases are fixed. You can open file directly (with '/' or '\' delimiter in the path) or use CWD command before.
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR