Hello Abhinay,

> I was wondering if its possible to use NSTextView for top-down editing. I 
> could not find a method to set it to top down.
NSTextView currently does not support the vertical text editing.

> this results in a split caret with top half caret at extreme left and bottom 
> half at extreme right and any character typed appears to the right. I want 
> the new character appended to the left.
The Text System is handling bidirectional scripts based on the Unicode Bidi 
Algorithm.
With the specification, the position of a character is determined by the 
character's Bidi property.

For example, characters inside right-to-left words always flow to the left, and 
left-to-right words to the right.

The base writing direction API controls the general text flow direction in the 
paragraph.  It affects the relationships between words, but not characters 
inside each word.

This is, of course, an over-simplification (there are more to the 
specification), but you get the idea.

Aki

On 2010/07/02, at 4:44, Abhinay Kartik Reddyreddy wrote:

> Hi,
> 
> I was wondering if its possible to use NSTextView for top-down editing. I 
> could not find a method to set it to top down.
> 
> Also how do i get the right to left editing working properly.... 
> 
> [myTextView setBaseWritingDirection:NSWritingDirectionRightToLeft];
> 
> this results in a split caret with top half caret at extreme left and bottom 
> half at extreme right and any character typed appears to the right. I want 
> the new character appended to the left.
> 
> Thanks,
> Abhinay._______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/aki%40apple.com
> 
> This email sent to a...@apple.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to