[openbeos] Re: StyledEdit news of various interest
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Thu, 24 Jul 2003 04:12:35 +0200 CEST
"Ingo Weinhold" <bonefish@xxxxxxxxxxxxxxx> wrote:
> > OBOS StyledEdit now stands as an example of how to use this
> > functionality. I'm hoping that
> > something like this could be made a standard through beunited.
> > However I don't really hope
> > that this particular interface/implementation makes it. :-)
> Well, if the naming and some details would be adjusted to be more
> BeOS-
> like, I think, it can go into our libbe as a private API for the time
> being. :-)
I also like libtranslation.so better.
> > Also, the set of character sets is hard-coded into
> > CharacterSet.cpp.
> > I think it would be superior to have it read from a file.
> Sure. BTW, this sounds like another service, that could be provided
> by
> the registrar. Then the application doesn't need to parse the file,
> but
> would get the data from the registrar.
Why not just have it hard-coded in libtranslation.so? Or is there any
other way of adding other character sets without replacing that
library?
It could build that table on compilation time automatically. Where is
the point in having that info in a text file somewhere?
> > In my opinion this functionality probably should be relocated, and
> > moved into existing
> > BTranslationUtils functions or new functions, possibly accepting
> > BFile instead of BPositionIO.
> Or we could extend BPositionIO (or even BDataIO?) the way Dano did,
> by
> {Read,Write}MetaData() methods, which, given the underlying object is
> indeed a BFile, would be mapped to {Read,Write}Attr().
I think this would be the way to go.
Adios...
Axel.
- Follow-Ups:
- [openbeos] Re: StyledEdit news of various interest
- From: Ingo Weinhold
- References:
- [openbeos] Re: StyledEdit news of various interest
- From: Ingo Weinhold
Other related posts:
- » [openbeos] StyledEdit news of various interest
- » [openbeos] Re: StyledEdit news of various interest
- » [openbeos] Re: StyledEdit news of various interest
- » [openbeos] Re: StyledEdit news of various interest
- » [openbeos] Re: StyledEdit news of various interest
- » [openbeos] Re: StyledEdit news of various interest
- » [openbeos] Re: StyledEdit news of various interest
- » [openbeos] Re: StyledEdit news of various interest
- » [openbeos] Re: StyledEdit news of various interest
- » [openbeos] Re: StyledEdit news of various interest
- » [openbeos] Re: StyledEdit news of various interest
- » [openbeos] Re: StyledEdit news of various interest
- » [openbeos] Re: StyledEdit news of various interest
- » [openbeos] Re: StyledEdit news of various interest
- » [openbeos] Re: StyledEdit news of various interest
- [openbeos] Re: StyledEdit news of various interest
- From: Ingo Weinhold
- [openbeos] Re: StyledEdit news of various interest
- From: Ingo Weinhold