?? edit.h
字號:
#ifndef __EDIT_H__
#define __EDIT_H__
#include "Const.h"
#include "Menu.h"
#include "Window.h"
#include "Type.h"
#include "MenuVal.h"
#include "Common.h"
// Edit.cpp包含的函數(shù)
void EditProgram(int &, int &);
void ChangeMode(const Mode);
void ShowInsert(const int);
void PressDel();
void PressBackSpace();
void PressMenuLetterKey(const int, int &);
void PressRight();
void PressLeft();
void PressUp();
void PressDown();
void PressPageUp();
void PressPageDown();
void PressCtrlPageUp();
void PressCtrlPageDown();
void PressCtrlY();
void PressEnter();
void PressTab();
void PressText(const int);
int NextTab(const int);
int PreviousTab(const int);
// 外部調(diào)用的函數(shù)
extern void Receive(int &);
extern ErrorType CheckLine(const char []);
extern void ShowPosition();
extern void Explain(const int, const int);
extern void PrintMessages();
extern void ShowSaved(const int);
extern void PrintText(const int);
extern void StandardizeLine(const int);
extern bool IsIndent(const int);
extern void SetCursor();
// 系統(tǒng)狀態(tài)(編輯狀態(tài),菜單狀態(tài))
Mode SystemMode = EditMode;
// 菜單打開標(biāo)志
bool MenuOn;
// 外部引用的變量
extern int TextX;
extern int TextY;
extern int NowX;
extern int NowY;
extern int EndLine;
extern char TextMirror[4096];
extern int TabStart[MaxY];
extern bool Insert;
extern Window winEdit;
extern Menu mnuCool[Menu::TotMenu];
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -