Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Copied text from SourceSafe editor pastes wrong into Script Editor (6.0) (https://www.kinook.com/Forum/showthread.php?t=1379)

jdavidi 12-01-2005 03:03 PM

Copied text from SourceSafe editor pastes wrong into Script Editor (6.0)
 
Hello again,

Another 6.0-specific issue. I copy/paste text somewhat regularly from our SourceSafe files into the Script Editor when I'm setting up variables (I open text files, sql files, and javascript files through the SourceSafe editor). Any text copied from any of these file types pasted fine into the 5.7/5.5 script editor, but any amount of text pasted into the 6.0 script editor gets /pasted fine in 5.7, but no matter the amount of text copied gets a few dozen "empty" characters (those hollow rectangles you see at the bottom of the Windows character map) appended to it.

I don't suppose there's some script window setting I can toggle to make this go away? Not a huge problem, just a tad annoying.

Thanks,

--jdavidi

kinook 12-01-2005 03:52 PM

It appears that the SourceSafe editor includes a bunch of trailing NULL chars when copying to the clipboard, and the editor component we use erroneously includes the null chars when pasting (although they show up as spaces here rather than hollow rectangles).

We've reported the problem to the vendor of the editing component. It sounds like it may already be fixed in an internal build, so we should have a fix fairly soon.

It appears that the null characters get removed after closing and re-opening the script editor. One other workaround you can use for now is PureText [1], which strips the trailing nulls when pasting.

[1] http://stevemiller.net/puretext/


All times are GMT -5. The time now is 10:55 PM.


Copyright © 1999-2023 Kinook Software, Inc.