📄 tokens.tok
字号:
[[UIFILE_1]]="Untitled"
#length of " Set colors for the ",
# and " text editor window:"
[[UIOPTNS_1]]=20
# length of " Normal Text ",
# " Current Statement ",
# " Breakpoint Lines "
[[UIOPTNS_2]]=19
# Width of File Pull Down Menu
[[UIRSRCC_1]]=14
[[UIRSRCC_2]]="New"
[[UIRSRCC_3]]="Open..."
[[UIRSRCC_4]]="Save"
[[UIRSRCC_5]]="Save As..."
[[UIRSRCC_6]]="Print..."
[[UIRSRCC_7]]="Exit"
# Length of "open"
[[UIRSRCC_8]]=4
# Length of "Save"
[[UIRSRCC_9]]=4
#Length of "Save As"
[[UIRSRCC_10]]=7
#Length of "Print"
[[UIRSRCC_11]]=5
# Width of Edit Menu
[[UIRSRCC_12]]=20
[[UIRSRCC_13]]="Cut\tShift+Del"
[[UIRSRCC_14]]="Copy\tCtrl+Ins"
[[UIRSRCC_15]]="Paste\tShift+Ins"
[[UIRSRCC_16]]="Clear\tDel"
[[UIRSRCC_17]]="New SUB..."
[[UIRSRCC_18]]="New FUNCTION..."
# Length of "New SUB"
[[UIRSRCC_19]]=7
# Length of "New FUNCTION"
[[UIRSRCC_20]]=12
# Width of View Menu
[[UIRSRCC_21]]=21
[[UIRSRCC_22]]="SUBs...\tF2"
[[UIRSRCC_23]]="Split"
[[UIRSRCC_24]]="Output Screen\tF4"
# width of SUBs
[[UIRSRCC_114]]=4
# Width of Search Menu
[[UIRSRCC_25]]=24
[[UIRSRCC_26]]="Find..."
[[UIRSRCC_27]]="Repeat Last Find\tF3"
[[UIRSRCC_28]]="Change..."
# len of "Find"
[[UIRSRCC_29]]=4
# len of "Repeat Last Find"
[[UIRSRCC_30]]=16
# len of "Change"
[[UIRSRCC_31]]=6
# Width of Run menu
[[UIRSRCC_32]]=19
[[UIRSRCC_33]]="Start\tShift+F5"
[[UIRSRCC_34]]="Restart"
[[UIRSRCC_35]]="Continue\tF5"
# width of Debug menu
[[UIRSRCC_36]]=27
[[UIRSRCC_37]]="Step\tF8"
[[UIRSRCC_38]]="Procedure Step\tF10"
[[UIRSRCC_39]]="Trace On"
[[UIRSRCC_40]]="Toggle Breakpoint\tF9"
[[UIRSRCC_41]]="Clear All Breakpoints"
[[UIRSRCC_42]]="Set Next Statement"
# width of options menu
[[UIRSRCC_43]]=15
[[UIRSRCC_44]]="Display..."
[[UIRSRCC_45]]="Help Path..."
[[UIRSRCC_46]]="Syntax Checking"
# len of "display"
[[UIRSRCC_47]]=7
# len of "help path"
[[UIRSRCC_48]]=9
[[UIRSRCC_49]]="Topic: F1"
# width of help menu
[[UIRSRCC_50]]=25
[[UIRSRCC_51]]="Index"
[[UIRSRCC_52]]="Contents"
[[UIRSRCC_53]]="Using Help\tShift+F1"
[[UIRSRCC_54]]="About..."
# width of edit help menu
[[UIRSRCC_55]]=15
[[UIRSRCC_56]]="Getting Started"
[[UIRSRCC_57]]="Keyboard"
[[UIRSRCC_58]]="File"
[[UIRSRCC_59]]="Edit"
[[UIRSRCC_60]]="View"
[[UIRSRCC_61]]="Search"
[[UIRSRCC_62]]="Run"
[[UIRSRCC_63]]="Debug"
[[UIRSRCC_64]]="Options"
[[UIRSRCC_65]]="Help"
# what follows are the begining pos of the menu item accross top strip
# followed by the length of the text;
# this first set are for when qbasic is run as the editor
#-----------------------------------
# File
[[UIRSRCC_66]]=3
[[UIRSRCC_67]]=4
# Edit
[[UIRSRCC_68]]=9
[[UIRSRCC_69]]=4
# Search
[[UIRSRCC_70]]=15
[[UIRSRCC_71]]=6
# Optns
[[UIRSRCC_72]]=23
[[UIRSRCC_73]]=7
# Help
[[UIRSRCC_74]]=74
[[UIRSRCC_75]]=4
#-------------------------------
# this set are for QBASIC proper
# File
[[UIRSRCC_76]]=3
[[UIRSRCC_77]]=4
# Edit
[[UIRSRCC_78]]=9
[[UIRSRCC_79]]=4
# View
[[UIRSRCC_80]]=15
[[UIRSRCC_81]]=4
# Search
[[UIRSRCC_82]]=21
[[UIRSRCC_83]]=6
# Run
[[UIRSRCC_84]]=29
[[UIRSRCC_85]]=3
# Debug
[[UIRSRCC_86]]=34
[[UIRSRCC_87]]=5
# Optns
[[UIRSRCC_88]]=41
[[UIRSRCC_89]]=7
# Help
[[UIRSRCC_90]]=74
[[UIRSRCC_91]]=4
# key for window grow
[[UIRSRCC_92]]='+' | KK_ALT
[[UIRSRCC_93]]='=' | KK_ALT | KK_SHIFT
# key for window shrink
[[UIRSRCC_94]]='-' | KK_ALT
# key for edit clear2
[[UIRSRCC_95]]='\x7f'
# key for edit cut2
[[UIRSRCC_96]]='\x7f' | KK_SHIFT
# search next (ctrl+L)
[[UIRSRCC_97]]='\x0c' | KK_CONTROL
#-----------------------------------------
# here are the positions of the characters
# used for the hot-keys in the menus
# remember to count from zero. For Example
# in the File menu for the US version the
# following keys are used, N, O, S, A, P, x, from the following
# words, New, Open, Save, Save As, Print, Exit, so the positions are
# 0, 0, 0, 5, 0, 1
#-----------------------------------------
# File Menu : Put in pos of hotkey to use for the following
# first the word "File" on the top pull down menu
[[UIRSRCC_98]]=0
# new
[[UIRSRCC_99]]=0
# open
[[UIRSRCC_100]]=0
# save
[[UIRSRCC_101]]=0
# save as
[[UIRSRCC_102]]=5
# print
[[UIRSRCC_103]]=0
# exit
[[UIRSRCC_104]]=1
# edit menu stuff
# char in edit to highlight
[[UIRSRCC_105]]=0
# cut
[[UIRSRCC_106]]=2
# copy
[[UIRSRCC_107]]=0
# paste
[[UIRSRCC_108]]=0
# clear
[[UIRSRCC_109]]=2
# new Sub...
[[UIRSRCC_110]]=4
# new Function...
[[UIRSRCC_111]]=4
# view menu stuff
# char in view to highlight
[[UIRSRCC_112]]=0
# Subs...
[[UIRSRCC_113]]=0
# sPlit
[[UIRSRCC_115]]=1
# Output Screen
[[UIRSRCC_116]]=0
# Search menu stuff
# pos in search to hilite
[[UIRSRCC_117]]=0
# find...
[[UIRSRCC_118]]=0
# Repeat Last Find
[[UIRSRCC_119]]=0
# Change...
[[UIRSRCC_120]]=0
# run menu stuff
# pos in run to hilite
[[UIRSRCC_121]]=0
# start
[[UIRSRCC_122]]=0
# restart
[[UIRSRCC_123]]=0
# continue
[[UIRSRCC_124]]=0
# debug menu stuff
# pos in "debug" to hilite
[[UIRSRCC_125]]=0
# step
[[UIRSRCC_126]]=0
# procedure step
[[UIRSRCC_127]]=0
# trace on
[[UIRSRCC_128]]=0
# toggle Breakpoint
[[UIRSRCC_129]]=7
# Clear all breakpoints
[[UIRSRCC_130]]=0
# set next statement
[[UIRSRCC_131]]=4
# options menus
# pos in "options" to hilite
[[UIRSRCC_132]]=0
# Display
[[UIRSRCC_133]]=0
# help Path
[[UIRSRCC_134]]=5
# Syntax checking
[[UIRSRCC_135]]=0
# help menu
# length of "topics:" + 1
[[UIRSRCC_136]]=7
# pos in "Help" to hilite
[[UIRSRCC_137]]=0
# Index
[[UIRSRCC_138]]=0
# Contents
[[UIRSRCC_139]]=0
# Topic:
[[UIRSRCC_140]]=0
# using Help
[[UIRSRCC_141]]=6
# About...
[[UIRSRCC_142]]=0
# Getting started
[[UIRSRCC_143]]=0
# Keyboard
[[UIRSRCC_144]]=0
# ADDED for MSDos 6
# These TOKENS all relate to the QHelp help screens
# PrintSetup string
[[UIRSRCC_201]]="Printer Setup"
# Qhelp FILE menu
# Width Qhelp FILE menu
[[UIRSRCC_202]]=8
# Hot Key "Print"
[[UIRSRCC_203]]=0
# Length "Print
[[UIRSRCC_204]]=5
# Hot Key "Exit"
[[UIRSRCC_205]]=1
# Qhelp SEARCH menu
# Hot Key "Find"
[[UIRSRCC_206]]=0
# Length "Find"
[[UIRSRCC_207]]=4
# Hot Key "Repeat Last Find\tF3"
[[UIRSRCC_208]]=0
# Length "Repeat Last Find"
[[UIRSRCC_209]]=16
# Qhelp HELP menu
# Width Qhelp HELP menu
[[UIRSRCC_210]]=24
# String
[[UIRSRCC_211]]="How To Use MS_DOS Help"
# Hot Key "How To Use MS_DOS Help"
[[UIRSRCC_212]]=0
# Hot Key "About"
[[UIRSRCC_213]]=0
# This data in this next section is for the menu bar on the top of the
# Qhelp screen. The 3 sections represent "File", "Search" and "Help" and
# depend on the localized names for these. The 3 parts for each are:
# 1) Beginning position of the menu name across the top of the screen.
# 2) Charactor to be Highlighted in Title.
# 3) Length of menu title.
# For Example;
# If you want to put "File" 3 spaces from the right hand side of the screen,
# and highlight the first char, and since "File" is 4 chars in length this
# is how it would look:
# [[example_001]]=3
# [[example_002]]=0
# [[example_003]]=4
# MENUITEM qhelp FILE
[[UIRSRCC_214]]=3
[[UIRSRCC_215]]=0
[[UIRSRCC_216]]=4
# MENUITEM qhelp SEARCH
[[UIRSRCC_217]]=9
[[UIRSRCC_218]]=0
[[UIRSRCC_219]]=6
# MENUITEM qhelp HELP
[[UIRSRCC_220]]=74
[[UIRSRCC_221]]=0
[[UIRSRCC_222]]=4
# These next items are to select the accelerator character for
# the HELP screens. CONTENTS, NEXT and BACK.
# CONTENT key
[[UIRSRCC_223]]='C'
# NEXT key
[[UIRSRCC_224]]='N'
# BACK key
[[UIRSRCC_225]]='B'
#good luck !!!!!!
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -