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.



157
158
159
# File 'lib/weft/wxgui/controls/textcontrols.rb', line 157

def flags
  @flags
end

Instance Method Details

#down?Boolean

Returns:

  • (Boolean)


158
159
160
# File 'lib/weft/wxgui/controls/textcontrols.rb', line 158

def down?
  ! up?
end

#matchcase?Boolean

Returns:

  • (Boolean)


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

def matchcase?
  ! no_matchcase?
end

#no_matchcase?Boolean

Returns:

  • (Boolean)


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

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

#up?Boolean

Returns:

  • (Boolean)


162
163
164
# File 'lib/weft/wxgui/controls/textcontrols.rb', line 162

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