[haiku-bugs] Re: [Haiku] #5535: Save window pos and size with all text file

  • From: "stippi" <trac@xxxxxxxxxxxx>
  • Date: Fri, 30 Apr 2010 21:00:06 -0000

#5535: Save window pos and size with all text file
-------------------------------------+--------------------------------------
 Reporter:  humdinger                |       Owner:  korli         
     Type:  enhancement              |      Status:  new           
 Priority:  normal                   |   Milestone:  R1            
Component:  Applications/StyledEdit  |     Version:  R1/Development
 Keywords:                           |   Blockedby:                
 Platform:  All                      |    Blocking:                
-------------------------------------+--------------------------------------

Comment(by stippi):

 Patch looks good in principle, thanks a lot! I plan to have a look at the
 StyledEdit code tomorrow to see if it fits well, since I am not familar
 with that code base at all... if no one beats me to it. :-)

 BTW, BRect has a Width() and Height() method, and BNode, from which BFile
 inherits, has methods to load and store attributes. I think the code could
 be more elaborate than your version, though. So it's fine as is, even
 though it's a bit POSIXy. Hm... on second thought, you would save the
 close() call by using BFile.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5535#comment:6>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: