Sublime Forum

Paste over selection not saved despite appearances

#1

Problem: Edits made by pasting over selected text are not saved in the actual HTML file after uploading to the server whereas edits made by deleting the selected text first and then pasting the new content on the remaining space result in the edits being saved.

Is this a ST thing or something peculiar to HTML files ?

I ask as deleting the old text first is an extra operation and slows things down if there are many page-states in the project.

0 Likes

#2

Sublime Text saves the file even if there aren’t any changes. Has the file actually changed on disk? How are you “uploading to the server”?

0 Likes

#3

I upload with FileZilla.

I never checked the file on disk per se. It seemed clear to me that the file on disk is what’s being uploaded and if that showed no changes on the server, then the local file had to be unchanged too.

This behavior is erratic. Sometimes it seems to save as it should when pasting over the old text, more times it has to be pasted onto space left after old text’s deletion.

0 Likes

#4

Searching for problems with FileZilla not updating files yields many results, so this is likely not an issue with Sublime Text. Like I said, Sublime Text saves files regardless of there being any changes, you can confirm this next time it “fails” to save by checking the actual file on disk.

0 Likes

#6

It’s set (by default) to Ask For Action and I then invariably choose the (default) Overwrite option.

I think this is something I’ll just have to watch to see what’s really triggering it.

0 Likes

#8

This has the same pattern as a suspicious post I flagged yesterday. AI generated slop response from a first time user that is vaguely related to the seed message, then a malicious link.

1 Like

#9

Yes, gbird. I thought it odd these guys would pick out the ST forum for this stuff.

But we all have to be on the lookout for all kinds of stuff these times.

I suppose the mods will get round to deleting it and expunging the “new member”.

0 Likes