
373Customizing MATLAB
®
Controls
By default, MATLAB’s editbox uicontrol (EditTextPeer$hgTextField) sets the
Mark to 0 and the Dot to the end of the text, thereby selecting the entire text.
However, this only becomes visible when the editbox receives focus (programmati-
cally, or via keyboard or mouse).
Associated read-only properties X and Y hold the Mark position in pixels;
CenterX and CenterY hold the selection’s midpoint position.
Editboxes also support bidi (RTL) text, via a
javax.swing.text.Position.
Bias
26
object attached to both Dot and Mark. Mixed bidi text can create odd- looking
selections (this is ...