Team Ai
Datasetpublic

hschumann2/TempleOS-Source-Code

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes847downloads
MakeDoc.txt71 linesDownload Raw Back to DolDoc
1 2Cd(__DIR__);;3 4#help_index "DolDoc"5#help_file "::/Doc/DolDoc"6 7/*8TempleOS DolDoc's can have "cursor movement" cmds which can move the cursor up9the scrn and layer on existing text.  It can also have callback funs which10supply live, changing text.  For these reasons, you can't assume you know11where the vis portion of the document is and must process much12of the document each time it is placed on the scrn, becoming CPU13intensive on big documents.14See ::/Doc/DolDocOverview.DD15*/16 17//Hash Types18#define DHT_DOC_CMD     119#define DHT_DOC_FLAG    220#define DHT_COLOR       421 22public class CDolDocGlbls23{24  CHashTable *hash;25  I64   dft_de_flags            [DOCT_TYPES_NUM],26        type_flags_nontag_invis [(DOCT_TYPES_NUM+63)/64],27        type_flags_form         [(DOCT_TYPES_NUM+63)/64],28        type_flags_data         [(DOCT_TYPES_NUM+63)/64],29        type_flags_chk_dup      [(DOCT_TYPES_NUM+63)/64],30        clean_scan_codes        [4];31  I32   dft_type_flags          [DOCT_TYPES_NUM];32} doldoc;33MemSet(&doldoc,0,sizeof(CDolDocGlbls));34 35#help_index "God"36#define BIBLE_FILENAME  "::/Misc/Bible.TXT.Z"37 38#include "DocExt"39#include "DocBin"40#include "DocNew"41#include "DocForm"42#include "DocDblBuf"43#include "DocPlain"44#include "DocInit"45#include "DocHighlight"46#include "DocRecalcLib"47#include "DocRecalc"48#include "DocFile"49#include "DocClipBoard"50#include "DocRun"51#include "DocGet"52#include "DocChar"53#include "DocFind"54#include "DocLink"55#include "DocEd"56#include "DocPopUp"57#include "DocGr"58#include "DocMacro"59#include "DocWidgetWiz"60#include "DocPutKey"61#include "DocPutS"62#include "DocCodeTools"63#include "DocTree"64#include "DocTerm"65 66KeyDevAdd(&KDDocPutKey,&KDDocPutS,0x80000000,TRUE);67fp_getstr2=&DocGetStr2;68fp_doc_put=&DocPut;69 70Cd("..");;71