我有 Turbo Pascal 3.02 (http://edn.embarcadero.com/article/20792)的免费下载版本,它可以很好地编译 Turbo Pascal 2.0 中的旧代码。 试图弄清楚如何使用内置编辑器。有人记得任何键盘快捷键或知道在线文档吗?
能够保存并退出编辑器可能已经足够了,但我甚至无法理解这一点。
更新:@Glassfrog提供的链接非常有用。以下是该文件中的密钥,对我来说也适用于MS-DOS Turbo Pascal 3.02:
Character left: (arrow)
Character right: (arrow)
Word left: CTRL-A
Word right: CTRL-F
Line up: CTRL-E (or arrow)
Line down: CTRL-X (or arrow)
Scroll up: CTRL-W
Scroll down: CTRL-Z
Page up: CTRL-R
Page down: CTRL-C
To left on line: CTRL-Q CTRL-S
To right of line: CTRL-Q CTRL-D
To top of page: CTRL-Q CTRL-E
To bottom of page: CTRL-Q CTRL-X
To top of file: CTRL-Q CTRL-R
To end of file: CTRL-Q CTRL-C
To beginning of block: CTRL-Q CTRL-B
To end of block: CTRL-Q CTRL-K
To last cursor position: CTRL-Q CTRL-P
Insert mode on/off: CTRL-V
Insert line: CTRL-N
Delete line: CTRL-Y
Delete to end of line: CTRL-Q CTRL-Y
Delete right word: CTRL-T
Delete character under cursor: Ctrl-G (or delete)
Delete left character: (backspace
Mark block begin: CTRL-K CTRL-B
Mark block end: CTRL-K CTRL-K
Mark single word: CTRL-K CTRL-T
Hide/display block: CTRL-K CTRL-H
Copy block: CTRL-K CTRL-C
Move block: CTRL-K CTRL-V
Delete block: CTRL-K CTRL-Y
Read block from disk: CTRL-K CTRL-R
Write block to disk: CTRL-K CTRL-W
End edit: CTRL-K D
Tab: CTRL-I (or tab)
Auto tab on/off (Indent): CTRL-Q CTRL-I
Restore line: CTRL-Q CTRL-L
Find: CTRL-Q CTRL-F
Find & replace: CTRL-Q CTRL-A
Repeat last find: CTRL-L
Control character prefix: CTRL-P
答案 0 :(得分:2)
试试这些
Alt + x
(退出)F2
(保存)F3
(开放)Ctr + F9
(运行)Alt + F9
(编译)Ctrl + Insert
(副本)Ctrl + Delete
(删除)Shift + Insert
(粘贴)Shift + Delete
(剪切)答案 1 :(得分:2)
CTRL-K D 会让你离开编辑器
另请参阅此在线文档: Turbo Pascal Reference Manual Version 3.0 这是CP / M版手册,但我认为这将是一个很好的起点。