65 lines
1.6 KiB
Plaintext
65 lines
1.6 KiB
Plaintext
PopUp("WSInit(\"::/TempleOS/*;~*Bible.TXT*\");");
|
|
WordStat(ON);
|
|
Sleep(3500);
|
|
|
|
//This puts the cursor at the bottom
|
|
Msg(MSG_KEY_DOWN,0,SC_CURSOR_DOWN|SCF_CTRL);
|
|
"\nCd(\"::/TempleOS/Demo\");\n";
|
|
|
|
PopUpOk(
|
|
"WordStat is an autocomplete feature\n"
|
|
"which will also jump to source code.\n"
|
|
"The function keys work with code, while\n"
|
|
"the num keys work with the dictionary.\n\n"
|
|
"We will now place some text on the command\n"
|
|
"line and jump to source code.\n");
|
|
|
|
"MakeOS";
|
|
|
|
Sleep(1000);
|
|
|
|
PopUpOk(
|
|
"After clicking $$FG,GREEN$$[OKAY]$$FG$$, look at\n"
|
|
"the $$FG,GREEN$$MakeOSInstallPrtBootLoader$$FG$$ entry\n"
|
|
"in the WordStat window. Notice it\n"
|
|
"has a '$$FG,GREEN$$*$$FG$$' by it. This means\n"
|
|
"a source code link is available.\n");
|
|
Sleep(3000);
|
|
|
|
PopUpOk(
|
|
"$$FG,GREEN$$<CTRL-SHIFT-F1>$$FG$$ to jump to source code.\n");
|
|
AFGetKey(SC_F1|SCF_CTRL|SCF_SHIFT);
|
|
Sleep(500);
|
|
|
|
PopUpOk(
|
|
"$$FG,GREEN$$<SHIFT-ESC>$$FG$$ to abort the source code.\n");
|
|
AFUntilChar(CH_SHIFT_ESC,CH_ESC);
|
|
Sleep(100);
|
|
sys_focus_task=Fs;
|
|
|
|
PopUpOk(
|
|
"Press $$FG,GREEN$$<CTRL-F1>$$FG$$ to autocomplete.\n");
|
|
AFGetKey(SC_F1|SCF_CTRL);
|
|
Sleep(500);
|
|
|
|
Msg(MSG_KEY_DOWN,'\n',SCF_CTRL|SCF_SHIFT);
|
|
"\n";
|
|
|
|
PopUpOk(
|
|
"Tip: You can restart the WordStat window if you\n"
|
|
"have closed it by pressing $$FG,GREEN$$<CTRL-F1>$$FG$$.\n");
|
|
|
|
PopUpOk(
|
|
"You can also use the $$FG,GREEN$$Man()$$FG$$ function\n"
|
|
"to jump to source code. (I use WordStat.)\n"
|
|
"The $$FG,GREEN$$Man()$$FG$$ is good for short symbol names\n"
|
|
"or when inside the debugger.\n");
|
|
AFPrint(,"Man(\"MakeOSInstallPrtBootLoader\");");
|
|
Sleep(1000);
|
|
"\n";
|
|
|
|
Sleep(2000);
|
|
PopUpOk(
|
|
"$$FG,GREEN$$<SHIFT-ESC>$$FG$$ to abort the source code.\n");
|
|
AFUntilChar(CH_SHIFT_ESC,CH_ESC);
|