Sublime Forum

Not Copying / Pasting Spaces

#1

Some machine specs:

Windows 10 Enterprise
Version: 1909
OS Build: 18363.1916

Sublime Text: v.4121

ISSUE: I’m attempting to copy some leading whitespace / spaces (NOT tabs), and then paste them on another line. Take the following for example:

                   SPARES # | TEST #
EX3300 ===========          | 
EX3400 PoE =======
EX3300 PoE ======= 
EX4200 8x PoE ==== 
EX3200 8x PoE ==== 
EX2300 =========== 
EX2200 =========== 
EX2200 PoE ======= 
EX4200 24x port ==

Notice that there are ~10 spaces leading up to that | on the EX3300 line? If I tried to copy / paste that line it would remove all leading spaces. Doesn’t do this on my Mac. Is there a setting I’ve overlooked when trying to port my config from my Mac to this Windows machine? Anybody know if this is a Windows only “gotcha”? Any help is greatly appreciated as this is driving me crazy!

0 Likes

#2

I haven’t seen this before - maybe a plugin interfering? Try starting ST in safe mode and seeing if the problem goes away

0 Likes

#3

Okay, happens in Safe Mode as well. If I copy something with leading spaces and then paste, it won’t paste the leading spaces.

0 Likes

#4

hmm, interesting. Do you have some software like Clipboard Fusion installed and configured to automatically scrub copied text? Does the same happen from other applications if you copy text with leading spaces from a web browser etc.?

4 Likes

#5

I did. Didn’t even realize it. You are a lifesaver!!! Thank you!!

2 Likes