Package rekall :: Package ui :: Module text :: Class Cell
[frames] | no frames]

Class Cell

source code


A cell for text, knows how to wrap, preserve paragraphs and colorize.

Instance Methods
 
__init__(self, value='', highlights=None, colorizer=None, padding=0, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
justify_line(self, line) source code
 
highlight_line(self, line, offset, last_highlight) source code
 
rebuild(self) source code
 
dirty(self) source code
 
rewrap(self, width=None, align=None, **_) source code
 
append_line(self, line) source code
 
__repr__(self)
repr(x)
source code
 
__iter__(self) (Inherited from rekall.ui.text.BaseCell) source code
 
__unicode__(self) (Inherited from rekall.ui.text.BaseCell) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  mode = 'stretch' (Inherited from rekall.ui.text.BaseCell)
  width_explicit = False (Inherited from rekall.ui.text.BaseCell)
Properties
  height
The number of chars this Cell takes in height.
  align (Inherited from rekall.ui.text.BaseCell)
  lines (Inherited from rekall.ui.text.BaseCell)
  width (Inherited from rekall.ui.text.BaseCell)

Inherited from object: __class__

Method Details

__init__(self, value='', highlights=None, colorizer=None, padding=0, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

rebuild(self)

source code 
Overrides: BaseCell.rebuild

dirty(self)

source code 
Overrides: BaseCell.dirty

rewrap(self, width=None, align=None, **_)

source code 
Overrides: BaseCell.rewrap

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Property Details

height

The number of chars this Cell takes in height.

Get Method:
unreachable.height(self) - The number of chars this Cell takes in height.