The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniOutliner 3 for Mac (http://forums.omnigroup.com/forumdisplay.php?f=9)
-   -   2 problems when copying and pasting OO3 outlines as text (http://forums.omnigroup.com/showthread.php?t=26721)

RobTrew 2012-11-01 06:30 AM

2 problems when copying and pasting OO3 outlines as text
 
Copy/Paste works well for pasting within 003, but there are a couple of problems with pasting indented text from 003:
[LIST=1][*]Wrapped lines are broken (LF inserted at the wrap), and[*]indents are translated to spaces rather than tabs.[/LIST]
Would it be possible (in OO4, for example) for the text content of the pasteboard not to break wrapped lines (inserting LF) when we copy OO3 outlines ?

This would then make it possible to solve problem [B]2.[/B] above using something like Keyboard Maestro assignments to modify the copied text before it is pasted, with bash lines like:
[CODE]pbpaste | unexpand -a -t 4 | pbcopy[/CODE]

(to translate the sequence of 4 spaces into tabs) or

[CODE]pbpaste | unexpand -a -t 4 | perl -pe 's/^(\s*)(\S)/$1- $2/' | pbcopy[/CODE]

(to also add hyphen bullets in the Markdown style).

A problem with space indentations is that some applications don't recognise these leading spaces as indents. Markdown editors, for example, will interpret all such lines as code.


All times are GMT -8. The time now is 04:37 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.