Page 1 of 1

Data appended to .rc resource uses the wrong comment char

Posted: Sat Jun 30, 2007 8:08 pm
by Mistrel
When I added a .rc file to my project, Tools -> Compiler Options -> Resources, these lines were appended and hidden at the bottom:
; IDE Options = PureBasic v4.02 (Windows - x86)
; CursorPosition = 13
; Folding = -
This information is necessary but the wrong comment chars are used, causing the compiler to error.

If I open this the appended file in notepad and change all of the " ; " chars to " // " everything is fine.

Posted: Thu Aug 16, 2007 5:37 am
by Mistrel
Sorry to bump this but I would really like to edit my .rc files within PB instead of notepad.

Posted: Thu Aug 16, 2007 2:03 pm
by freak
The PureBasic editor is only intended for editing PureBasic sourcecode, not other files.

That said, you can actually disable the writing of the options to the end of every file
in "Preferences->Editor->Save Settings To".