Author Topic: wxsmith tiny issue: save all button click does not save wxs file  (Read 3318 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5339
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
When I edit a wxs file under C::B, and then click the "save all" button, but the wxs file still show "unsaved" status.
It's a bug?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9613
Re: wxsmith tiny issue: save all button click does not save wxs file
« Reply #1 on: March 20, 2012, 09:16:36 pm »
It's a bug?
Yes, if saving external editors (so no built-in) is not included in SaveAll.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline danselmi

  • Developer
  • Almost regular
  • *****
  • Posts: 203
Re: wxsmith tiny issue: save all button click does not save wxs file
« Reply #2 on: March 20, 2012, 10:19:34 pm »
EditorManager::SaveAll() is calling EditorBase::Save()
I tested with HexEditor and NassiShneiderman diagram and both work with  SaveAll.
So I assume a bug in wxSmith

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9613
Re: wxsmith tiny issue: save all button click does not save wxs file
« Reply #3 on: March 21, 2012, 06:52:00 am »
So I assume a bug in wxSmith
I'd assume that, too then. ;D
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ