Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Editing Python scripts in TheIde  () 1 Vote
Re: Editing Python scripts in TheIde [message #22135 is a reply to message #22115] Fri, 19 June 2009 13:21 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
skyhawk wrote on Thu, 18 June 2009 07:47

I think theide should just not recreate a file in the same location, but instead open the existing file, truncate it
(http://linux.about.com/library/cmd/blcmdl2_truncate.htm)

and write the new content. That way you prevent having to know about all aspects of the file (attributes, file-rights etc)

Gr,

Jan


Unsafe.

The actual protocol is: Rename current file (add .bak to filename), save file, delete backup.

At any point, either old or new file exists.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Suggestion: cross-platform "U++ package" file type.
Next Topic: Some small issues with TheIDE and DLLs
Goto Forum:
  


Current Time: Fri Aug 15 14:51:12 CEST 2025

Total time taken to generate the page: 0.14664 seconds