org.eclipse.swt.custom.BidiSegmentEvent

Copyright (c) 2000, 2008 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html

Contributors: IBM Corporation - initial API and implementation Port to the D programming language: Frank Benoit <benoit@tionex.de>

Members

Classes

BidiSegmentEvent
class BidiSegmentEvent

This event is sent to BidiSegmentListeners when a line is to be measured or rendered in a bidi locale. The segments field is used to specify text ranges in the line that should be treated as separate segments for bidi reordering. Each segment will be reordered and rendered separately. <p> The elements in the segments field specify the start offset of a segment relative to the start of the line. They must follow the following rules: <ul> <li>first element must be 0 <li>elements must be in ascending order and must not have duplicates <li>elements must not exceed the line length </ul> In addition, the last element may be set to the end of the line but this is not required.

Meta