You are here: PSPad forum > Developer forum - new builds > Re: PSPad unicode 4.5.4 (2308) English
Posted by: kaaposc | Date: 2008-02-29 09:56 | IP: IP Logged
pspad:kaaposc:I cannot confirm it. For me this bug still exists.Screenshot please
Look here: img404.imageshack.us
let me explain, what you can see there..
image consists of 4 parts:
1. CSS file - 't' and 'b' letters are ghost chars from line below when I have cursor at the beginning of line 99 (or 103) and press Enter to make new line;
2. PHP file - here I made some indents to show how content from other program (Firefox with PSPad forum open) stays on when switching between programs. Those letters are from Billy's post #16 (02/27/2008 22:27);
3. Javascript file - also 'm' stays there from line below;
4. Text file - as you can see, no ghost chars here.
Hope that helps
Posted by: pspad | Date: 2008-02-29 10:19 | IP: IP Logged
Can you tell me step by step how to get it?
Posted by: kaaposc | Date: 2008-02-29 10:24 | IP: IP Logged
pspad:Can you tell me step by step how to get it?
well... just hit Enter at the end of indented line..
ok, now I will check if fresh install (delete -> extract fresh) of the same build would fix things...
Posted by: pspad | Date: 2008-02-29 11:01 | IP: IP Logged
ok. Now I see then problem.
It occurs, if autoindent is on.
Posted by: kaaposc | Date: 2008-02-29 11:03 | IP: IP Logged
kaaposc:ok, now I will check if fresh install (delete -> extract fresh) of the same build would fix things...
ok, unregistered PSPad shell extension, rebooted, deleted all files from "Program Files/PSPad Editor" folder, deleted all files from "Application Data/PSPad" folder, extracted fresh new full (5.4.3) version in program files, then extracted last build (2308) on top of it AND - voila! - no ghost characters! woo!
so, not sure what was causing those ghost chars.
now I will tune up all PSPad's options and will see if they will come back..
-edit-
tuned some options, but no ghost chars. btw, autoindent is by default on.
-edit #2-
just noticed inside PHP file multiline comments (those with /**/) some ghost chars. in code (outside comments) they wont come up. (PHP highlighter, autoindent on)
this is what I call strange
Edited 2 time(s). Last edit at 2008-02-29 11:36 by kaaposc.
Posted by: pspad | Date: 2008-02-29 13:46 | IP: IP Logged
Ghost characters occurs if:
Autoindent is on
Real tabs are on
Highlighter is used
I know reason now, but still not found a solution
Posted by: pspad | Date: 2008-03-11 19:35 | IP: IP Logged
andybridges:I'm also seeing another bug.debugProjectFilesCount counts the files in a project, but projectFiles(i) returns "nodes" in the project's tree view (i.e. includes folders).
so,
for i = 0 to projectFilesCount-1
msgbox projectFiles(i)
nextwill popup the project name (e.g. "New project") first rather than the first file since the project name is the first node in the tree view, then the first folder name (e.g. "Folder") instead of file 2.
You can replicate this by copying this code and saving it as AB_PSPad_Debug1.vbs
Const module_name = "AB_PSPad_Debug1"Sub Init
addMenuItem "Debug", "", "debugProjectFilesCount"
End SubSub debugProjectFilesCount()
Dim i
for i = 0 to projectFilesCount-1
msgbox projectFiles(i)
next
End Subjust add a couple of files into the default project and click Scripts>debug and you'll see the problem.
It's necessary if index have to match project item index.
If you know it, you can start from index 1 instead 0.
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