parameters: (self, cairo_context, codebox_layout, x0, y0)
docstring: Draw the code inside of the Box
docstring_summary: Draw the code inside of the Box
docstring_tokens: Draw the code inside of the Box
function: def codebox_draw_code(self, cairo_context, codebox_layout, x0, y0):
          """Draw the code inside of the Box"""
          cairo_context.set_source_rgb(0, 0, 0)
          y = y0
          num_layout_lines = codebox_layout.get_line_count()
          for layout_line_idx in range(num_layout_lines):
              layout_line = codebox_layout.get_line(layout_line_idx)
              line_width, line_height = self.layout_line_get_width_height(layout_line)
              cairo_context.move_to(x0 + cons.GRID_SLIP_OFFSET, y + line_height)
              y += line_height
              cairo_context.show_layout_line(layout_line)
function_tokens: def codebox_draw_code ( self , cairo_context , codebox_layout , x0 , y0 ) : cairo_context . set_source_rgb ( 0 , 0 , 0 ) y = y0 num_layout_lines = codebox_layout . get_line_count ( ) for layout_line_idx in range ( num_layout_lines ) : layout_line = codebox_layout . get_line ( layout_line_idx ) line_width , line_height = self . layout_line_get_width_height ( layout_line ) cairo_context . move_to ( x0 + cons . GRID_SLIP_OFFSET , y + line_height ) y += line_height cairo_context . show_layout_line ( layout_line )