GetTextFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum GetTextFlags
[<System.Flags>]
type GetTextFlags =
- Inheritance
-
GetTextFlags
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | |
| WithStyles | 1 | Flag for use with getTextAfterCursor(int, int), getTextBeforeCursor(int, int) and getSurroundingText(int, int, int) to have style information returned along with the text. If not set, getTextAfterCursor(int, int) sends only the raw text, without style or other spans. If set, it may return a complex CharSequence of both text and style spans. Editor authors: you should strive to send text with styles if possible, but it is not required. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.