
|
[openbeos]
||
[Date Prev]
[12-2002 Date Index]
[Date Next]
||
[Thread Prev]
[12-2002 Thread Index]
[Thread Next]
[openbeos] Re: StyledEdit and character set encodings
- From: Kobi Lurie <k_lurie@xxxxxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Mon, 02 Dec 2002 20:02:14 +0200
shatty wrote:
Hello Guy,
The issue of character set encodings is largely orthogonal to that
of bi-directional text. Since I have not used bi-directional text I do
not understand what interface conventions are most appropriate
or common for handling it. Some issues I wonder about:
1. If I write hebrew, presumably the carat should begin on the right-hand
side and move left as I type?
yes.
2. As I type hebrew the text that I have typed should not shift?
no, this only happens in arabic afaik.
the characters are the same, no matter the location.
3. If I look at a hebrew document it is all right-aligned?
should be :)
in windows there are hot keys to right align, left align, switch input
method (english/hebrew)
4. If I look at an english document is is viewed and input as normal?
ofcourse.
5. How are documents with both english and hebrew aligned?
in windows it's aligned to one of the sides, see above for switching.
6. How does the input method interact with the carat during a switch
to/from hebrew?
you see it change visually, to the right or to the left.
7. How is a single line that has both hebrew and english words aligned?
in a mess. hope there's a better solution here.
8. If I have a document in a hebrew encoding is it reasonable to default
to right-aligned display?
yes.
9. Should I make some attempt to determine if the text is english
even though it is the hebrew encoding? (no extended characters
are being used, for example)
i don't understand, do u refer to the font being used for rendering?
10. Should all text editing fields be aligned the same way? (aligning
all to the right regardless of particular encodings, for example?)
it would be wonderful if it would change according to encoding.
i.e . there's an encoding for a passage, and a different one for the
line following.
Also thanks for bringing up the subject as I noticed that the OBOS
stylededit seems to not handle soft wrapping yet, and like the R5
version it suffers from not retaining the text alignment. (a bug IMHO)
Andrew
best regards, andrew and thanks for the effort
kobi
|

|