Class: Fox::FXTextChange

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#delObject

Text deleted at pos [String]


51
52
53
# File 'rdoc-sources/FXText.rb', line 51

def del
  @del
end

#insObject

Text inserted at pos [String]


48
49
50
# File 'rdoc-sources/FXText.rb', line 48

def ins
  @ins
end

#ndelObject

Number of characters deleted at pos [Integer]


42
43
44
# File 'rdoc-sources/FXText.rb', line 42

def ndel
  @ndel
end

#ninsObject

Number of characters inserted at pos [Integer]


45
46
47
# File 'rdoc-sources/FXText.rb', line 45

def nins
  @nins
end

#posObject

Position in buffer [Integer]


39
40
41
# File 'rdoc-sources/FXText.rb', line 39

def pos
  @pos
end