Robot Framework Integrated Development Environment (RIDE)
robotide.editor.clipboard._GridClipboard Class Reference

Implements a "smart" clipboard. More...

Public Member Functions

def get_contents (self)
 Gets contents of the clipboard. More...
 
def set_contents (self, data)
 Insert data to the system clipboard. More...
 

Private Member Functions

def _format_data (self, data)
 
def _get_contents (self)
 
def _split_string_from_tabs_and_newlines (self, string)
 

Detailed Description

Implements a "smart" clipboard.

Definition at line 124 of file clipboard.py.

Member Function Documentation

◆ _format_data()

def robotide.editor.clipboard._GridClipboard._format_data (   self,
  data 
)
private

Definition at line 142 of file clipboard.py.

◆ _get_contents()

def robotide.editor.clipboard._GridClipboard._get_contents (   self)
private

Definition at line 156 of file clipboard.py.

◆ _split_string_from_tabs_and_newlines()

def robotide.editor.clipboard._GridClipboard._split_string_from_tabs_and_newlines (   self,
  string 
)
private

Definition at line 166 of file clipboard.py.

◆ get_contents()

def robotide.editor.clipboard._GridClipboard.get_contents (   self)

Gets contents of the clipboard.

    Returns either a string or a list of rows to be pasted into clipboard.

Definition at line 153 of file clipboard.py.

◆ set_contents()

def robotide.editor.clipboard._GridClipboard.set_contents (   self,
  data 
)

Insert data to the system clipboard.

    `data` may be either a string or list of lists representing rows of
    grid data. Other data is ignored

Definition at line 131 of file clipboard.py.


The documentation for this class was generated from the following file: