Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-01-2005, 04:03 PM
jdavidi jdavidi is online now
Registered User
 
Join Date: 10-27-2003
Posts: 38
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
Reply With Quote
  #2  
Old 12-01-2005, 04:52 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,764
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/
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 01:02 AM.


Copyright 1999-2019 Kinook Software, Inc.