Module Expr Str ImportFrom alias ImportFrom alias alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call NameLoad Num Call AttributeLoad AttributeLoad NameLoad attr attr While CompareGtE NameLoad Num body AugAssignDiv NameStore Num AugAssignAdd NameStore Num Assign NameStore BinOpAdd Num BinOpMult Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd CompareEq NameLoad Num AttributeLoad AttributeLoad NameLoad attr attr body If CompareLt NameLoad Num body Assign TupleStore NameStore NameStore NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num AugAssignSub NameStore Num orelse Assign TupleStore NameStore NameStore NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num AugAssignAdd NameStore Num Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Assign NameStore CompareNotEq NameLoad NameLoad Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore NameStore AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpOr BoolOpAnd NameLoad CompareLtELtE NameLoad NameLoad NameLoad BoolOpAnd UnaryOpNot NameLoad CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad BinOpAdd NameLoad Num decorator_list decorator_list
N/A N/A 
This module contains the line number panel
 pyqode.core.api.panel Panel pyqode.core.api.utils drift_color TextHelper pyqode.qt QtCore QtGui LineNumberPanel N/A Panel N/A N/A  Displays the document line numbers.  __init__ N/A N/A self N/A N/A N/A N/A N/A Panel __init__ self N/A N/A self scrollable True N/A N/A self _selecting False N/A N/A self _start_line -1 N/A N/A self _sel_start -1 N/A N/A self _line_color_u N/A N/A N/A N/A self palette color N/A N/A QtGui QPalette Disabled N/A N/A QtGui QPalette WindowText N/A N/A self _line_color_s N/A N/A N/A N/A self palette color N/A N/A QtGui QPalette Normal N/A N/A QtGui QPalette WindowText N/A sizeHint N/A N/A self N/A N/A N/A 
        Returns the panel size hint (as the panel is on the left, we only need
        to compute the width
         N/A N/A N/A QtCore QSize N/A N/A self line_number_area_width 50 N/A line_number_area_width N/A N/A self N/A N/A N/A 
        Computes the lineNumber area width depending on the number of lines
        in the document

        :return: Widtg
         N/A digits 1 N/A count N/A max 1 N/A N/A N/A self editor blockCount N/A N/A count 10 N/A N/A count 10 N/A digits 1 N/A space N/A 5 N/A N/A N/A N/A N/A N/A self editor fontMetrics width 9 digits N/A space N/A mousePressEvent N/A N/A self e N/A N/A N/A 
        Starts selecting
         N/A N/A self _selecting True N/A N/A self _sel_start N/A N/A N/A N/A e pos y N/A start end N/A N/A N/A TextHelper N/A self editor line_nbr_from_position N/A self _sel_start N/A N/A self _start_line start N/A N/A N/A N/A TextHelper N/A self editor select_lines start end N/A cancel_selection N/A N/A self N/A N/A N/A 
        Cancels line selection.
         N/A N/A self _selecting False N/A N/A self _sel_start -1 N/A mouseReleaseEvent N/A N/A self event N/A N/A N/A N/A N/A self cancel_selection N/A mouseMoveEvent N/A N/A self e N/A N/A N/A N/A self _selecting N/A N/A end_pos N/A N/A N/A N/A e pos y N/A end_line N/A N/A N/A TextHelper N/A self editor line_nbr_from_position end_pos N/A N/A N/A end_line -1 N/A N/A self editor visible_blocks N/A N/A N/A end_pos 50 N/A N/A N/A _ end_line _ N/A N/A N/A self editor visible_blocks N/A 0 N/A end_line 1 N/A N/A N/A _ end_line _ N/A N/A N/A self editor visible_blocks N/A -1 N/A end_line 1 N/A N/A N/A N/A TextHelper N/A self editor select_lines N/A self _start_line end_line N/A paintEvent N/A N/A self event N/A N/A N/A N/A self _line_color_u N/A drift_color N/A N/A N/A self _background_brush color 250 N/A N/A self _line_color_s N/A drift_color N/A N/A N/A self _background_brush color 280 N/A N/A N/A Panel paintEvent self event N/A N/A N/A self isVisible N/A N/A painter N/A N/A QtGui QPainter self N/A width N/A N/A self width N/A height N/A N/A N/A N/A N/A self editor fontMetrics height N/A font N/A N/A N/A self editor font N/A bold_font N/A N/A N/A self editor font N/A N/A N/A bold_font setBold True N/A pen N/A N/A QtGui QPen N/A self _line_color_u N/A pen_selected N/A N/A QtGui QPen N/A self _line_color_s N/A N/A N/A painter setFont font N/A N/A sel_start sel_end N/A N/A N/A TextHelper N/A self editor selection_range N/A has_sel N/A sel_start sel_end N/A cl N/A N/A N/A TextHelper N/A self editor current_line_nbr N/A N/A top line block N/A N/A self editor visible_blocks N/A N/A N/A N/A has_sel N/A sel_start line sel_end N/A N/A has_sel N/A cl line N/A N/A N/A N/A painter setPen pen_selected N/A N/A N/A painter setFont bold_font N/A N/A N/A N/A painter setPen pen N/A N/A N/A painter setFont font N/A N/A N/A painter drawText -3 top width height N/A N/A QtCore Qt AlignRight N/A str N/A line 1 N/A N/A