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) |
Implements a "smart" clipboard.
Definition at line 124 of file clipboard.py.
|
private |
Definition at line 142 of file clipboard.py.
|
private |
Definition at line 156 of file clipboard.py.
|
private |
Definition at line 166 of file clipboard.py.
| 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.
| 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.