Flowdock
v1_9_2_180 - Show latest stable - 0 notes - Superclass: Object

Manages changes of attributes in a block of text

Constants

NULL = "\000".freeze

A_PROTECT = 004

PROTECT_ATTR = A_PROTECT.chr # :nodoc:

Attributes

[R] matching_word_pairs

This maps delimiters that occur around words (such as bold or tt) where the start and end delimiters and the same. This lets us optimize the regexp

[R] word_pair_map

And this is used when the delimiters aren’t the same. In this case the hash maps a pattern to the attribute character

[R] html_tags

This maps HTML tags to the corresponding attribute char

[R] protectable

A \ in front of a character that would normally be processed turns off processing. We do this by turning < into <#{PROTECT}

[R] special

And this maps special sequences to a name. A special sequence is something like a WikiWord

Show files where this class is defined (1 file)
Register or log in to add new notes.