docs
Loading...
Searching...
No Matches
Editor.h

Classes

struct  EditableState
 The conditions that decide whether an input method should be active. More...
struct  CompositionRange
 A range of characters within a composition's text (see CompositionSegment and Editor::SetComposition()). More...
struct  CompositionSegment
 Styling for one segment of a composition's text (see Editor::SetComposition()). More...
class  Editor
 Text-editing interface for a View. More...

Namespaces

namespace  ultralight
 Root namespace for every public Ultralight type, function, and enumeration.

Enumerations

enum class  EditorCommand : uint8_t {
  Cut = 0 , Copy , Paste , PasteAsPlainText ,
  SelectAll , Undo , Redo , MoveLeft ,
  MoveRight , MoveUp , MoveDown , MoveWordLeft ,
  MoveWordRight , MoveToBeginningOfLine , MoveToEndOfLine , MoveToBeginningOfParagraph ,
  MoveToEndOfParagraph , MoveToBeginningOfDocument , MoveToEndOfDocument , MovePageUp ,
  MovePageDown , MoveLeftAndModifySelection , MoveRightAndModifySelection , MoveUpAndModifySelection ,
  MoveDownAndModifySelection , MoveWordLeftAndModifySelection , MoveWordRightAndModifySelection , MoveToBeginningOfLineAndModifySelection ,
  MoveToEndOfLineAndModifySelection , MoveToBeginningOfParagraphAndModifySelection , MoveToEndOfParagraphAndModifySelection , MoveToBeginningOfDocumentAndModifySelection ,
  MoveToEndOfDocumentAndModifySelection , MovePageUpAndModifySelection , MovePageDownAndModifySelection , SelectWord ,
  SelectLine , SelectParagraph , Unselect , DeleteBackward ,
  DeleteForward , DeleteWordBackward , DeleteWordForward , DeleteToBeginningOfLine ,
  DeleteToEndOfLine , InsertNewline , InsertLineBreak , InsertTab ,
  InsertBacktab
}
 The editing commands you can run with Editor::Execute(). More...
enum class  EditableType : uint8_t {
  None = 0 , Text , Password , TextArea ,
  ContentEditable , Other
}
 The kind of element that holds keyboard focus (see EditableState). More...
enum class  InputMode : uint8_t {
  Unspecified = 0 , None , Text , Telephone ,
  Url , Email , Numeric , Decimal ,
  Search
}
 The focused element's inputmode hint (what kind of virtual keyboard the page asks for). More...
enum class  EnterKeyHint : uint8_t {
  Unspecified = 0 , Enter , Done , Go ,
  Next , Previous , Search , Send
}
 The focused element's enterkeyhint (what label or icon the Enter key should present). More...

Go to the source code of this file.