Sha256: 135cdf221b550d8902ebde5f08771c90ecbb841a2449191fb0b7598911038385
Contents?: true
Size: 928 Bytes
Versions: 12
Compression:
Stored size: 928 Bytes
Contents
--- :wxRichTextFormattingDialog: :detail: :pre: :programlisting: - :pattern: !ruby/regexp /.*/ :replace: | ```ruby range = if @richTextCtrl.has_selection @richTextCtrl.get_selection_range else (0..@richTextCtrl.get_last_position+1) end pages = Wx::RTC::RICHTEXT_FORMAT_FONT|Wx::RTC::RICHTEXT_FORMAT_INDENTS_SPACING| Wx::RTC::RICHTEXT_FORMAT_TABS|Wx::RTC::RICHTEXT_FORMAT_BULLETS Wx::RTC.RichTextFormattingDialog(pages, self) do |formatDlg| formatDlg.GetStyle(m_richTextCtrl, range); if formatDlg.show_modal == Wx::ID_OK formatDlg.apply_style(@richTextCtrl, range) end end ```
Version data entries
12 entries across 12 versions & 1 rubygems