[openbeos] Re: StyledEdit news of various interest

  • From: "Andrew Bachmann" <shatty@xxxxxxxxxxxxx>
  • To: "theUser BL" <theuserbl@xxxxxxxxxxx>
  • Date: Tue, 22 Jul 2003 20:52:37 -0700 PDT

"theUser BL" <theuserbl@xxxxxxxxxxx> wrote:
> If I click on a text-file and the Be-SteledEdit is on its place, the 
> text-file opend direct in a StyledEdit-Window.
> But if I replace the Be-version of it with the OBOS-Version, then there only 
> opend a Window of OBOS StyledEdit, that I have to choose a text-file to 
> open. And so I must search for this file, on what I have clicked before.

I don't recall seeing this behavior ever.  However, I did make some changes
relating to starting StyledEdit by opening files, etc.  Most of these were
related to command-line invokation.  In any case, it seems to work fine here.

Btw I highly encourage people to look at the implementation of
StyledEditApp::DispatchMessage and also StyledEditApp::ArgvReceived.
These have been enhanced to pass along the current working directory
from the B_ARGV_RECEIVED message.  This is very important when
resolving relative paths passed in via command-line invokation.  IMHO,
this behavior is possibly even worth implementing in an R2 BApplication.

> The same problem exists with ShowImage.

I can't speak for ShowImage though.

> I don't know if this is already fixed. But for some month there existing 
> this problem.

Thanks for reporting it.

Andrew



Other related posts: