Set second head line text
767868
def set_header(self, msg):
        
        self.s.move(1, 0)
        self.overwrite_line(msg, attr=curses.A_NORMAL)
353290
def fill(self, text=""):
        ""
        self.f.write(self.line_marker + "    " * self._indent + text)
        self.line_marker = "\n"
414862
def set_title(self, title):
        """"""
        self.head.title.attr(content=title)
        return self
605828
public void setHeaderMargin(int l, int t, int r, int b) {
        mHeader.setMargin(l, t, r, b);
    }
539977
def head(path, options = {})
      options = options.merge(:head => true) # No parsing!
      execute('HEAD', path, options)
    end
1069449
def set_placeholder(self, text):
        
        if self._placeholder != text:
            self._placeholder = text
            if not self.hasFocus():
                self.update()
722116
def with_name(self, name):
    """"""
    self._head = self._head.with_name(name)
    return self
950065
def insert_line(self, line):
        """"""
        if self.current_block is not None:
            self.current_block.append(line)
        else:
            self.header.append(line)
1152133
def set_line_text(self, line_nbr, new_text):
        
        editor = self._editor
        text_cursor = self._move_cursor_to(line_nbr)
        text_cursor.select(text_cursor.LineUnderCursor)
        text_cursor.insertText(new_text)
        editor.setTextCursor(text_cursor)
627599
def setLine(self, vehID, line):
        
        self._connection._sendStringCmd(
            tc.CMD_SET_VEHICLE_VARIABLE, tc.VAR_LINE, vehID, line)
128488
def set_text(self, text, length=-1):
        

        Gtk.TextBuffer.set_text(self, text, length)
1166504
function addDescriptionToHead( head, options ) {
  if ( !options || !options.config || typeof options.config.description !== 'string' ) {
    return false;
  }

  if ( !Array.isArray( head.children ) ) {
    head.children = [];
  }
  for ( let i = 0; i < head.children.length; i++ ) {
    const child = head.children[ i ];
    if ( child.type !== Tree.ELEMENT ) continue;
    if ( child.name.toLowerCase() != 'meta' ) continue;
    if ( !child.attribs ) continue;
    if ( typeof child.attribs.name !== 'string' ) continue;
    if ( child.attribs.name.toLowerCase() === 'description' ) {
      // There is already a description. We don't add a new one.
      return false;
    }
  }
  head.children.push( {
    type: Tree.ELEMENT,
    name: 'meta',
    attribs: {
      name: 'description',
      content: options.config.description
    }
  } );
  return true;
}
647249
def setText(self, label, default='', description='Set Text', format='text'):
        

        obj = self.load(label)
        if obj == None:
            obj=default
            self.save(obj, label)  # initialize with default

        textw = Text(value=obj, description=description)
        hndl = interact(self.save, obj=textw, label=fixed(label), format=fixed(format))
206620
def setText(self, sequence):
        """"""
        self.setToolTip(sequence)
        super(ShortcutLineEdit, self).setText(sequence)
179481
def set_title(self, title, subtitle=''):
        """"""
        self.title = title
        self.subtitle = subtitle
368023
def set_title(self, row, column, text):
        
        subplot = self.get_subplot_at(row, column)
        subplot.set_title(text)
511883
def set_lines( lines, target_level, indent_string="    ", indent_empty_lines=False ):
    

    first_non_empty_line_index = _get_first_non_empty_line_index( lines )
    first_line_original_level =  get_line_level( lines[first_non_empty_line_index], indent_string )

    for i in range(first_non_empty_line_index, len(lines)):
        if not indent_empty_lines and lines[i] == "":
            continue

        line_i_unindented = get_line_unindented( lines[i], indent_string )
        line_i_level =      get_line_level( lines[i], indent_string )

        on_second_line_or_later = i > first_non_empty_line_index
        if on_second_line_or_later:
            first_line_final_level = get_line_level( lines[first_non_empty_line_index], indent_string )
            relative_indent_move =   first_line_final_level - first_line_original_level
            target_level =           line_i_level + relative_indent_move

        if line_i_level == target_level:
            continue

        lines[i] = indent_string * target_level + line_i_unindented