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 ), -- this is really a search and replace where we replace with \n
+
* 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   -- is this search and replace \n to nothing ( or to space )
+
* 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 =
  
 
== Transformation Types ==
 
== Transformation Types ==
Line 36: Line 38:
 
=== Search and Replace ===
 
=== Search and Replace ===
 
* Search and replace ( some fixed one adjustable )
 
* Search and replace ( some fixed one adjustable )
* do we want a join lines adjustable ??
 
 
* Advanced search and replace, almost search and replace but....
 
* Advanced search and replace, almost search and replace but....
=== Line Operations ===
+
=== Search and Replace ===
 
* Line operations, do something to lines, some work on pairs of lines
 
* Line operations, do something to lines, some work on pairs of lines
Add *>url
 
Add *>shell
 
 
=== Pair Line Operations ===
 
 
 
=== Table of Transfromations ===
 
 
{| class="wikitable"
 
|-valign="top"
 
|What
 
|Does What
 
|Search/Replace
 
|Line Op
 
|Pair Line Op
 
|Command Op
 
|Wiki
 
<!-------------------------------->
 
|-valign="top"
 
|Add *>url
 
|Adds text "*>url" to each line.
 
|X
 
|
 
|
 
|X
 
|
 
<!-------------------------------->
 
|-valign="top"
 
|Add *>shell
 
|Adds text "*>shell" to each line.
 
|X
 
|
 
|
 
|X
 
|
 
<!-------------------------------->
 
|-valign="top"
 
|Alt Line Sort 0
 
|Sorts line pairs using 0 line as key
 
|
 
|
 
|X
 
|
 
|
 
<!-------------------------------->
 
|-valign="top"
 
|CAP
 
|upper case all
 
|X*
 
|
 
|
 
|
 
|
 
<!-------------------------------->
 
|-valign="top"
 
|lower
 
|lower case all
 
|X*
 
|
 
|
 
|
 
|
 
<!-------------------------------->
 
|-valign="top"
 
|Less WS
 
|All white space to single space
 
|X*
 
|
 
|
 
|
 
|
 
<!-------------------------------->
 
|-valign="top"
 
|Line Num
 
|Number the lines
 
|
 
|
 
|X
 
|
 
|
 
<!-------------------------------->
 
|-valign="top"
 
|No Blank Lines
 
|
 
|X
 
|
 
|
 
|
 
|
 
<!-------------------------------->
 
|-valign="top"
 
|No Trail Space
 
|
 
|X
 
|
 
|
 
|
 
|
 
<!-------------------------------->
 
|-valign="top"
 
|No WS
 
|X*
 
|
 
|
 
|
 
|
 
|
 
<!-------------------------------->
 
|-valign="top"
 
|Add *new
 
|
 
|
 
|
 
|
 
|
 
|
 
<!-------------------------------->
 
|-valign="top"
 
|Add *new
 
|
 
|
 
|
 
|
 
|
 
|
 
<!-------------------------------->
 
|-valign="top"
 
|Add *new
 
|
 
|
 
|
 
|
 
|
 
|
 
<!-------------------------------->
 
<!--------------------------------
 
<!--------------------------------
 
<!-------------------------------->
 
|}
 
 
 
=== Application View ===
 
=== Application View ===
 
* Text Edit
 
* Text Edit
 
* Wiki work
 
* Wiki work
 
* Command building
 
* Command building
 
 
 
 
 
 
= Individual Transformations =
 
  
  

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)