Editing Clipboard Transformations
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 25: | Line 25: | ||
Most transformations ( and perhaps all in the future ) do some general processing: | Most transformations ( and perhaps all in the future ) do some general processing: | ||
− | * Break the text into multiple lines using a variety of markers ( see Python splitlines ), | + | * Break the text into multiple lines using a variety of markers ( see Python splitlines ), |
* Delete trailing spaces on each line | * Delete trailing spaces on each line | ||
− | * Joins lines back using a standard line marker ( cmd_processor.line_join ) by default the newline character \n | + | * Joins lines back using a standard line marker ( cmd_processor.line_join ) by default the newline character \n |
* White space is used in the same sense as Python. In includes spaces, tabs \n \r and other characters. | * White space is used in the same sense as Python. In includes spaces, tabs \n \r and other characters. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= Individual Transformations = | = Individual Transformations = | ||
+ | The GUI names should match those below, but use a bit of caution. | ||
− | |||
− | |||
== Add *>url == | == Add *>url == | ||
Line 287: | Line 126: | ||
The return is a tuple | The return is a tuple | ||
− | * First a Boolean, it indicates the success of the operation | + | * First a Boolean, it indicates the success of the operation |
− | * Second a string a comment on the operation | + | * Second a string a comment on the operation |
− | * Third a string, the transformed text | + | * Third a string, the transformed text. |
To learn more about the transforms read the code, then write yours following the conventions in this one. | To learn more about the transforms read the code, then write yours following the conventions in this one. |