It is currently Sun Dec 15, 2019 1:07 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Strange behavior. Odd code injected when exiting editor.
PostPosted: Wed Jul 24, 2019 7:41 pm 
Offline
User
User

Joined: Wed Jul 10, 2019 4:38 pm
Posts: 14
This has happened to me a few times, and it's kinda frustrating. When I close the editor after saving, sometimes code is added to the source.

Example (this one happened today)...

Code:
; CursorPosition = 702
; FirstLine = 690
; Folding = --
; EnableXP
; Executable = F:\RepairLog.exe
; EnableXPPng = - EnableXPPng = -g = - EnableXPPng = ----
; EnableXPPng = - EnableXPPng = - = logline()Log.exe
; EnableXPPng = - EnableXPPng = -g = - EnableXPPng = -
; EnableXPPng = - EnableXPPng = - = logline()ableXPPng = - EnableXPPng = -g = - EnableXPPng = -
; EnableXPPng = - EnableXPPng = - = logline()- EnableXPPng = - = logline()e()
; EnableXPPng = - EnableXPPng = -g = - EnableXPPng = --
; EnableXPPng = - EnableXPPng = - = logline()Log.exe
; EnableXPPng = - EnableXPPng = -g = - EnableXPPng = -
      EndIf
    EndIf
  Until Event = #PB_Event_CloseWindow
EndProcedure


All the above was obscurely added when I exited. None of that, except for "logline()" is a part of my code. Anyone know why?

__________________________________________________
Code tags added
25.07.2019
RSBasic


Top
 Profile  
Reply with quote  
 Post subject: Re: Strange behavior. Odd code injected when exiting editor.
PostPosted: Wed Jul 24, 2019 10:13 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Apr 10, 2017 6:17 pm
Posts: 302
Location: Germany
Inside the Purebasic IDE check the "File->preferences->editor" and it should have in an option to "save settings to" and the default is "end of file".

_________________
webpage


Top
 Profile  
Reply with quote  
 Post subject: Re: Strange behavior. Odd code injected when exiting editor.
PostPosted: Wed Jul 24, 2019 10:42 pm 
Offline
User
User

Joined: Wed Jul 10, 2019 4:38 pm
Posts: 14
Bitblazer wrote:
Inside the Purebasic IDE check the "File->preferences->editor" and it should have in an option to "save settings to" and the default is "end of file".


Thank you very much


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye