随笔 - 41, 文章 - 8, 评论 - 8, 引用 - 0
数据加载中……

[Python] Leo 翻译 Some Outline Commands

Some outline commands

You can use Leo as fairly typical outliner. Click the expansion box of nodes to show and hide their children.

你可以将 Leo 完全作为一个普通的 outliner 。 点击节点的扩展盒子来显示隐藏它们的子节点。

Play around with some of the commands from the Outline menu or from the minibuffer. The keyboard shortcut and minibuffer key sequence appear in parentheses. Note: as usual, you can use tab completion in the minibuffer.

你可以从 outline 菜单或者 minibuffer 中玩弄一些命令。 键盘的快捷键和 minibuffer 按键总是成对出现。 注意 :和普通的一样,在 minibuffer 中你可以使用 tab 进行补全。

Edit Headline (Ctrl+H or <Alt-x>edit-headline<return>)

Begins editing of the headline text of a node. To end editing, hit <return> or <Ctrl-g>

开始编辑一个节点的 headline 文字。 要结束编辑,输入 <return> 或 <Ctrl-g>

Insert Node (Ctrl+I or <Alt-x>insert-node<return>)

Inserts a new headline into the outline.

往 outline 中插入一个新的 headline 。

Cut Node (Ctrl+Shift+X or <Alt-x>cut-node<return>)

Deletes a node and all its descendants, copying them to the clipboard.

删除一个节点及其所有子节点,然后复制它们到剪贴板。

Paste Node (Ctrl+Shift+V or <Alt-x>paste-node<return>)

Pastes a tree copied by the Cut Node command.

粘贴一个被剪切的树节点。

Copy Node (Ctrl+Shift+C or <Alt-x>copy-node<return>)

Copies a node and all its descendants to clipboard without deleting it from outline. You can copy a tree from one Leo outline to another using Copy Node and Paste Node.

复制一个节点及其所有子节点,但是并不将其删除。 你可以使用 Copy 和 Paste 将一棵树从一个 outline 到另一个 outline 。

Contract or Go Left (Alt-Left-Arrow or <Alt-x>contract-or-go-left<return)

Contracts a node if it is expanded, otherwise selects its parent.

如果一个节点是展开的,那么就将其收缩。否则,选中其父节点。

Expand and Go Right (Alt-Right-Arrow or <Alt-x>expand-and-go-right<return>)

Select a node’s first child, expanding the original node if needed.

选中一个节点的第一个子元素,如果有必要,就展开此节点。

Goto Prev Visible (Alt-Up-Arrow or <Alt-x>goto-prev-visible<return>)

Select the previous visible node.

选中前一个可见的节点。

Goto Next Visible (Alt-Down-Arrow or <Alt-x>goto-next-visible<return>)

Select the next visible node.

选中下一个可见的节点。

Move Up (Ctrl+U or <Alt-x>move-outline-up<return>)

Moves a node up in the outline.

将一个节点上移。

Move Down (Ctrl+D or <Alt-x>move-outline-down<return>)

Moves a node down.

将一个节点下移。

Move Left (Ctrl+L or <Alt-x>move-outline-left<return>)

Moves a node left.

将一个节点左移。

Move Right (Ctrl+R or <Alt-x>move-outline-right<return>)

Moves a node right.

将一个节点右移。

Promote (Ctrl+} or <Alt-x>promote<return>)

Makes all the children of a node to be siblings of the node.

使一个节点的所有子节点与其同级。

Demote (Ctrl+{ or <Alt-x>demote<return>)

Makes all following siblings of a node to be children of the headline.

使一个节点后面的同级节点变为该节点的子节点。

Please experiment with Leo’s outline now. Move around the tree and expand/collapse nodes by pressing Alt + arrow keys. This also moves the focus to tree, so, after pressing Alt + arrow, you can move around by using arrow keys alone. Return the focus to the body control by pressing Enter.

请现在就试试 Leo 的 outline 。 通过 Alt + 箭头在树中上下移动,展开闭合节点。 这也移动了焦点,所以,在按了 Alt + 箭头后, 你可以直接用方向键了。 按 Enter 可以把焦点移回 body 中。

posted on 2012-02-03 12:54 mirguest 阅读(440) 评论(0)  编辑 收藏 引用 所属分类: Python


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理