我有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
CTRL-K D 会让你离开编辑器
另请查看此在线文档:涡轮帕斯卡参考手册版本 3.0这是CP/M版手册,但我认为这将是一个很好的起点。
试试这些
-
Alt + x
(出口) -
F2
(保存) -
F3
(开放) -
Ctr + F9
(运行) -
Alt + F9
(编译) -
Ctrl + Insert
(副本) -
Ctrl + Delete
(删除) -
Shift + Insert
(粘贴) -
Shift + Delete
(切割)