Editorial Workflows

MOVE DOWN

public workflow

Install Workflow

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: MOVE DOWN: move selected line(s) down 1 row

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Document Text ?
Folded Text
  • Include
  • Replace with:
Count ?
What to Count:
  • Words
  • Sentences
  • Lines
  • Characters
Set Variable ?
Variable Name
nAllChars
Value
Input
Extend Selection ?
Direction
  • Backward
  • Forward
  • Both
Unit
  • Start/End of Document
  • Start/End of Line
  • Number of Characters...
1
Set Variable ?
Variable Name
nEnd
Value
Sel. Range: End
If… ?
Run the block if
nEnd
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
nAllChars
Set Variable ?
Variable Name
nStart
Value
Sel. Range: Start
Math ?
Expression
nEnd-nStart
On Error
  • Stop Workflow
  • Output "ERROR"
Result
  • Pass to Next Action
  • Store in Variable:
nBlockChars
Set Variable ?
Variable Name
strBlock
Value
Selected Text
Move Caret ?
Direction
  • Backward
  • Forward
  • Start/End of Document
  • Start/End of Line
  • Number of Characters:
1
Move Caret ?
Direction
  • Backward
  • Forward
  • Start/End of Document
  • Start/End of Line
  • Number of Characters:
1
Extend Selection ?
Direction
  • Backward
  • Forward
  • Both
Unit
  • Start/End of Document
  • Start/End of Line
  • Number of Characters...
1
Set Variable ?
Variable Name
strNextLine
Value
Selected Text
Set Variable ?
Variable Name
nNextEnd
Value
Sel. Range: End
Select Range ?
Range (from:to)
nStart:nNextEnd
Relative to
  • Entire Document
  • Current Selection
Replace Selected Text ?
Replacement Text
strNextLine strBlock
Select Range ?
Range (from:to)
nNextEnd-nBlockChars:nNextEnd
Relative to
  • Entire Document
  • Current Selection
…End If