Class: Fox::FXTextChange
- Inherits:
-
Object
- Object
- Fox::FXTextChange
- Defined in:
- rdoc-sources/FXText.rb
Overview
Text mutation callback data passed with the SEL_INSERTED, SEL_REPLACED, and SEL_DELETED messages; both old and new text is available on behalf of the undo system as well as syntax highlighting.
Instance Attribute Summary collapse
-
#del ⇒ Object
Text deleted at pos [String].
-
#ins ⇒ Object
Text inserted at pos [String].
-
#ndel ⇒ Object
Number of characters deleted at pos [Integer].
-
#nins ⇒ Object
Number of characters inserted at pos [Integer].
-
#pos ⇒ Object
Position in buffer [Integer].
Instance Attribute Details
#del ⇒ Object
Text deleted at pos [String]
51 52 53 |
# File 'rdoc-sources/FXText.rb', line 51 def del @del end |
#ins ⇒ Object
Text inserted at pos [String]
48 49 50 |
# File 'rdoc-sources/FXText.rb', line 48 def ins @ins end |
#ndel ⇒ Object
Number of characters deleted at pos [Integer]
42 43 44 |
# File 'rdoc-sources/FXText.rb', line 42 def ndel @ndel end |
#nins ⇒ Object
Number of characters inserted at pos [Integer]
45 46 47 |
# File 'rdoc-sources/FXText.rb', line 45 def nins @nins end |
#pos ⇒ Object
Position in buffer [Integer]
39 40 41 |
# File 'rdoc-sources/FXText.rb', line 39 def pos @pos end |