pub enum StyledTextCtrlEvent {
Show 28 variants
Change,
StyleNeeded,
CharAdded,
SavePointReached,
SavePointLeft,
RoModifyAttempt,
DoubleClick,
UpdateUI,
Modified,
MacroRecord,
MarginClick,
NeedShown,
Painted,
UserListSelection,
DwellStart,
DwellEnd,
StartDrag,
DragOver,
DoDrop,
Zoom,
HotspotClick,
HotspotDoubleClick,
CallTipClick,
AutoCompSelection,
IndicatorClick,
IndicatorRelease,
AutoCompCancelled,
AutoCompCharDeleted,
}Expand description
Events emitted by StyledTextCtrl
Variants§
Change
The text has changed
StyleNeeded
A style is needed for a range of text
CharAdded
A character has been added to the text
SavePointReached
The save point has been reached
SavePointLeft
The save point has been left
RoModifyAttempt
An attempt was made to change read-only text
DoubleClick
The text was double-clicked
UpdateUI
The UI needs to be updated
Modified
The text has been modified
MacroRecord
A macro recording event
MarginClick
A margin was clicked
NeedShown
Text needs to be shown
Painted
The control has been painted
UserListSelection
A user list selection was made
DwellStart
Mouse dwelling started
DwellEnd
Mouse dwelling ended
StartDrag
Drag operation started
DragOver
Drag operation over the control
DoDrop
Drop operation completed
Zoom
Zoom level changed
HotspotClick
A hotspot was clicked
HotspotDoubleClick
A hotspot was double-clicked
CallTipClick
A call tip was clicked
AutoCompSelection
An autocompletion selection was made
IndicatorClick
An indicator was clicked
IndicatorRelease
An indicator was released
AutoCompCancelled
Autocompletion was cancelled
AutoCompCharDeleted
A character was deleted from autocompletion
Trait Implementations§
Source§impl Clone for StyledTextCtrlEvent
impl Clone for StyledTextCtrlEvent
Source§fn clone(&self) -> StyledTextCtrlEvent
fn clone(&self) -> StyledTextCtrlEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for StyledTextCtrlEvent
Source§impl Debug for StyledTextCtrlEvent
impl Debug for StyledTextCtrlEvent
impl Eq for StyledTextCtrlEvent
Source§impl PartialEq for StyledTextCtrlEvent
impl PartialEq for StyledTextCtrlEvent
Source§fn eq(&self, other: &StyledTextCtrlEvent) -> bool
fn eq(&self, other: &StyledTextCtrlEvent) -> bool
self and other values to be equal, and is used by ==.