Robot Framework Integrated Development Environment (RIDE)
robotide.lib.robot.utils.text Namespace Reference

Functions

def _count_line_lengths (lines)
 
def _count_virtual_line_length (line)
 
def _cut_long_line (line, used, from_end)
 
def _dict_to_str (d)
 
def _get_arg_separator_index_from_name_or_path (name)
 
def _lose_width (text, diff)
 
def _pad_width (text, width)
 
def _prune_excess_lines (lines, lengths, from_end=False)
 
def cut_long_message (msg)
 
def format_assign_message (variable, value, cut_long=True)
 
def get_console_length (text)
 
def getdoc (item)
 
def getshortdoc (doc_or_item, linesep='\n')
 
def pad_console_length (text, width)
 
def split_args_from_name_or_path (name)
 
def split_tags_from_doc (doc)
 

Variables

string _ERROR_CUT_EXPLN
 
int _MAX_ASSIGN_LENGTH
 
int _MAX_ERROR_LINE_LENGTH
 
 _TAGS_RE
 
int MAX_ERROR_LINES = 40
 

Function Documentation

◆ _count_line_lengths()

def robotide.lib.robot.utils.text._count_line_lengths (   lines)
private

Definition at line 84 of file text.py.

◆ _count_virtual_line_length()

def robotide.lib.robot.utils.text._count_virtual_line_length (   line)
private

Definition at line 87 of file text.py.

◆ _cut_long_line()

def robotide.lib.robot.utils.text._cut_long_line (   line,
  used,
  from_end 
)
private

Definition at line 74 of file text.py.

◆ _dict_to_str()

def robotide.lib.robot.utils.text._dict_to_str (   d)
private

Definition at line 101 of file text.py.

◆ _get_arg_separator_index_from_name_or_path()

def robotide.lib.robot.utils.text._get_arg_separator_index_from_name_or_path (   name)
private

Definition at line 145 of file text.py.

◆ _lose_width()

def robotide.lib.robot.utils.text._lose_width (   text,
  diff 
)
private

Definition at line 124 of file text.py.

◆ _pad_width()

def robotide.lib.robot.utils.text._pad_width (   text,
  width 
)
private

Definition at line 120 of file text.py.

◆ _prune_excess_lines()

def robotide.lib.robot.utils.text._prune_excess_lines (   lines,
  lengths,
  from_end = False 
)
private

Definition at line 57 of file text.py.

◆ cut_long_message()

def robotide.lib.robot.utils.text.cut_long_message (   msg)

Definition at line 46 of file text.py.

◆ format_assign_message()

def robotide.lib.robot.utils.text.format_assign_message (   variable,
  value,
  cut_long = True 
)

Definition at line 94 of file text.py.

◆ get_console_length()

def robotide.lib.robot.utils.text.get_console_length (   text)

Definition at line 108 of file text.py.

◆ getdoc()

def robotide.lib.robot.utils.text.getdoc (   item)

Definition at line 171 of file text.py.

◆ getshortdoc()

def robotide.lib.robot.utils.text.getshortdoc (   doc_or_item,
  linesep = '\n' 
)

Definition at line 181 of file text.py.

◆ pad_console_length()

def robotide.lib.robot.utils.text.pad_console_length (   text,
  width 
)

Definition at line 112 of file text.py.

◆ split_args_from_name_or_path()

def robotide.lib.robot.utils.text.split_args_from_name_or_path (   name)

Definition at line 132 of file text.py.

◆ split_tags_from_doc()

def robotide.lib.robot.utils.text.split_tags_from_doc (   doc)

Definition at line 158 of file text.py.

Variable Documentation

◆ _ERROR_CUT_EXPLN

robotide.lib.robot.utils.text._ERROR_CUT_EXPLN
private

Definition at line 39 of file text.py.

◆ _MAX_ASSIGN_LENGTH

robotide.lib.robot.utils.text._MAX_ASSIGN_LENGTH
private

Definition at line 31 of file text.py.

◆ _MAX_ERROR_LINE_LENGTH

robotide.lib.robot.utils.text._MAX_ERROR_LINE_LENGTH
private

Definition at line 35 of file text.py.

◆ _TAGS_RE

robotide.lib.robot.utils.text._TAGS_RE
private

Definition at line 43 of file text.py.

◆ MAX_ERROR_LINES

int robotide.lib.robot.utils.text.MAX_ERROR_LINES = 40

Definition at line 27 of file text.py.