Class: QDA::GUI::FindableText::UsefulFindReplaceData

Inherits:
Wx::FindReplaceData
  • Object
show all
Defined in:
lib/weft/wxgui/controls/textcontrols.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#flagsObject

Returns the value of attribute flags.



165
166
167
# File 'lib/weft/wxgui/controls/textcontrols.rb', line 165

def flags
  @flags
end

Instance Method Details

#down?Boolean

Returns:

  • (Boolean)


166
167
168
# File 'lib/weft/wxgui/controls/textcontrols.rb', line 166

def down?
  ! up?
end

#matchcase?Boolean

Returns:

  • (Boolean)


178
179
180
# File 'lib/weft/wxgui/controls/textcontrols.rb', line 178

def matchcase?
  ! no_matchcase?
end

#no_matchcase?Boolean

Returns:

  • (Boolean)


174
175
176
# File 'lib/weft/wxgui/controls/textcontrols.rb', line 174

def no_matchcase?
  ( flags & Wx::FR_MATCHCASE).zero?
end

#up?Boolean

Returns:

  • (Boolean)


170
171
172
# File 'lib/weft/wxgui/controls/textcontrols.rb', line 170

def up?
  ( flags & Wx::FR_DOWN ).zero?
end